npx skills add ...
npx skills add warpdotdev/common-skills --skill update-skill
Create or update skills by generating, editing, or refining SKILL.md files in this repository. Use when authoring new skills or revising the structure, frontmatter, or guidance for existing ones.
npx skills add warpdotdev/common-skills --skill update-skill
This guide provides instructions for creating or updating skills in this repository. It covers the required structure, frontmatter, and best practices for skills.
Every skill is a directory containing a SKILL.md file with YAML frontmatter and markdown body:
Every SKILL.md must start with YAML frontmatter containing:
add-feature-flag, pdf-processing, update-skillThe description field is critical for skill discovery. Include both what the skill does and when to use it. Some good examples:
git-commit: "Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes."pdf-processing: "Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction."Avoid vague descriptions like "Helps with code" or "Does development tasks". For more context, see "Description Best Practices" in references/best-practices.md.
Typical sections in Warp skills:
Keep the structure flexible based on the skill's needs. Simple skills can omit the optional sections.
Optionally, use the skills-ref reference library to validate your skills:
This checks that your SKILL.md frontmatter is valid and follows all naming conventions. If not installed, use the WebSearch tool to get context around this package.
references/ subdirectory
Create references/ subdirectory when:
Keep only essential workflow and procedural instructions in SKILL.md. Move detailed reference material, schemas, and extensive examples to references/ files.
For reference on structure and style:
.agents/skills/add-feature-flag/SKILL.md - Multi-step workflow with clear sequential steps.agents/skills/remove-feature-flag/SKILL.md - Cleanup workflow with search commandsSee references/best-practices.md for detailed authoring guidance including:
skills-ref validate ./my-skill