Notre avis
Crée une nouvelle compétence Claude Code avec des tests automatisés en utilisant le framework skill-builder.
Points forts
- Automatise la création des fichiers de compétence et de test
- Prend en charge les compétences locales et globales
- Permet de rendre la compétence invocable par une commande slash
Limites
- Nécessite que le framework skill-builder soit installé
- Fonctionne uniquement dans l'écosystème Claude Code
- Les noms doivent être en kebab-case
Utilisez cette compétence lorsque vous devez créer rapidement une nouvelle compétence Claude Code structurée avec des tests.
Évitez de l'utiliser pour des tâches ponctuelles simples qui ne sont pas destinées à devenir des compétences réutilisables.
Analyse de sécurité
PrudenceThe skill runs a Bash script to create new skills. While the script is presumably trusted and the skill is legitimate, execution of any script introduces risk if the script is compromised or contains unintended side-effects.
- •Uses Bash to run a scaffold script, which could execute arbitrary commands if the script is tampered with.
Exemples
/new-skill
Skill name: create-component
User-invocable? yes
Local or global? local
Create tests? yes/new-skill validate-json --global --no-testsname: new-skill description: Create a new Claude Code skill with tests user_invocable: true
New Skill Creator
Creates a new Claude Code skill with comprehensive tests using the skill-builder framework.
Instructions
-
Ask the user for skill details
- Skill name (kebab-case, e.g., validate-json, create-component)
- Should it be user-invocable? (can they use /skill-name)
- Is this for the current repo or global? (--local vs --global)
- Should we skip test creation? (usually no)
-
Run the scaffold tool
~/.claude/agents/skill-builder/scaffold.sh SKILL_NAME [flags]Flags:
--user-invocable- Make it a slash command--local- Create in current repo's .claude/skills/ (team-shared)--global- Create in ~/.claude/skills/ (default, personal)--no-tests- Skip test file creation
-
Show what was created
- List the files created
- Show the skill file path
- Show the test file path (if created)
- Explain next steps
-
Guide next steps
- Tell user to edit the [EDIT ME] placeholders
- Show how to run tests:
cd ~/.claude/agents/tests && ./run_tests.sh SKILL_NAME - If --local, remind to commit and share with team
Examples
<example> User: "/new-skill" Assistant: "I'll help you create a new skill. What would you like to call it? (use kebab-case like 'validate-json' or 'create-component')" User: "create-component" Assistant: "A few questions: 1. Should this be user-invocable as /create-component? (yes/no) 2. Is this for the current repo only, or global? (local/global) 3. Should I create tests? (yes/no - recommend yes)" User: "yes, local, yes" Assistant: [Runs scaffold.sh create-component --user-invocable --local] "✓ Created skill files: - .claude/skills/create-component.md - .claude/tests/integration/create_component/test_create_component.pyNext steps:
- Edit .claude/skills/create-component.md and fill in [EDIT ME] placeholders
- Update the test file with specific test cases
- Run tests: cd .claude/tests && pytest integration/create_component/ -v
- Commit and share with team: git add .claude/skills/ .claude/tests/" </example>
This is a global skill (available in all projects). Edit the skill file and fill in the [EDIT ME] placeholders." </example>
Important Notes
- Naming: Always use kebab-case (my-skill, not MySkill or my_skill)
- Local vs Global:
- Local: Repo-specific, shared with team via git
- Global: Personal, available everywhere
- User-invocable: Let users call it as /skill-name
- Tests: Always recommend creating tests
Tool Usage
Use Bash tool to run the scaffold script:
~/.claude/agents/skill-builder/scaffold.sh SKILL_NAME --user-invocable --local
Check current directory to determine if --local makes sense (are we in a git repo?).
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.