From swe-skills
Creates or revises `swe:` skills for this repository using a repeatable authoring workflow: define concrete use cases, tune trigger boundaries, apply progressive disclosure, add matching eval assets, and validate the package. Use when adding a new skill, tightening an existing skill that over- or under-triggers, or distilling an external workflow into a repo-ready skill. Do NOT use for generic documentation edits or for executing the workflow the skill would describe.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swe-skills:create-skillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to author or revise a `swe:` skill package for this repository in
Use this skill to author or revise a swe: skill package for this repository in
a way that is:
This skill distills the Anthropic skill-building guidance into a repo-specific authoring workflow.
The outcome should usually include:
skills/<slug>/SKILL.mdevals/<slug>/README.mdevals/<slug>/rubric.mdevals/<slug>/cases.jsonREADME.md or AGENTS.mdUse this skill when the user wants to:
swe: skill to this repositoryDo not use this skill for:
Confirm or infer:
If the request is underspecified, ask only for the missing workflow boundary needed to keep the skill narrow.
Define 2-3 specific use cases before writing the skill.
For each use case, capture:
Only proceed if the workflow is repeatable and benefits from consistent instructions.
Read the repository's current guidance and analogous skills before drafting.
At minimum, inspect:
AGENTS.mdREADME.mdskills/*/SKILL.md examplesevals/* assets for those examplesHonor these repo-specific rules:
name must start with swe:swe: prefixevals/<slug>/ directoryREADME.md must stay accurate when the skill inventory changesWrite the trigger boundary before drafting the full body.
The frontmatter description should state:
Prefer specific requests over vague categories. A skill that says
help with engineering is not acceptable.
Keep the skill package layered:
SKILL.md should hold the full workflowscripts/, references/, or assets/ when they materially improve
execution or keep the main skill readableDo not inline large reference material if a short summary plus targeted lookup is enough.
Draft the SKILL.md body using this repository's required structure:
## What This Skill Does## When To Use## Do Not Use## Inputs To Confirm## Instructions## Output Requirements## Quality BarMake the instructions operational:
Add optional sections only when they help, such as:
## Tooling Stance## Parallelization Rule## Examples## TroubleshootingCreate or update:
evals/<slug>/README.mdevals/<slug>/rubric.mdevals/<slug>/cases.jsonThe eval set should test the real contract of the skill, not generic prose quality.
Include cases that cover a mix of:
Prefer review questions that make the reviewer inspect whether the response stayed within the workflow boundary.
After drafting, run the repo validators and use any failures to refine the package:
npm run evals:checknpm run lint:mdIf the skill still seems likely to over-trigger or under-trigger, tighten the frontmatter description before expanding the body.
If the new skill changes the public inventory or authoring workflow, update the narrowest correct guidance files, usually:
README.mdAGENTS.mdDo not broaden unrelated policy text.
When creating or revising a skill, provide:
nameIf the request is draft-only, return a review packet instead of writing files.
SKILL.md.npx claudepluginhub ckorhonen/swe-skillsGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.