Synthèse automatique
Ce skill guide la création de nouveaux Agent Skills conformes à la spécification Agent Skills, en générant le fichier SKILL.md avec son frontmatter et l'arborescence de répertoires associée.
Points forts
- Fournit un workflow structuré en cinq étapes, de l'investigation du sujet jusqu'aux répertoires optionnels
- Détaille précisément les champs du frontmatter YAML (name, description, user-invocable, allowed-tools, etc.)
- Inclut des principes de rédaction concrets : concision, absence de duplication, utilité des instructions
- Propose des sections de corps recommandées comme Workflow, Validation et Common Pitfalls
Limites
- Ne couvre que la création de skills et exclut explicitement les agents personnalisés et les instructions par fichiers
- Ne fournit pas de mécanisme de test automatisé concret, seulement des consignes générales
À utiliser lorsqu'on souhaite créer, échafauder ou ajouter un nouvel Agent Skill avec une structure et un frontmatter corrects.
À éviter pour créer des agents personnalisés ou ajouter des règles de codage spécifiques à un langage ou un module, qui relèvent d'autres mécanismes.
Analyse de sécurité
SûrThis is a purely instructional meta-skill for scaffolding Agent Skills. It declares no allowed-tools and contains no executable payloads, shell one-liners, network calls, credential handling, or destructive operations. References to running scripts and to the `task` tool with a `model` parameter are described conceptually as part of the skill-authoring workflow (with guidance to prefer PowerShell/Python/JS and to fail closed on errors), not as instructions to execute anything risky. Explicit checklist items even prohibit including secrets, tokens, or internal URLs in generated skills, making this low-risk to list.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
Create a new agent skill called 'api-migration' that helps migrate REST endpoints to GraphQL, including the SKILL.md with frontmatter and a references directory.Help me scaffold a skill for writing release notes, and show me the correct YAML frontmatter fields including argument-hint and allowed-tools.name: make-skill description: 'Create new Agent Skills for GitHub Copilot. Use when asked to create, scaffold, or add a skill. Generates SKILL.md with frontmatter, directory structure, and optional resources.'
Create Skill
This skill helps you scaffold new agent skills that conform to the Agent Skills specification. Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.
When Not to Use
- Creating custom agents (use the agents/ directory pattern)
- Adding language-specific, framework-specific, or module-specific coding guidelines (use file-based instructions instead)
Key Principles
- Frontmatter is critical:
nameanddescriptiondetermine when the skill triggers—be clear and comprehensive - Concise is key: Only include what agents don't already know; context window is shared
- Useful instructions: Only include information that's stable, not easily searchable and can be used for any task within the skill's scope
- No duplication: Information lives in SKILL.md OR reference files, not both
Workflow
Step 1: Investigate the Topic
Build deep understanding of the relevant topics using the repository content, existing documentation, and any linked external resources.
After investigating, verify:
- [ ] Can explain what the skill does in one paragraph
- [ ] Can list 3-5 specific scenarios where the skill is applicable
- [ ] Can identify common pitfalls or misconceptions about the topic
- [ ] Can outline a step-by-step skill workflow with clear validation steps
- [ ] Have search queries for deeper topics
- [ ] Can determine if the skill should be user-invocable or background knowledge only
If there are any ambiguities, gaps in understanding, or multiple valid approaches, ask the user for clarification before proceeding to skill creation. Also, evaluate whether the task might be better handled by a custom agent, agentic workflow, an existing skill or multiple narrower skills, and discuss this with the user if relevant.
Step 2: Create the skill directory
.agents/skills/<skill-name>/
├── SKILL.md # Required: instructions + metadata
Step 3: Generate SKILL.md with frontmatter
Create the file with required YAML frontmatter:
---
name: <skill-name>
description: <description of what the skill does and when to use it>
user-invocable: <Optional, defaults to true. Set to false for background knowledge skills.>
argument-hint: <Optional, guidance for how agents should format arguments when invoking the skill.>
disable-model-invocation: <Optional, set to true to prevent agents from invoking the skill and only allow to be used through manual invocation.>
compatibility: <Optional, specify any environment, tool, or context requirements for the skill.>
metadata: <Optional, key-value mapping for additional metadata that may be relevant for discovery or execution.>
allowed-tools: <Optional, list of pre-approved tools that agents could use when invoking the skill.>
---
Step 4: Add body content sections
Include these recommended sections, following this file's structure:
- <Human-readable skill name>: One paragraph describing the outcome beyond what's already in the description
- When Not to Use: Bullet list of exclusions, optional
- Inputs and Outputs: Example inputs and expected outputs, if applicable
- Workflow: Numbered steps with checkpoints
- Testing: Instructions for how to create automated tests for the skill output, if applicable
- Validation: How to confirm the skill worked correctly
- Common Pitfalls: Known traps and how to avoid them, optional
Step 5: Add and populate optional directories if needed
.agents/skills/<skill-name>/
├── SKILL.md
├── scripts/ # Optional: executable code that agents can run
├── references/ # Optional: REFERENCE.md (Detailed technical reference), FORMS.md (Form templates or structured data formats), domain-specific instruction files
└── assets/ # Optional: templates, resources and other data files that aren't executable or Markdown
Step 6: Write Scripts (Script-driven Only)
- Prefer PowerShell, but can also use Python or JavaScript
- Standard param block with defaults
- Ensure scripts produce clear, structured, and parseable console output (for example, section headers and status lines)
- Emoji status: ✅ green / ⚠️ yellow / 🔴 red
- Fail-closed error handling — Unknown ≠ Healthy
❌ NEVER count API failures as success. Return "Unknown" and exclude from positive counts.
Step 7: Validate the skill
Ensure the name:
- Does not start or end with a hyphen
- Does not contain consecutive hyphens
- Is between 1-64 characters
- YAML frontmatter name matches directory name exactly
After creating a skill, verify:
- [ ] frontmatter fields are valid
- [ ] SKILL.md is under 500 lines and 5000 tokens, split into references if needed
- [ ] File references use relative paths
- [ ] Instructions are actionable and specific
- [ ] Instructions don't duplicate what's already in
.github/copilot-instructions.mdor under.github/instructions/ - [ ] Workflow has numbered steps with clear checkpoints
- [ ] Validation section exists with observable success criteria
- [ ] No secrets, tokens, or internal URLs included
- [ ] Common pitfalls are relevant and have solutions
- [ ] Optional directories are used appropriately
- [ ] Scripts handle edge cases gracefully and return structured outputs and helpful error messages when applicable
Step 8: Test with Multi-Model Subagents
Follow references/testing-patterns.md:
- Select top-tier model from 2-4 different families
- Give each the same test prompt exercising the skill
- Launch in parallel via
tasktool withmodelparameter - Synthesize: consensus findings = high confidence
- Fix errors first, then warnings, then consider suggestions
- Retrospective: When an agent misapplies guidance, ask the same model why it made that choice — its self-analysis reveals guidance gaps you can close with targeted anti-patterns (see references/anti-patterns.md)
- A/B test: After fixing issues, re-run the same task to verify improvement — same model, same prompt, compare correctness/speed/tool calls (see references/testing-patterns.md)
For new skills or major restructuring, use the writer-critic convergence loop instead: one agent writes, a different-model agent critiques, writer applies fixes, repeat until convergence (2-3 rounds). See references/testing-patterns.md#writer-critic-convergence-loop.
Common Pitfalls
| Pitfall | Solution |
|---------|----------|
| Description is vague | Include what it does AND when to use it |
| Instructions are ambiguous | Use numbered steps with concrete actions |
| Missing validation steps | Add checkpoints that verify success |
| Hardcoded environment assumptions | Document requirements in compatibility field |
| Key files section lists files previously mentioned | Avoid duplication, only include in one place and rename section to "Other Key Files" |
| Testing section lists test folders that are obvious from the repo structure | Remove the section if it doesn't add value |
References
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/create-agent-skill-mrwakaub/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/create-agent-skill-mrwakaub' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-agent-skill-mrwakaub/download' --output '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md.part' && mv '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md.part' '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.claude/skills/make-skill'Cursor
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.cursor/skills/make-skill'Codex
test -f '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && test -s '.skill-downloads/create-agent-skill-mrwakaub/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/make-skill' && cp -R '.skill-downloads/create-agent-skill-mrwakaub' '.agents/skills/make-skill'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/create-agent-skill-mrwakaub'openskills read 'create-agent-skill-mrwakaub'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/create-agent-skill-mrwakaub/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.