skills/create-skill/SKILL.md
Create research-backed, spec-compliant Agent Skills with cited references, workflow templates, and anti-hallucination guardrails. Use when asked to "create a skill", "make a new skill", "build a skill for X", or when designing specialized Claude capabilities.
npx skillsauth add synapseradio/ai-skills create-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Research-first pipeline for producing Agent Skills that meet the Agent Skills Specification. Every created skill is backed by cited documentation, includes workflow templates for procedural tasks, and never lets the agent substitute patterns for real docs.
Load references based on what the current phase needs. Do NOT load everything upfront.
| Phase | Load | Do NOT Load |
|-------|------|-------------|
| Research (Phase 3) | references/workflow-research.md | workflow-author, workflow-review, workflow-refine |
| Requirements (Phase 4) | references/workflow-requirements.md | workflow-author, workflow-review, workflow-refine |
| Authoring (Phase 5) | references/workflow-author.md, references/quality-criteria.md | workflow-research, workflow-review, workflow-refine |
| Review (Phase 7) | references/workflow-review.md, references/quality-criteria.md | workflow-research, workflow-author, workflow-refine |
| Refinement (Phase 8) | references/workflow-refine.md, references/quality-criteria.md | workflow-research, workflow-author |
Skip guidance based on skill type:
| Skill Type | Skip | Why |
|------------|------|-----|
| Conceptual / methodology | Scripts phase, shell-script-standards.md | No scripts needed |
| Simple (< 4 files) | Task tracking | Overhead exceeds value |
| Claude-native feature | External doc research — use Anthropic docs only | No third-party tech |
| Pure wrapper around one tool | Workflow templates | Not procedural |
Follow these phases in order. Each phase depends on the previous one's output. Track progress through each phase using available task tracking tools — this is a 9-phase process and always qualifies for task tracking.
Ground the pipeline in official skill development best practices:
skill-development/SKILL.md under ~/.claude/plugins/Skill("plugin-dev:skill-development") and read its referenceshttps://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/plugin-dev/skills/skill-development/SKILL.mdhttps://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/plugin-dev/skills/skill-development/references/skill-creator-original.mdIf fetch fails: proceed without it. The quality-criteria.md and workflow-author.md contain enough guidance. Note the gap in the requirements document.
bash skills/create-skill/scripts/ensure_spec_repo.sh
This ensures ~/.agent-skills-spec contains the latest Agent Skills Specification.
If clone/pull fails: check network connectivity. If offline, check if ~/.agent-skills-spec already exists from a prior run. If it does, proceed with stale data and note it. If it doesn't exist at all, warn the user — spec compliance cannot be verified without it.
Check if ~/.claude/skills/skill-creator/SKILL.md exists. If not:
claude install-skill github:anthropics/skills/skills/skill-creator
If install fails: skip Phase 6 (skill-creator optimization). Note the gap — description won't be machine-tested.
Spawn a research subagent:
Role: Domain researcher
Task: Research {{SKILL_TOPIC}} exhaustively using references/workflow-research.md
Onboarding: Read references/workflow-research.md, then read ~/.agent-skills-spec
Success: Research report with cited sources covering all aspects of {{SKILL_TOPIC}}
Why: The research report is the foundation — every fact in the final skill traces back to it
Replace {{SKILL_TOPIC}} with the user's requested skill topic. Wait for the research report.
If research finds no official docs: the skill must be marked as "community-sourced" in its reference files. Warn the user that anti-hallucination guardrails are weaker without official documentation. Ask whether to proceed or narrow scope.
Follow references/workflow-requirements.md directly. Do NOT spawn a subagent — this requires user input.
~/.claude/skills/, project .claude/skills/, or custom path)Wait for user answers before proceeding.
Spawn an authoring subagent:
Role: Skill author and spec implementer
Task: Create the complete skill at {{SKILL_PATH}} following references/workflow-author.md
Onboarding: Read references/workflow-author.md, the research report, the requirements doc,
the skill-development guidance from Phase 0, and ~/.agent-skills-spec
Success: Complete skill directory with all files passing quality-criteria.md
Why: This produces the actual deliverable — quality here determines whether agents using the skill succeed
Pass in: {{SKILL_NAME}}, {{SKILL_PATH}}, research report, requirements doc, skill-development guidance from Phase 0.
If the skill involves more than 3 files, the subagent must track each file as a separate task.
If target path already exists: stop. Report to user. Never overwrite.
Invoke Skill("skill-creator") targeting the skill at {{SKILL_PATH}}
Validates the description triggers correctly and suggests improvements.
Spawn a review subagent:
Role: Quality auditor
Task: Review the skill at {{SKILL_PATH}} following references/workflow-review.md
Onboarding: Read references/workflow-review.md, references/quality-criteria.md, ~/.agent-skills-spec
Success: Review report with pass/fail per criterion and specific fix instructions
Why: Review is the last line of defense — a skill that passes review is safe to publish
If the review report contains required fixes:
Spawn a refinement subagent:
Role: Skill fixer
Task: Apply all required fixes from the review report following references/workflow-refine.md
Onboarding: Read references/workflow-refine.md, the review report, references/quality-criteria.md
Success: All required fixes applied and verified. Change summary produced.
Why: A review that finds problems but doesn't fix them is incomplete
Max 2 refinement cycles. If still failing after 2, present remaining issues to user for judgment.
If the review report is all-pass, skip this phase.
Present findings to the user:
git clone for repos, WebFetch for docsCLAUDE.md ("Packaging a skill to .skill" section). Run the installed skill-creator plugin's packager — never vendor or reimplement it. Also append the README footer and commit the .skill file alongside the source.references/shell-script-standards.mdtools
Open the possibility space through curiosity-driven questioning
tools
Interactive tutoring that adapts to your pace
data-ai
Trace justification chains to bedrock
tools
Follow reasoning step-by-step