create-skill
Was er macht
Dieser Skill hilft dir, einen neuen Agenten-Skill zu schreiben, also einen Ordner mit einer SKILL.md-Datei, die einer KI eine wiederholbare Aufgabe beibringt. Er ist für Leute, die ihr Wissen als Skill verpacken wollen, den KI-Werkzeuge finden und nutzen können.
Wann du ihn nutzt
- ✓Wenn du einen neuen Agenten-Skill von Grund auf erstellen willst.
- ✓Wenn du eine SKILL.md-Datei mit korrektem Frontmatter und Abschnitten brauchst.
- ✓Wenn die Beschreibung eines Skills so geschrieben werden muss, dass die KI ihn tatsächlich aufgreift.
Link zum Skill
https://github.com/dotnet/skills/blob/main/.agents/skills/create-skill/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle einen neuen Agenten-Skill, der mir beim Schreiben von Release Notes hilft, mit einer klaren Beschreibung.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent prüft die Regeln für Skill-Namen, schreibt eine Beschreibung, die sagt, wann die KI ihn nutzen soll, und baut die SKILL.md mit Abschnitten für Zweck, Eingaben und Ablauf.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Create Skill
This skill helps you scaffold new agent skills that conform to the Agent Skills specification and the dotnet/skills repository conventions.
When to Use
- Creating a new skill from scratch
- Generating a SKILL.md file with proper frontmatter
- Setting up the skill directory structure with optional folders
- Ensuring compliance with agentskills.io specification
When Not to Use
- Modifying existing skills (edit directly instead)
- Diagnosing or fixing a skill that fails its evaluation (use
improve-skill-quality) - Writing the skill's
eval.yaml(usecreate-skill-test) - Creating custom agents (use the agents/ directory pattern)
Inputs
| Input | Required | Description |
|---|---|---|
| Skill name | Yes | Lowercase, alphanumeric, hyphens only (e.g., code-review, ci-triage) |
| Description | Yes | What the skill does and when agents should use it (1-1024 chars) |
| Purpose | Yes | One paragraph describing the outcome |
| Workflow steps | Recommended | Numbered steps the agent should follow |
Workflow
Step 1: Validate the skill name
Ensure the name:
- Contains only lowercase letters, numbers, and hyphens
- Does not start or end with a hyphen
- Does not contain consecutive hyphens
- Is between 1-64 characters
Step 2: Write the description — it is the router
The description is the only text the runtime sees when deciding whether to load the skill.
A perfect body behind a weak description never runs.
---
name: <skill-name>
description: <what it does>. USE FOR: <symptoms, error codes, artifact names, quoted user requests>. DO NOT USE FOR: <nearby-but-wrong intents, with the skill that owns them>.
---
- Lead with an action verb and use the user's own words: symptoms, error codes (
CS1501,MSTEST0014), artifact names (.testsettings,binlog), and requests phrased as a developer would type them. - Partition against sibling skills on the real discriminator, not the topic. "Does the abstraction already exist?" separates two skills; "testing" does not. Add the matching exclusion to both siblings.
- Claim the ambiguous words that would otherwise route to a sibling. If prompts say "review my tests" and a sibling owns "review", say so explicitly.
- Check every
DO NOT USE FORclause against the scenarios the skill exists to serve — an exclusion like "already on v3" can lock out the post-upgrade fixes that are the skill's purpose. - Budget: 1,024 characters per description, and the whole plugin's rendered skill menu is also
budgeted. A helper/reference catalog can set
disable-model-invocation: trueto free menu space. It remains a readable resource, not a skill the model can invoke by name. Consumers read the catalog or its bundled files directly using the supplied catalog path (the staged path in native evaluation). Resolve bundled-file paths relative to the catalog, not the project workspace. - No XML tags. Claude (claude.ai and Claude Code marketplace sync) rejects descriptions containing
tag-like text such as
Vector<T>or<Import>. Spell it out in words ("generic Vector type", "Import element");skill-validator checkfails on it.
Step 3: Write for delta over the baseline model
Every skill is scored head-to-head against the same model with no skill loaded. Content the model already produces unaided is worth zero; content that makes it slower or more hedged is worth less than zero. See improve-skill-quality/references/writing-for-baseline-delta.md for the full evidence.
| Do | Instead of |
|---|---|
| Encode the decision the model would otherwise get wrong | Restating API signatures it already reproduces |
| "When A, do B, never C, verify D" tables | Lists of plausible alternatives |
| A concrete output contract (exact command, verdict line, findings table) | "Consider…", "you may want to…" |
| Scale output structure to input size | A 12-section dashboard for an 8-test suite |
| Stop-conditions that prevent over-applying | Acting before measuring, rewriting working code |
| Instructing the agent to discover repo paths | Marking discoverable paths as required inputs |
| Reporting restore/build/test failures truthfully | Claiming success after a failed command |
| Verifying load-bearing API claims by compiling or probing | Trusting a source read |
Gating rare or expensive paths behind references/ |
One l |
Häufige Fragen
Was macht eine gute Beschreibung aus?
Die Beschreibung ist der Text, den die KI liest, wenn sie entscheidet, ob sie den Skill nutzt. Sie sollte daher sagen, wann er genutzt wird.
Welche Regeln gelten für Namen?
Namen nutzen Kleinbuchstaben, Ziffern und Bindestriche, ohne Bindestrich am Anfang oder Ende.
Schreibt es auch die Tests?
Nein. Testspezifikationen werden mit einem separaten Skill geschrieben.
Details
Originalbeschreibung des Autors
Scaffolds new agent skills for the dotnet/skills repository. Use when creating a new skill, generating SKILL.md files, writing a skill description that the runtime will actually route to, or setting up skill directory structures. Handles frontmatter generation, section templates, and validation guidance. Do not use for fixing a skill that already fails its evaluation (use improve-skill-quality) or for writing eval.yaml (use create-skill-test).
repo: dotnet/skills
Beliebtheit
- GitHub-Sterne
- 5.8k
- Platz im Ranking
- #14553
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
create-custom-agent
5.8kHilft deinem Agenten, Agenten-Dateien für VS Code zu erstellen, mit eigenen Werkzeugen, Anweisungen und Übergaben an andere Agenten.
csharp-scripts
5.8kHilft deinem Agenten, ein kleines C#-Programm als einzelne Datei mit dem .NET-Kommandozeilen-Tool auszuführen, ohne ein vollständiges Projekt anzulegen.
dotnet-pinvoke
5.8kHilft deinem Agenten, native C- oder C++-Bibliotheken korrekt aus .NET aufzurufen, mit Signaturen, Zeichenkettenbehandlung, Speicher und sicheren Handles.
nuget-trusted-publishing
5.8kHilft deinem Agenten, das vertrauenswürdige Veröffentlichen bei NuGet aus GitHub Actions einzurichten, damit Pakete mit kurzlebigen Tokens statt gespeicherten API-Schlüsseln veröffentlicht werden.
Ähnliche Skills
writing-skills
311kBringt deinem Agenten bei, neue Skills zu schreiben und jeden zuerst zu testen, und zu prüfen, ob der Skill das Verhalten des Agenten tatsächlich verändert.
writing-for-agents
310kErklärt, wie du klare Anweisungen für KI-Agenten schreibst, einschließlich Skills, AGENTS.md- und CLAUDE.md-Dateien, damit sich der Agent berechenbar verhält.
bengali-nlp
280kLässt deinen Agenten bengalischen Text verarbeiten. Er hilft, die Sprache zu verstehen, normalisiert Texte und berücksichtigt ihre Besonderheiten.