Notre avis
Crée ou met à jour une compétence (slash command) pour Claude Code en suivant les bonnes pratiques.
Points forts
- Processus structuré avec checklist intégrée
- Référence aux bonnes pratiques officielles
- Indications claires sur l'emplacement des fichiers
- Gestion des limites de taille et des dépendances
Limites
- Spécifique à l'écosystème Claude Code
- Nécessite une connaissance préalable des fichiers .claude
- Ne couvre pas la création d'outils externes
Quand vous devez créer une nouvelle slash command ou modifier une compétence existante dans un projet Claude.
Pour des tâches de configuration générale ou des modifications qui ne concernent pas les compétences Claude.
Analyse de sécurité
SûrThe skill only instructs reading a documentation file and creating skill files within the project's .claude directory; no destructive actions, network calls, or exfiltration are involved.
Aucun point d'attention détecté
Exemples
Create a new skill called deploy that runs deployment scripts with rollback capability.Update my test skill in .claude/commands/test.md to include database setup and teardown steps.name: create-skill description: > Create a new skill (slash command) following Anthropic's best practices. Use when the user wants to create a new skill, command, or update an existing one. Reads the best practices guide first to ensure quality. argument-hint: <skill-name> <description of what it should do>
Create a Skill
Before creating or modifying any skill, read the best practices guide:
Read .claude/references/skills-best-practices.md first.
Process
- Understand what the skill should do — ask for concrete usage examples if unclear
- Plan what resources it needs (scripts, references, assets)
- Check if similar functionality already exists in
.claude/commands/ - Create the skill following these principles:
- YAML frontmatter with
nameand comprehensivedescription(this is the trigger) - Body under 500 lines — split to
references/if approaching limit - Move large inline content (scripts, API docs, schemas) to
.claude/references/ - Use imperative form in instructions
- Only include what Claude doesn't already know
- YAML frontmatter with
- Verify the skill works by mentally walking through a usage scenario
Checklist
- [ ] Frontmatter
descriptionincludes "when to use" triggers - [ ] Body is concise — no redundant explanations
- [ ] Large content moved to reference files with clear pointers
- [ ]
disable-model-invocation: trueif the skill should only be user-triggered (deploy, commit, destructive actions) - [ ] No extraneous files (README, CHANGELOG, etc.)
Where to Place Skills
- Project-specific:
.claude/commands/<name>.md(legacy) or.claude/skills/<name>/SKILL.md - Personal:
~/.claude/skills/<name>/SKILL.md
For this project, use .claude/commands/<name>.md for consistency with existing commands.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.