mgiovani/cc-arsenal/create-skill
Claude Code and agent skill by mgiovani/cc-arsenal
- community
Checking that the SKILL.md file is still in the repository.
Create a new agent skill (or Claude Code slash command) from a plain-language description, using live spec fetching, pattern research, and an approval-gated blueprint before any files are written. Use whenever the user wants to build, scaffold, or author a new skill, subagent capability, or slash command, including phrasings like 'make a command for X', 'create a slash command', 'turn this into a reusable skill', or 'package this workflow as a skill'. Not for editing CLAUDE.md/AGENTS.md memory rules (use create-rule) or discovering/installing existing third-party skills (use find-skills).
Install
npx vskill@latest install mgiovani/cc-arsenal/create-skillSKILL.md
The same SKILL.md was published earlier as mgiovani/cc-arsenal/create-skill.
Create Skill
Create new agent skills with specification-driven generation, backed by live documentation fetching and interactive planning.
<skill-dir> below is this skill's directory.
Writing Philosophy
Apply these when drafting the generated skill's description and body in Phase 4: they make the difference between a skill that works once vs. one that works reliably across varied inputs:
Descriptions lead with use case. Open with the concrete use case, then the trigger phrases a user would actually type: third person, WHAT the skill does + WHEN to use it. If a sibling skill covers adjacent territory, add one "Not for X (use <sibling>)" clause per real overlap: that single clause prevents more wrong triggers than three extra trigger phrases. Cap at 1024 chars (the bundled validator enforces it).
Explain WHY only at hard boundaries. Add reasoning only where an agent would otherwise plausibly do the wrong thing (e.g. "fetch live specs: cached docs go stale within weeks"). Everywhere else, a plain imperative ("Run the validator.") is faster to read and no less correct. Justifying every line is noise, not guidance.
Keep it lean; reserve ALL-CAPS for true invariants. Remove instructions that aren't pulling their weight: a 100-line skill often beats a 500-line skill diluted with edge cases that never occur. CRITICAL/MUST/ALWAYS/NEVER should mark the handful of things that really are non-negotiable; a word repeated ten times protects nothing.
Generalize, don't overfit: Skills designed only around their own test examples fail in practice. Design for the pattern, not the specific instance. Ask: "Would this instruction still apply if the user's request looked different?"
Mine conversations first: Users rarely articulate needs perfectly upfront. Extract information they've already provided before asking more questions.
Refusal and precondition paths end at the question. When the generated skill needs the user to resolve an ambiguity or confirm before a destructive step, its instruction should stop at asking. Never write "ask, then proceed anyway if there's no reply." A non-interactive eval run can't pause mid-task, so a skill written to assume it can either hangs or silently guesses.
Workflow
Copy this checklist and tick each step as you finish it. Gates say where to return or stop.
Phase 0: Fetch Live Specifications
Fetch latest specs before every creation: never rely on memory or bundled docs, because specifications evolve. This is two small fetches, not a research task, call WebFetch directly rather than spawning agents for it:
- WebFetch
https://agentskills.io/specification.md: frontmatter fields, directory rules - WebFetch
https://platform.claude.com/docs/skills/best-practices.md: progressive disclosure, writing style, anti-hallucination patterns. If the fetch fails, fall back to bundledreferences/skill-anatomy.mdandreferences/frontmatter-fields.md
Hold both results in context.
Phase 1: Understand Requirements
Step 1: Mine the conversation. Read what the user already said and extract:
- What skill/command/workflow they want
- Examples of triggers they mentioned
- The tools, files, or outputs they described
- Who will use it, whether that's personal, team-wide, or org-wide
Extract answers from conversation history before asking questions: don't ask what's already there.
Step 2: Four key questions (ask only what the conversation didn't already answer) using AskUserQuestion:
- What does this skill do? Focus on the outcome. "Generates ADRs in the Nygard format from a decision description" beats "helps with documentation." The more specific, the better the description will be.
- When should it trigger? Give 2-3 examples of exactly what a user would type to activate it. These become the description. Think about different phrasings the same intent might take.
- What does success look like? Describe the output or end state specifically. "Creates a numbered file in docs/adr/ with YAML frontmatter and four required sections" is useful; "produces documentation" isn't.
- Is this worth measuring? Would you want to compare this skill's output against a no-skill baseline to know it's actually helping? This matters most for model-invoked skills that trigger automatically on vague prompts.
Adapt communication style to the user. Technical users: use precise terms (frontmatter, YAML, subprocess). Non-technical users: explain concepts ("the skill's metadata tells agents when to activate it").
Step 3: Interview for edge cases. Before planning, clarify:
- What are 2-3 common ways this could go wrong?
- Are there input variations that need different handling?
- What should the skill explicitly NOT do (to set scope boundaries)?
Phase 2: Research Existing Patterns & Composition
No Task tool here? Do this research yourself, sequentially: read the same targets each agent below would, one after the other. The two research tracks are what matters, not the parallel dispatch.
Spawn 2 parallel Explore agents (model: haiku) using the Task tool:
Consolidate into: pattern summary, composable skills list, decision rationale.
Phase 3: Plan Skill Structure (User Approval Required)
Use EnterPlanMode to require explicit user approval before generating any files. If EnterPlanMode isn't available, present the same blueprint as plain text and wait for an explicit go-ahead: do not generate files on silence or an ambiguous reply.
Present a complete blueprint:
1. Frontmatter Design:
Allowed frontmatter keys: name, description, license, allowed-tools, metadata, compatibility, disable-model-invocation, argument-hint, context, agent, hooks. Reject anything else: unknown keys cause validation failures. Leave allowed-tools out: in Claude Code it only pre-approves tools for the turn that invokes the skill, restricts nothing, and is a permission grant every user has to vet. Add context: fork + agent: <type> only when the skill should be isolated from conversation history (the SKILL.md content becomes the subagent's entire prompt). See references/frontmatter-fields.md for the full field reference and $ARGUMENTS/$0/$1 substitution syntax.
If the new skill builds on an existing one, follow the Skill composition convention in AGENTS.md: name the sibling skill in prose and state its tool-neutral fallback in the same sentence (via the Skill tool where available, otherwise apply its documented steps), don't invent uses:/composes: frontmatter for it.
2. Directory Structure: explain why each directory is or isn't included:
3. Workflow Outline: 2-6 phases covering the full task from start to verified completion.
4. Test Case Plan (if user said "yes" to Q4):
- 2-3 trigger prompts that should activate the skill
- Expected output for each prompt
- These will become
evals/evals.jsonentries
5. Composition Plan: List existing skills to invoke and why, vs. reimplementing.
Use ExitPlanMode to submit for user approval. Generate no files until it returns approved; a rejection or silence stops the run.
Phase 4: Generate Skill Files
Create files only after approval from Phase 3.
Writing SKILL.md:
Lead with what the skill does (outcome), not what it is. Structure instructions as imperative phases: "Fetch...", "Create...", "Validate...", not "You should fetch..." or "Claude will create..." Explain WHY only at hard boundaries (see Writing Philosophy above): not every step needs a justification clause.
Include verification checkpoints: what does success look like mid-workflow?
Apply the structure rules in references/skill-anatomy.md ("Structure and flow"): references one level deep with a Contents section past 100 lines, scripts for fragile steps and goals for flexible ones, a copyable checklist with gates for order-dependent flows, capped validation loops, install lines at first use of an external tool.
Anti-hallucination section: what should the skill explicitly verify before assuming?
Writing `evals/evals.json` (create if Q4 was "yes"), see references/schemas.md for the full schema:
Write prompts first: they're easy. Draft assertions while reasoning about what good output looks like for each prompt. Cover at minimum: a happy-path scenario, a judgment-call scenario (ambiguous input, no single correct output), and an edge case or refusal.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/create-skill/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mgiovani/cc-arsenal/create-skill)