Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

skill-authoring

/skill-authoring

Tworzy i ulepsza skille Claude Code (pliki SKILL.md): frontmatter, opisy, progresywne ujawnianie, dołączone zasoby i wytyczne treści, zgodnie z oficjalnymi dobrymi praktykami Anthropic.

Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy i ulepsza skille Claude Code (pliki SKILL.md): frontmatter, opisy, progresywne ujawnianie, dołączone zasoby i wytyczne treści, zgodnie z oficjalnymi dobrymi praktykami Anthropic.

Wyzwalacze z opisu

create skillwrite skillSKILL.mdskill fileslash commandcustom commandextend Claudeskill description
Oryginalny opis (EN)

Creates and improves Claude Code Skills (SKILL.md files). Covers frontmatter, descriptions, progressive disclosure, bundled resources, and content guidelines. Follows official Anthropic best practices. USE WHEN: user mentions "create skill", "write skill", "SKILL.md", "skill file", "slash command", "custom command", "extend Claude", "skill description", "skill not triggering", "skill authoring" DO NOT USE FOR: creating agents/subagents - use `agent-authoring`; creating hooks - use `hook-authoring`; creating MCP servers - use `mcp-authoring`; creating plugins - use `plugin-authoring`

Jak działa

  1. File Structure
  2. YAML Frontmatter
  3. Description — The Most Critical Field
  4. Core Content Principles
  5. Progressive Disclosure
  6. String Substitutions
  7. Invocation Control
  8. Workflows & Feedback Loops
  9. Anti-Patterns to Avoid
  10. Checklist Before Shipping
Sekcje z nagłówków SKILL.md, w oryginale · 174 linii, 795 słów
Podgląd SKILL.md
---
name: skill-authoring
description: |
  Creates and improves Claude Code Skills (SKILL.md files). Covers frontmatter,
  descriptions, progressive disclosure, bundled resources, and content guidelines.
  Follows official Anthropic best practices.

  USE WHEN: user mentions "create skill", "write skill", "SKILL.md", "skill file",
  "slash command", "custom command", "extend Claude", "skill description",
  "skill not triggering", "skill authoring"

  DO NOT USE FOR: creating agents/subagents - use `agent-authoring`;
  creating hooks - use `hook-authoring`; creating MCP servers - use `mcp-authoring`;
  creating plugins - use `plugin-authoring`
allowed-tools: Read, Grep, Glob, Write, Edit
---
# Skill Authoring — Official Best Practices

## File Structure

```
skill-name/
├── SKILL.md              # Main instructions (< 500 lines)
├── reference.md          # Detailed docs (loaded on demand)
├── examples.md           # Usage examples (loaded on demand)
└── scripts/
    └── helper.py         # Utility scripts (executed, not loaded)
```

## YAML Frontmatter

```yaml
---
name: my-skill                      # max 64 chars, lowercase + hyphens only
description: |                      # max 1024 chars, THIRD PERSON, no XML tags
  Processes PDF files and extracts text. Use when working with
  PDF files or when the user mentions document extraction.
disable-model-invocation: false     # true = only user can invoke via /name
user-invocable: true                # false = hidden from / menu, Claude-only
allowed-tools: Read, Grep, Glob     # restrict tools when skill is active
model: sonnet                       # model override (sonnet, opus, haiku)
context: fork                       # run in isolated subagent context
agent: Explore                      # agent type when context: fork
---
```

Required: only `description` is recommended. `name` defaults to directory name.

## Description — The Most Critical Field

Claude uses the description to decide which skill to load from 100+ available.

**Rules:**
- Write in **third person** ("Processes files", NOT "I can help" or "You can use")
- Include **what** it does AND **when** to use it
- Be "pushy" — mention specific trigger contexts
- Include key terms users would naturally say

**Good:**
```yaml
description: Generates commit messages by analyzing git diffs. Use when
  the user asks for help writing commit messages or reviewing staged changes.
```

**Bad:**
```yaml
description: Helps with git stuff
```

## Core Content Principles

### Claude is already smart — only add what it doesn't know

Challenge every line: "Does Claude need this explanation?" Remove basics.

**Good** (~50 tokens):
````markdown
## Extract PDF text
Use pdfplumber:
```python
import pdfplumber
with pdfplumber.open("file.pdf") as pdf:
    text = pdf.pages[0].extract_text()
```
````

**Bad** (~150 tokens): explaining what PDFs are, what libraries are, how pip works.

### One recommended approach, not many alternatives

Provide a **default** tool/library. Only mention alternatives when the choice is context-dependent.

### Consistent terminology

Pick one term and use it throughout. Don't mix "endpoint", "URL", "route", "path".

### No time-sensitive information

Don't write "as of 2025" or "before August, use the old API".

## Progressive Disclosure

