agentleFS
web-werkstattweb-werkstatt/claude-code-workflow/skills/create-skill/SKILL.md

create-skill

Skill0 starsChanged 7 months agoMITView on GitHub

Use when the user says "/create-skill [name]", "neuen Skill erstellen", "create skill", or asks to scaffold a new Claude Code skill. Creates a skill directory and SKILL.md following current Anthropic best practices (Opus 4.7 / 2026), including front-loaded description, granular allowed-tools, and correct frontmatter fields.

  • Reads credentials
  • Commits and pushes

100 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-rule, trigger-dev and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • 32103210Skill

    create-rule

    Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

    Also in 9 projects that use this

  • xfstudioSkill

    trigger-dev

    Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.

    Also in 4 projects that use this

  • daianepepes-labSkill

    cost-reducer

    Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.

    Also in 4 projects that use this

  • daianepepes-labSkill

    know-me

    Build and maintain persistent memory about the user — preferences, context, decisions, and working style. Use when asked to remember something, recall past context, or update user profile.

    Also in 5 projects that use this

  • vikneshwaran16032005-altSkill

    build-premium-website

    Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.

    Also in 3 projects that use this

  • vikneshwaran16032005-altSkill

    instantly-campaign

    Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.

    Also in 3 projects that use this

  • +1 more from daianepepes-lab

The file

Files
SKILL.md

Skill erstellen

Erstellt eine neue Claude Code Skill-Definition mit aktueller Anthropic-Konvention (Frontmatter-Schema, Auto-Invocation-Heuristik, Minimum-Permissions). Funktioniert fuer globale Skills (~/.claude/skills/<name>/) und Projekt-Skills (<project>/.claude/skills/<name>/).

Argumente

Der User gibt den Skill-Namen und optional eine Beschreibung an. Falls nicht angegeben, nachfragen:

  • name — kebab-case, eindeutig, keine Leerzeichen (z.B. domain-check)
  • description — 1-2 Saetze, "Use when …"-Pattern (siehe unten)
  • trigger-phrasen — konkrete Woerter, bei denen der Skill aktivieren soll
  • scope — global (~/.claude/skills/) oder projekt-lokal (<project>/.claude/skills/ oder <project>/codex-skills/)
  • destruktive Aktionen? — wenn ja, disable-model-invocation: true ueberlegen, damit der Skill nur manuell per /name gestartet wird

Verzeichnisstruktur

<scope>/<name>/
  SKILL.md              # Pflicht
  references/           # optional — laengere Referenzinhalte auslagern
    guide.md
  scripts/              # optional — Hilfs-Skripte
    helper.sh
  examples/             # optional — Beispiele
    sample.md

Supporting Files muessen in SKILL.md verlinkt sein, sonst werden sie nicht gefunden (See [references/guide.md](references/guide.md)).

Frontmatter-Schema (Stand 2026, Opus 4.7)

---
name: <kebab-case>                      # optional — default ist Verzeichnisname
description: Use when ...               # Pflicht, max 1.536 Zeichen (inkl. when_to_use)
when_to_use: ...                        # optional — zusaetzliche Trigger-Hinweise
allowed-tools: Read, Write, Bash(git status:*), Bash(git add:*)   # minimum principle
argument-hint: [arg1] [arg2]            # optional — fuer Slash-Autocomplete
disable-model-invocation: true          # optional — nur manuell via /name
user-invocable: false                   # optional — Skill aus /-Menue verstecken
model: claude-haiku-4-5-20251001        # optional — eigenes Modell fuer diesen Skill
effort: low                             # optional — low | medium | high | xhigh | max
context: fork                           # optional — isolierter Subagent-Context
agent: Explore                          # optional — bevorzugter Subagent-Typ
paths: ["src/**/*.ts"]                  # optional — Glob-Muster fuer Auto-Kontext
shell: bash                             # optional — bash (default) | powershell
hooks:                                  # optional — Lifecycle-Hooks
  - event: ...
---

Nur Felder setzen, die wirklich gebraucht werden. Default fuer einen einfachen User-getriggerten Skill reicht: name, description, allowed-tools.

description-Heuristik

Anthropic empfiehlt front-loaded Trigger-Keywords am Anfang der description. Claude Code liest sie zum Auto-Matching.

Gut:

description: Use when ending a session, saying "Feierabend", or asking to push changes. Archives session summary, commits, optionally pushes.

Weniger gut:

description: This skill is there to help you with your session workflow and might be useful at some point.

