Workflow Automation — multi-step processes with consistent methodology
MCP Enhancement — workflow guidance on top of MCP tool access
Define 2–3 concrete use cases before writing anything (see Planning section below).
Step 2: Create the folder and SKILL.md
Name the folder in kebab-case (e.g. my-skill-name)
Create exactly SKILL.md (case-sensitive) inside it
Write YAML frontmatter with name and description (see Technical requirements)
Step 3: Write the description — this is the most critical part
The description controls when Claude loads your skill. It must include:
WHAT the skill does
WHEN to use it (specific trigger phrases)
Optional: negative triggers ("Do NOT use for...")
See "Writing effective descriptions" for good/bad examples.
Step 4: Write the body instructions
Follow the recommended template: ## Instructions → numbered steps → ## Examples → ## Troubleshooting.
Be specific and actionable. Move detailed docs to references/ and link to them.
Step 5: Update CLAUDE.md and README.md
After creating or modifying any skill in this repository, always update the skill tables in both files:
CLAUDE.md — skill table under "Included Skills" (Trigger column: one-line description of when it fires)
README.md — skill table under "Enthaltene Skills" (Beschreibung column: German one-liner)
Both files must stay in sync. This step is mandatory and must not be skipped.
Also invoke the cc-best-practices skill when working on skills in this repository to ensure context and session management follow project standards.
Step 6: Validate YAML and skills CLI compatibility
Run the validation script from the repository root before testing or committing:
Run 10–20 test queries. Target: skill triggers on ~90% of relevant queries and never on unrelated topics.
Iterate on the description until triggering is reliable (see Testing approach).
Step 7: Iterate based on signals
Undertriggering → add more trigger phrases to description
Names containing "claude" or "anthropic" (reserved)
Writing effective descriptions
Structure: [What it does] + [When to use it] + [Key capabilities]
Good examples:
yaml
# Specific and actionabledescription:AnalyzesFigmadesignfilesandgeneratesdeveloperhandoffdocs.Usewhenuseruploads.figfiles,asksfor"design specs","component
documentation",or"design-to-code handoff".# Includes trigger phrasesdescription:ManagesLinearprojectworkflowsincludingsprintplanningandtaskcreation.Usewhenusermentions"sprint","Linear tasks",orasksto"create tickets".
Bad examples:
yaml
# Too vaguedescription:Helpswithprojects.# Missing triggersdescription:Createssophisticatedmulti-pagedocumentationsystems.# Too technical, no user triggersdescription:ImplementstheProjectentitymodelwithhierarchicalrelationships.
Writing instructions (SKILL.md body)
Recommended structure:
markdown
# Your Skill Name## Instructions### Step 1: [First Major Step]
Clear explanation of what happens.
### Step 2: ...## Examples### Example 1: [Common scenario]
User says: "..."
Actions:
1. ...
Result: ...
## Troubleshooting### Error: [Common error message]**Cause:** Why it happens
**Solution:** How to fix
Best practices for instructions
Be specific and actionable:
code
# Good
Run `python scripts/validate.py --input {filename}` to check data format.
If validation fails, common issues:
- Missing required fields (add to CSV)
- Invalid date formats (use YYYY-MM-DD)
# Bad
Validate the data before proceeding.
Include error handling — document common errors with cause and solution.
Use progressive disclosure — keep SKILL.md focused on core instructions; move detailed docs to references/ and link to them. Keep SKILL.md under 5,000 words.
For critical validations, prefer a bundled script over language instructions — code is deterministic, language interpretation isn't.
Testing approach
1. Triggering tests
Run 10–20 queries. Skill should trigger on ~90% of relevant queries and NOT trigger on unrelated topics.
code
Should trigger:
- "Help me set up a new ProjectHub workspace"
- "I need to create a project in ProjectHub"
Should NOT trigger:
- "What's the weather?"
- "Help me write Python code"
Debugging: Ask Claude "When would you use the [skill name] skill?" — it will quote the description back.
2. Functional tests
Valid outputs generated
API calls succeed
Error handling works
Edge cases covered
3. Performance comparison
Compare token count, tool calls, and back-and-forth messages with vs. without the skill.
Pro tip: Iterate on a single challenging task until Claude succeeds, then extract the winning approach into a skill.
Troubleshooting
Skill won't upload
Error
Cause
Fix
"Could not find SKILL.md"
Wrong filename
Rename exactly to SKILL.md
"Invalid frontmatter"
YAML formatting
Add --- delimiters, close quotes
"Invalid skill name"
Spaces or capitals in name
Use kebab-case
Skill doesn't trigger (undertriggering)
Description too generic
Missing trigger phrases users actually say
Missing relevant file type mentions
Fix: Add more specific keywords and phrases to the description.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/dboeckli/skill-best-practices/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@dboeckli/skill-best-practices@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Guide for creating, structuring, and improving Claude skills (SKILL.md). Use when building a new skill, reviewing an existing skill, writing SKILL.md frontmatter, defining trigger conditions, troubleshooting skill problems (not triggerin...
Run aipm add @dboeckli/skill-best-practices@1.0.0 in a project that has AIPM initialized.
Supported tools
@dboeckli/skill-best-practices@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.