SKILL.md is a table of contents. Detailed content goes in separate files.

**Pattern 1: References**
```markdown
## Quick start
[essential code here]

## Advanced features
- **Form filling**: See [FORMS.md](FORMS.md)
- **API reference**: See [REFERENCE.md](REFERENCE.md)
```

**Pattern 2: Domain-specific**
```text
bigquery-skill/
├── SKILL.md (overview + navigation)
└── reference/
    ├── finance.md
    ├── sales.md
    └── product.md
```

**Rules:**
- Keep references **one level deep** from SKILL.md (no nested chains)
- Reference files > 100 lines need a **table of contents** at top
- Claude loads referenced files only when needed — no context penalty

## String Substitutions

| Variable | Description |
|----------|-------------|
| `$ARGUMENTS` | All arguments passed to skill |
| `$ARGUMENTS[N]` or `$N` | Specific argument by index |
| `${CLAUDE_SESSION_ID}` | Current session ID |
| `${CLAUDE_SKILL_DIR}` | Directory containing SKILL.md |

Dynamic injection: `` !`shell command` `` runs before Claude sees the content.

## Invocation Control

| Config | User invokes | Claude invokes |
|--------|-------------|----------------|
| Default | Yes | Yes |
| `disable-model-invocation: true` | Yes | No |
| `user-invocable: false` | No | Yes |

## Workflows & Feedback Loops

For complex tasks, provide a checklist Claude can track:

```markdown
## Deploy workflow
- [ ] Step 1: Run tests
- [ ] Step 2: Build artifacts
- [ ] Step 3: Deploy to staging
- [ ] Step 4: Verify deployment
- [ ] Step 5: Deploy to production
```

Implement validation loops: Run validator → fix → re-validate → proceed only when passing.

## Anti-Patterns to Avoid

| Anti-Pattern | Fix |
|--------------|-----|
| Body > 500 lines | Split into SKILL.md + reference files |
| Deeply nested references (A→B→C) | Keep all refs one level from SKILL.md |
| Too many options | Provide one default, mention alternative only when needed |
| First/second person description | Always third person |
| Vague description | Include what + when + trigger keywords |
| Windows-style paths (`\`) | Always use forward slashes |
| Explaining basics Claude knows | Remove — Claude is already smart |

## Checklist Before Shipping

- [ ] Description is specific, third person, includes trigger terms
- [ ] SKILL.md body < 500 lines
- [ ] Additional details in separate reference files
- [ ] No time-sensitive info
- [ ] Consistent terminology throughout
- [ ] Concrete examples, not abstract
- [ ] References one level deep
- [ ] Tested with at least 3 real scenarios

## Reference
- [Progressive disclosure patterns](quick-ref/progressive-disclosure.md)
- [Writing effective descriptions](quick-ref/description-triggers.md)
Pliki w paczce (3)
  • SKILL.md 6 KB
  • quick-ref/description-triggers.md 3 KB
  • quick-ref/progressive-disclosure.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · claude-dev-suite/claude-dev-suite100MIT
contentful/skills100MIT
Esposter/Esposter100Apache-2.0
komluk/scaffolding100MIT
nyldn/claude-octopus100MIT
redhat-developer/rhdh-skills100Apache-2.0
tencentcloudbase/cloudbase-ai-toolkit100MIT
ovargas/virtual-team100MIT
nathanvale/side-quest-marketplace100MIT

Migawka bazy z 28.10.2026 · wersja paczki 2767c97fcf76 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100agent-authoring
    Tworzy i konfiguruje subagenty Claude Code: pola frontmatter, ograniczenia narzędzi, wybór modelu, hooki, pamięć i preładowanie skilli według oficjalnych dobrych praktyk Anthropic.
  • 100creating-skills
    Tworzy skille Claude zgodne z oficjalnymi dobrymi praktykami: zakres, struktura, nazewnictwo, stopniowe ujawnianie, opcje frontmattera i walidacja jakości.
  • 100plugin-authoring
    Tworzy wtyczki Claude Code pakujące skille, agentów, hooki i serwery MCP w dystrybuowalne paczki: manifest plugin.json, struktura katalogów, przestrzenie nazw i dystrybucja.
  • 87agent-skills
    Pisze skille agentów w formacie SKILL.md: frontmatter, ograniczanie kontekstu, dobór plików referencyjnych i pakowanie dla Claude Code i API.
  • 90plugin-authoring
    Podpowiada dobre praktyki pisania skilli i agentów: opisy, strukturę, frontmatter, oszczędność tokenów i typowe błędy przy tworzeniu SKILL.md.
  • 100skill-developer
    Tworzy i zarządza skillami Claude Code zgodnie z wytycznymi Anthropic i specyfikacją agentskills.io: SKILL.md, frontmatter i hooki.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.