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

skill-authoring

/skill-authoring

Dostarcza dobre praktyki projektowania skilli Claude Code, narzędzi MCP i możliwości agentów AI: pliki SKILL.md, opisy narzędzi, optymalizacja wyzwalaczy, progresywne ujawnianie i testowanie skilli.

Repozytorium
dot-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
15.08.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
52
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
7
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.08.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

Dostarcza dobre praktyki projektowania skilli Claude Code, narzędzi MCP i możliwości agentów AI: pliki SKILL.md, opisy narzędzi, optymalizacja wyzwalaczy, progresywne ujawnianie i testowanie skilli.

Wyzwalacze z opisu

create a skillskill templatewrite skill instructions
Oryginalny opis (EN)

Design and development best practices for Claude Code skills, MCP tools, and AI agent capabilities. Use when creating skills, writing SKILL.md files, designing tool descriptions, or optimizing triggers. Triggers on "create a skill", "skill template", "write skill instructions", SKILL.md, metadata.json, progressive disclosure, trigger optimization, MCP tool design, or skill testing. Does NOT cover specific frameworks or languages (use dedicated skills).

Jak działa

  1. When to Apply
  2. Core Principles
  3. Rule Categories
  4. Quick Reference
  5. Creating Rules
  6. References
Sekcje z nagłówków SKILL.md, w oryginale · 137 linii, 830 słów
Podgląd SKILL.md
---
name: skill-authoring
description: Design and development best practices for Claude Code skills, MCP tools, and AI agent capabilities. Use when creating skills, writing SKILL.md files, designing tool descriptions, or optimizing triggers. Triggers on "create a skill", "skill template", "write skill instructions", SKILL.md, metadata.json, progressive disclosure, trigger optimization, MCP tool design, or skill testing. Does NOT cover specific frameworks or languages (use dedicated skills).
---

# AI Agent Skills Best Practices

Design and development guide for AI agent skills, including Claude Code skills and MCP tools. Contains 46 rules across 8 categories, prioritized by impact to guide skill creation, review, and optimization.

## When to Apply

- Creating new Claude Code skills or MCP tools
- Writing or reviewing SKILL.md metadata and descriptions
- Optimizing skill trigger reliability
- Structuring content for progressive disclosure
- Testing skill activation and behavior
- Designing tool interfaces for agent workflows

## Core Principles

**1. Descriptions drive activation.** Claude selects skills based on description matching against user intent. Include specific capabilities, trigger keywords, and negative cases. A skill with a vague description activates inconsistently or never.

**2. Front-load critical instructions.** Claude may truncate long content. Place non-negotiable rules in the first 100 lines. Bury important constraints at the end and they get ignored.

**3. Progressive disclosure saves tokens.** Load detailed content only when needed. A 2000-line skill wastes context on every activation. Structure as: SKILL.md (overview) → references/ (details) → scripts/ (execution).

**4. Test activation, not just execution.** A skill that works perfectly but never triggers provides zero value. Test with real user phrases, synonyms, and edge cases before deployment.

**5. One skill per domain.** Overlapping skills create activation conflicts. Split by clear boundaries (language, framework, workflow stage) with distinct trigger keywords.

## Rule Categories

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Skill Metadata Design | CRITICAL | `meta-` |
| 2 | Description Engineering | CRITICAL | `desc-` |
| 3 | Content Structure | HIGH | `struct-` |
| 4 | Trigger Optimization | HIGH | `trigger-` |
| 5 | Progressive Disclosure | MEDIUM-HIGH | `prog-` |
| 6 | MCP Tool Design | MEDIUM | `mcp-` |
| 7 | Testing and Validation | MEDIUM | `test-` |
| 8 | Maintenance and Distribution | LOW-MEDIUM | `maint-` |

## Quick Reference

### 1. Skill Metadata Design (CRITICAL)

- `meta-name-format` - Use lowercase hyphenated skill names
- `meta-name-hyphen-boundaries` - Never start or end names with hyphens
- `meta-name-no-consecutive-hyphens` - Avoid consecutive hyphens in names
- `meta-name-uniqueness` - Ensure skill names are globally unique
- `meta-required-frontmatter` - Include all required frontmatter fields
- `meta-allowed-frontmatter-fields` - Use only allowed frontmatter fields
- `meta-frontmatter-yaml-syntax` - Use valid YAML frontmatter syntax
- `meta-name-length` - Keep skill names under 64 characters
- `meta-directory-match` - Match skill name to directory name

