Guide des compétences pour IA

VérifiéSûr

Ce guide définit le cadre des compétences (skills) pour les agents IA, expliquant leur structure (dossier avec SKILL.md, scripts, références) et leur fonctionnement par divulgation progressive. Il est utile pour comprendre comment créer, décrire et utiliser des compétences modulaires dans un environnement d'IA agentique.

Spar Skills Guide Bot
DeveloppementIntermédiaire
3002/06/2026
Claude Code
#skills#ai-agents#workflow-automation#reusable-tasks

Recommandé pour

Notre avis

Définit un format standardisé pour créer des compétences réutilisables par un agent IA, incluant métadonnées, instructions et ressources associées.

Points forts

  • Structure modulaire facilitant la réutilisation et le partage
  • Divulgation progressive pour économiser le contexte
  • Inclut scripts, modèles et références en complément des instructions

Limites

  • Nécessite une configuration initiale pour chaque compétence
  • Le surcoût de contexte peut être important si de nombreuses compétences sont chargées
  • Dépend du système d'agent pour l'interprétation correcte
Quand l'utiliser

Utilisez ce format pour empaqueter des tâches répétitives ou complexes que l'agent doit exécuter de manière fiable.

Quand l'éviter

Évitez pour des tâches uniques ou très simples où une instruction directe suffit.

Analyse de sécurité

Sûr
Score qualité92/100

The file is purely documentation describing the SKILL format and does not instruct any tool usage or execution of commands.

Aucun point d'attention détecté

Exemples

Create a code review skill
Create a new skill for code review. Include metadata, instructions for reviewing code, and a checklist template in the assets folder.
Activate a skill for web research
Activate the web-research skill to find the latest pricing information on AWS EC2 instances.

English | 한국어

SKILL

A skill is essentially a folder containing a SKILL.md file. This file contains metadata (at minimum, a name and description) and instructions that tell an agent how to perform a specific task. Skills may also include scripts, templates, and reference materials.

my-skill/
├── SKILL.md          # Required: instructions + metadata
├── scripts/          # Optional: executable code
├── references/       # Optional: documentation
└── assets/           # Optional: templates, resources

How SKILL Works

Skills use Progressive Disclosure to efficiently manage context.

  • Discovery: The agent loads only the name and description of each available skill at startup. This is the minimum information needed to determine when a skill might be relevant.
  • Activation: When a task matches a skill's description, the agent reads the full instructions from the SKILL.md file into context.
  • Execution: The agent follows the instructions, loading referenced files or executing bundled code as needed.

SKILL.md Format

All skills start with a SKILL.md file containing YAML frontmatter and Markdown instructions.

---
name: web-research
description: Perform comprehensive research through web search and analysis
allowed-tools: WebFetch, Grep
license: MIT
---

# instructions

When using this Skill...

## Step 1: Search

...

Required Fields

  • name: kebab-case format (e.g., web-research)
  • description: What the Skill does and when to use it

Optional Fields

  • license: Skill license
  • compatibility: Compatibility information
  • allowed-tools: Tool patterns the Skill can use
  • metadata: Custom key-value pairs
Skills similaires