Créateur de compétences Agent

VérifiéSûr

Crée et valide des compétences Agent conformes à la spécification agentskills.io. Guide la structuration d'instructions réutilisables avec une conception économe en contexte, incluant la mise en place de dossiers et l'empaquetage. Utile pour construire des capacités composables pour les assistants IA.

Spar Skills Guide Bot
DeveloppementIntermédiaire
7002/06/2026
Claude Code
#skill-creation#agent-instructions#reusable#specification

Recommandé pour

Notre avis

Ce skill guide la création de compétences réutilisables pour agents IA conformes à la spécification agentskills.io.

Points forts

  • Structure claire avec des principes de conception (efficacité du contexte, spécificité appropriée).
  • Processus étape par étape incluant validation et empaquetage.
  • Encourage des instructions concises et pertinentes pour économiser les tokens.

Limites

  • Nécessite une connaissance préalable de la spécification agentskills.io.
  • La validation repose sur des scripts Python non fournis ici.
  • Peut être excessif pour des compétences très simples.
Quand l'utiliser

Utilisez ce skill lorsque vous devez créer une nouvelle compétence structurée et partageable pour un agent de codage.

Quand l'éviter

Évitez ce skill pour des tâches uniques ou non réutilisables, ou lorsque la spécification agentskills.io n'est pas pertinente.

Analyse de sécurité

Sûr
Score qualité90/100

The skill provides guidance for creating new skills following a specification. It includes references to internal Python scripts within its own directory structure, but does not instruct execution of arbitrary external commands, exfiltrate data, or perform destructive actions. No elevated privileges or dangerous operations are described.

Aucun point d'attention détecté

Exemples

Meeting notes skill
Create a new skill that summarizes meeting transcripts into structured notes with action items.
JSON validation skill
Build a reusable skill to validate JSON files against a schema and report errors.
Code formatting skill
Create a skill that formats Python code according to PEP8 using black.

name: skill-creator description: Create Agent Skills that comply with the agentskills.io specification. Use when the user asks to create a new skill, add agent capabilities, or build reusable instructions.

Skill creator

Create Agent Skills following the agentskills.io specification.

When to use this skill

Use this skill when:

  • The user wants to create a new skill
  • You need to package reusable instructions for agents
  • Building capabilities that should be discoverable and shareable

Design principles

Context efficiency

The context window is a shared resource. Only include information the agent doesn't already have. Challenge every inclusion: does it justify its token cost?

Include:

  • Domain-specific knowledge the agent lacks
  • Exact formats or templates required
  • Decision criteria for edge cases

Exclude:

  • General programming knowledge
  • Common patterns the agent knows
  • Redundant explanations

Appropriate specificity

Match constraint levels to task fragility:

| Task type | Approach | |-----------|----------| | Flexible (summaries, analysis) | Text instructions | | Preferred patterns | Pseudocode or examples | | Error-prone operations | Specific scripts |

Progressive disclosure

Load content in phases to minimize token usage:

  1. Metadata (~100 tokens) - Always loads
  2. SKILL.md (<5000 tokens) - When skill activates
  3. References - Only when explicitly needed

Directory structure

skills/<skill-name>/
├── SKILL.md           # Required: main instructions
├── references/        # Detailed docs, loaded on demand
├── scripts/           # Executable code for deterministic tasks
└── assets/            # Templates, images, boilerplate

Creation process

Step 1: Understand

Start with concrete examples of the task. What inputs? What outputs? What decisions along the way?

Step 2: Plan

Identify reusable components:

  • Scripts for deterministic operations
  • References for detailed guidance
  • Assets for templates or boilerplate

Step 3: Initialize

python scripts/init_skill.py my-skill -d "Description of what this skill does"

This creates the directory structure and a SKILL.md template.

Step 4: Edit

Write the skill content:

  1. Frontmatter (name, description)
  2. When to use section
  3. Key directives
  4. Process steps
  5. Validation checklist

Step 5: Validate

python scripts/quick_validate.py skills/my-skill

Checks:

  • Frontmatter completeness
  • Name format and directory match
  • Line count under 500
  • Reference file existence

Step 6: Package

python scripts/package_skill.py skills/my-skill -o dist

Creates a distributable bundle with manifest.

Specification requirements

Required frontmatter

---
name: my-skill-name
description: What the skill does and when to use it.
---

Name: Max 64 chars, lowercase letters/numbers/hyphens, must match directory.

Description: Max 1024 chars, include trigger keywords.

Optional frontmatter

license: MIT
compatibility: Python 3.10+
metadata:
  author: your-name
  version: "1.0.0"
allowed-tools: Read Write Bash

Writing effective content

Descriptions

Structure: [Action verb] [what] [when to use]

Good: Create API integrations with retry logic. Use when building tools that call external services.

Bad: A utility for API stuff.

Instructions

Be specific about:

  • Trigger conditions (when to activate)
  • Required outputs (what to produce)
  • Constraints (what to avoid)

Avoid:

  • Auxiliary files (README.md, CHANGELOG.md)
  • General knowledge the agent has
  • Redundant explanations

Validation checklist

Before delivering a skill:

  • [ ] Frontmatter has name and description
  • [ ] Name matches directory name
  • [ ] Name is lowercase with hyphens (no underscores)
  • [ ] Description under 1024 characters
  • [ ] SKILL.md under 500 lines
  • [ ] Has "When to use" section
  • [ ] Has clear process steps
  • [ ] References use relative paths
  • [ ] All referenced files exist

References

Skills similaires