### 2. Description Engineering (CRITICAL)

- `desc-specific-capabilities` - Name specific capabilities in description
- `desc-trigger-keywords` - Include user trigger keywords in description
- `desc-third-person-voice` - Write descriptions in third person
- `desc-length-optimization` - Optimize description length for discovery
- `desc-avoid-vague-terms` - Avoid vague terms in descriptions
- `desc-differentiate-similar-skills` - Differentiate similar skills with distinct triggers
- `desc-include-negative-cases` - Include negative cases for precision

### 3. Content Structure (HIGH)

- `struct-header-hierarchy` - Use consistent header hierarchy
- `struct-instructions-first` - Put critical instructions early in content
- `struct-imperative-instructions` - Write instructions in imperative mood
- `struct-code-blocks-with-language` - Specify language in code blocks
- `struct-line-limit` - Keep SKILL.md under 500 lines
- `struct-single-responsibility` - One skill per domain
- `project-conventions` - Preserve repository-specific skill conventions

### 4. Trigger Optimization (HIGH)

- `trigger-slash-command-aliases` - Include slash command aliases in description
- `trigger-file-type-patterns` - Include file type patterns in description
- `trigger-workflow-stages` - Reference workflow stages in description
- `trigger-error-patterns` - Include error patterns in debugging skills
- `trigger-synonym-coverage` - Cover synonyms and alternate phrasings

### 5. Progressive Disclosure (MEDIUM-HIGH)

- `prog-three-level-disclosure` - Implement three-level progressive disclosure
- `prog-one-level-deep-links` - Limit reference links to one level deep
- `prog-scripts-execute-not-read` - Execute scripts instead of reading code
- `prog-lazy-load-examples` - Lazy load examples and reference material
- `prog-mutual-exclusion` - Separate mutually exclusive contexts

### 6. MCP Tool Design (MEDIUM)

- `mcp-tool-naming` - Use clear action-object tool names
- `mcp-parameter-descriptions` - Document all tool parameters
- `mcp-error-messages` - Return actionable error messages
- `mcp-tool-scope` - Design single-purpose tools
- `mcp-allowed-tools` - Use allowed-tools for safety constraints
- `mcp-idempotent-operations` - Design idempotent tool operations

### 7. Testing and Validation (MEDIUM)

- `test-trigger-phrases` - Test skill activation with real user phrases
- `test-edge-cases` - Test skills with edge case inputs
- `test-negative-scenarios` - Test that skills do NOT trigger on unrelated requests
- `test-instruction-clarity` - Test instructions with fresh context

### 8. Maintenance and Distribution (LOW-MEDIUM)

- `maint-semantic-versioning` - Use semantic versioning for skill releases
- `maint-changelog` - Maintain a changelog for skill updates
- `maint-plugin-packaging` - Package skills as plugins for distribution
- `maint-audit-security` - Audit skills before installing from external sources

## Creating Rules

Copy [assets/templates/_template.md](assets/templates/_template.md) and follow the frontmatter schema:

```yaml
---
title: Rule Title Here
impact: CRITICAL|HIGH|MEDIUM-HIGH|MEDIUM|LOW-MEDIUM|LOW
impactDescription: Quantified impact (e.g., "2-10x improvement")
tags: prefix, technique, related-concepts
---
```

Reference files use the pattern: `references/{prefix}-{slug}.md`

## References

