Code & Dev Compatible: claude

Claude Agent Skill (SKILL.md) Authoring Brief

Complexity Level: Expert
Prompt Code Block

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

### Generated Component Preview: ```typescript // Fully validated modern structure import { z } from 'zod'; export const RequestSchema = z.object({ id: z.string().uuid(), createdAt: z.date().default(() => new Date()), data: z.record(z.string(), z.any()) }); export type ValidatedRequest = z.infer<typeof RequestSchema>; ```

Prompt Metadata

DifficultyExpert
Compatibilityclaude

Primary Use Cases:

  • •Legacy code modernization & technical refactoring
  • •Full-stack layout generation & component structuring
  • •CI/CD workflow automation & unit/E2E testing suites

Associated Tags:

#claude #agents #skill #cursor

💡 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

Code & Dev
★ Featured

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...

Compatible:claudeDiff:Advanced
#landing-page #saas #seo #nextjs #tailwind
Code & Dev
★ Featured 🔥 Trending

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...

Compatible:claudeDiff:Intermediate
#dashboard #saas #ui #tailwind #seo
Code & Dev

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...

Compatible:claudeDiff:Intermediate
#admin #dashboard #saas #crud #tailwind