Richtlinien:

  • Deutsche Trigger-Phrasen als Anfuehrungszeichen-Liste einbauen, wenn der User auf deutsch arbeitet
  • max 1.536 Zeichen inkl. when_to_use
  • bei Auto-Aktivierung: wichtigstes Schluesselwort im ersten Satzdrittel
  • bei manuellen Skills (disable-model-invocation: true): Trigger- Beispiel /skill-name [arg] mit aufnehmen

allowed-tools — Minimum Principle

Nur die Tools listen, die der Skill wirklich braucht. Bash-Sub-Commands granular angeben:

# Gut — granular, pre-approved:
allowed-tools: Read, Write, Bash(git status:*), Bash(git add:*), Bash(git commit:*)

# Grob — aber erlaubt, wenn noetig:
allowed-tools: Read, Write, Bash

# Zu grob — vermeiden wenn moeglich:
allowed-tools: *

Destruktive Operationen (Bash(git push:*), Bash(rm:*), Bash(docker rm:*)): nur aufnehmen, wenn der Skill sie tatsaechlich braucht, und im Body des Skills explizit ueber Rueckfrage absichern.

SKILL.md Body-Template

---
name: <name>
description: Use when <Hauptfall>. <Trigger-Phrasen>. <1-Satz Wirkung>.
allowed-tools: Read, Write, Grep, Bash(<subcmd>:*)
argument-hint: [<arg>]
---

# <Titel>

<1-2 Saetze: was der Skill tut, wen er adressiert.>

## Wann aktivieren

- "<Trigger-Phrase 1>"
- "<Trigger-Phrase 2>"
- explizit: `/<name> [<arg>]`

## Voraussetzungen

- <z.B. Git-Repo, bestimmte Tools installiert, .env vorhanden>

## Ablauf

### 1. <Schritt 1 — kurzer Titel>

<Konkreter Befehl oder Handlung>

```bash
<befehl>

2. <Schritt 2>

<Details>

3. Ergebnis melden

<Output-Template>

Repo-Konventionen respektieren

  • CLAUDE.md / AGENTS.md im Repo lesen
  • MANUAL-/DASHBOARD-GENERATED-Bloecke nicht ueberschreiben
  • Append-only-Dateien nur ergaenzen

Destruktive Aktionen

  • <Was destruktiv ist und wie es abgesichert wird — meist Rueckfrage>

Hinweise

  • <Einschraenkungen, Rand-Faelle>

## Workflow

1. Skill-Name validieren (kebab-case, kein Duplikat):
   ```bash
   ls ~/.claude/skills/ <project>/.claude/skills/ 2>/dev/null
  1. Scope mit User klaeren: global vs. projekt-lokal.
  2. Verzeichnis anlegen:
    mkdir -p <scope>/<name>/
  3. SKILL.md gemaess obigem Template schreiben.
  4. Dem User das Ergebnis zeigen.
  5. Fragen, ob committed werden soll (kein automatischer git add / git commit).
  6. Optional: projekt-spezifische CLAUDE.md um einen Skill-Eintrag ergaenzen, wenn der Skill dort gefuehrt wird.

Regeln fuer gute Skills

  1. description front-loaded mit Trigger-Keywords.
  2. allowed-tools granular — Minimum Principle.
  3. Konkrete Befehle, keine vagen Beschreibungen.
  4. Destruktive Aktionen immer mit Rueckfrage absichern (kein auto push, kein auto rm, kein auto deploy).
  5. Keine hardcoded Model-IDs im Skill-Body, ausser das ist bewusst so fuer diesen Skill gewollt. model-Feld nur setzen, wenn der Skill mit einem anderen Modell laufen soll als die Session.
  6. Keine Emojis im Skill-Body (bleibt werkzeugagnostisch und besser parsebar).
  7. Dateipfade absolut, wenn sie ausserhalb des Arbeitsverzeichnisses liegen.
  8. Supporting Files verlinken, nicht in die Haupt-SKILL.md reinkopieren.
  9. Sprache: description und Trigger-Phrasen zweisprachig (englisch + deutsch), Body auf deutsch, wenn das Zielpublikum deutsch ist.

Offizielle Referenz

Anthropic Skill-Dokumentation: https://code.claude.com/docs/en/skills

Felder, die dort als aktuell dokumentiert sind: name, description, when_to_use, allowed-tools, argument-hint, disable-model-invocation, user-invocable, model, effort, context, agent, paths, shell, hooks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.