- [skills-ref specification](https://github.com/agentskills/agentskills/tree/main/skills-ref)
- [Anthropic Engineering: Agent Skills](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills)
- [Claude Code Skills Documentation](https://code.claude.com/docs/en/skills)
- [Anthropic Skills Repository](https://github.com/anthropics/skills)
- [MCP Best Practices](https://modelcontextprotocol.info/docs/best-practices/)
- [Prompt Engineering Guide: LLM Agents](https://www.promptingguide.ai/research/llm-agents)
- [Claude Skills Deep Dive](https://leehanchung.github.io/blogs/2025/10/26/claude-skills-deep-dive/)
Pliki w paczce (52)
  • AGENTS.md 1 KB
  • SKILL.md 7 KB
  • metadata.json 1 KB
  • assets/templates/_template.md 1 KB
  • references/_sections.md 2 KB
  • references/desc-avoid-vague-terms.md 2 KB
  • references/desc-differentiate-similar-skills.md 2 KB
  • references/desc-include-negative-cases.md 2 KB
  • references/desc-length-optimization.md 3 KB
  • references/desc-specific-capabilities.md 2 KB
  • references/desc-third-person-voice.md 1 KB
  • references/desc-trigger-keywords.md 1 KB
  • references/maint-audit-security.md 2 KB
  • references/maint-changelog.md 2 KB
  • references/maint-plugin-packaging.md 2 KB
  • references/maint-semantic-versioning.md 1 KB
  • references/mcp-allowed-tools.md 2 KB
  • references/mcp-error-messages.md 2 KB
  • references/mcp-idempotent-operations.md 2 KB
  • references/mcp-parameter-descriptions.md 2 KB
  • references/mcp-tool-naming.md 2 KB
  • references/mcp-tool-scope.md 2 KB
  • references/meta-allowed-frontmatter-fields.md 2 KB
  • references/meta-directory-match.md 1 KB
  • references/meta-frontmatter-yaml-syntax.md 1 KB
  • references/meta-name-format.md 1 KB
  • references/meta-name-hyphen-boundaries.md 1 KB
  • references/meta-name-length.md 1 KB
  • references/meta-name-no-consecutive-hyphens.md 2 KB
  • references/meta-name-uniqueness.md 1 KB
  • references/meta-required-frontmatter.md 2 KB
  • references/prog-lazy-load-examples.md 2 KB
  • references/prog-mutual-exclusion.md 2 KB
  • references/prog-one-level-deep-links.md 2 KB
  • references/prog-scripts-execute-not-read.md 2 KB
  • references/prog-three-level-disclosure.md 2 KB
  • references/project-conventions.md 2 KB
  • references/struct-code-blocks-with-language.md 1 KB
  • references/struct-header-hierarchy.md 1 KB
  • references/struct-imperative-instructions.md 2 KB
  • references/struct-instructions-first.md 2 KB
  • references/struct-line-limit.md 2 KB
  • references/struct-single-responsibility.md 2 KB
  • references/test-edge-cases.md 2 KB
  • references/test-instruction-clarity.md 2 KB
  • references/test-negative-scenarios.md 2 KB
  • references/test-trigger-phrases.md 2 KB
  • references/trigger-error-patterns.md 2 KB
  • references/trigger-file-type-patterns.md 2 KB
  • references/trigger-slash-command-aliases.md 1 KB
  • references/trigger-synonym-coverage.md 2 KB
  • references/trigger-workflow-stages.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · pproenca/dot-skills100MIT
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 1247106866ca (skrót SHA-256 całej paczki)

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

Podobne skille

  • 95creating-agent-skills
    Tworzy i poprawia skille Claude Code: pliki SKILL.md, strukturę skilla i dobre praktyki jego pisania.
  • 95creating-agent-skills
    Tworzy i poprawia skille Claude Code: pliki SKILL.md, strukturę skilla i dobre praktyki jego pisania.
  • 92create-agent-skills
    Doradza przy tworzeniu i doskonaleniu skilli Claude Code: pliki SKILL.md, struktura, stopniowe ujawnianie, przepływy pracy, wzorce walidacji i formatowanie XML.
  • 95skill-architect
    Projektuje, tworzy, audytuje i poprawia skille Claude Agent Skills, w tym progresywne ujawnianie treści, opisy skilli i diagnozowanie problemów z aktywacją.
  • 100create-agent-skills
    Doradza przy tworzeniu skilli i komend slash dla Claude Code: pliki SKILL.md, struktura skilla i dobre praktyki.
  • 100agent-skills-best-practices
    Opisuje konwencje projektowania skilli agentów: wąski zakres, precyzyjne wykrywanie i progressive disclosure, przy tworzeniu i przeglądzie skilli opartych na SKILL.md.

Uwagi i zgłoszenia

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