Claude Agent Skill (SKILL.md) Authoring Brief
Write a SKILL.md that teaches an agent a specific workflow, and nothing adjacent. SKILL Name (kebab-case): [NAME] What the agent should do when this skill applies: [WORKFLOW] When it should NOT trigger: [NEAR MISSES] Inputs the user will have: [FILES, TICKETS, COMMANDS] Definition of done: [CHECKS] Tools or commands it may run: [LIST] Commands it must not run: [LIST] Repo conventions to respect: [TEST COMMAND, LINT, BRANCH RULES] Example request that should trigger it: [SENTENCE] Example request that should not: [SENTENCE] WRITE THESE FILES 1) SKILL.md with YAML frontmatter (name, description). The description is the trigger: include the phrases a user would actually say, and the negative cases, because the agent uses it to decide whether to load the skill. 2) Body sections: - Preconditions (what to read first) - Steps in order, each with the command or the file to edit and the check that the step worked - Output the user should see - Failure modes and the one recovery action for each - A stop rule: when to ask the user instead of guessing 3) A references/ excerpt only if a detail is long — otherwise keep it in SKILL.md. Say which choice you made and why. 4) A 10-line eval: 3 prompts that should trigger, 3 that should not, and what "pass" means for each. Keep the skill under 500 lines. Procedures, not a style guide for the whole company. Do not instruct the agent to skip tests, force-push, or edit secrets.
🌟 Example Output / Preview
Prompt Metadata
Primary Use Cases:
- •Legacy code modernization & technical refactoring
- •Full-stack layout generation & component structuring
- •CI/CD workflow automation & unit/E2E testing suites
Associated Tags:
💡 Pro Tips & Advice
1. Use bracketed items: Be sure to fill out all [PLACEHOLDER] elements with specific details before sending the prompt to the AI model.
2. Adjust temperature: For creative tasks, set AI temperature higher (e.g., 0.8), or lower (e.g., 0.2) for strict coding/technical tasks.
🔗 Related AI Prompts
Full SaaS Landing Page Build Spec (SEO + Conversion)
You are a Staff Product Designer + Frontend Engineer + SEO strategist. Build a complete, production-ready marketing landing page f...
SaaS Analytics Dashboard Full Build Spec
You are a Principal Product Designer + Frontend Lead. Design and specify a complete [LIGHT | DARK] analytics dashboard for [PRODUC...
SaaS Admin Panel Dashboard Build Spec
Design a full internal Admin Dashboard for [PRODUCT_NAME] used by [ADMIN_ROLE: support | ops | super-admin]. --- 🎯 CONTEXT Adm...