example-skill

Keterampilan ini harus digunakan ketika pengguna meminta untuk "mendemonstrasikan keterampilan", "menampilkan format keterampilan", "membuat templat keterampilan", atau membahas pola pengembangan keterampilan.…

npx skills add https://github.com/anthropics/claude-plugins-official --skill example-skill

Example Skill

This skill demonstrates the structure and format for Claude Code plugin skills.

Overview

Skills are model-invoked capabilities that Claude autonomously uses based on task context. Unlike commands (user-invoked) or agents (spawned by Claude), skills provide contextual guidance that Claude incorporates into its responses.

When This Skill Applies

This skill activates when the user's request involves:

  • Creating or understanding plugin skills
  • Skill template or reference needs
  • Skill development patterns

Skill Structure

Required Files

skills/
└── skill-name/
    └── SKILL.md          # Main skill definition (required)

Optional Supporting Files

skills/
└── skill-name/
    ├── SKILL.md          # Main skill definition
    ├── README.md         # Additional documentation
    ├── references/       # Reference materials
    │   └── patterns.md
    ├── examples/         # Example files
    │   └── sample.md
    └── scripts/          # Helper scripts
        └── helper.sh

Frontmatter Options

Skills support these frontmatter fields:

  • name (required): Skill identifier
  • description (required): Trigger conditions - describe when Claude should use this skill
  • version (optional): Semantic version number
  • license (optional): License information or reference

Writing Effective Descriptions

The description field is crucial - it tells Claude when to invoke the skill.

Good description patterns:

description: This skill should be used when the user asks to "specific phrase", "another phrase", mentions "keyword", or discusses topic-area.

Include:

  • Specific trigger phrases users might say
  • Keywords that indicate relevance
  • Topic areas the skill covers

Skill Content Guidelines

  1. Clear purpose: State what the skill helps with
  2. When to use: Define activation conditions
  3. Structured guidance: Organize information logically
  4. Actionable instructions: Provide concrete steps
  5. Examples: Include practical examples when helpful

Best Practices

  • Keep skills focused on a single domain
  • Write descriptions that clearly indicate when to activate
  • Include reference materials in subdirectories for complex skills
  • Test that the skill activates for expected queries
  • Avoid overlap with other skills' trigger conditions

Lebih banyak skill dari anthropic

pdf
anthropic
Toolkit manipulasi PDF yang komprehensif untuk mengekstrak teks dan tabel, membuat PDF baru, menggabungkan/memisahkan dokumen, serta menangani formulir. Saat Claude perlu…
claude-opus-4-5-migration
anthropic
Migrasikan prompt dan kode dari Claude Sonnet 4.0, Sonnet 4.5, atau Opus 4.1 ke Opus 4.5. Gunakan ketika pengguna ingin memperbarui codebase, prompt, atau panggilan API mereka…
client-letter
anthropic
Korespondensi rutin klien dari templat — konfirmasi janji temu, permintaan dokumen, pembaruan singkat "kami telah mengajukannya". Bahasa sederhana, elemen yang diperlukan,…
comments
anthropic
Tinjau periode komentar NPRM yang terbuka, catat keputusan, lacak tenggat waktu. Gunakan ketika NPRM memiliki jendela komentar yang terbuka dan Anda perlu menampilkan tenggat waktu, memutuskan apakah…
ip-clause-review
anthropic
Tinjau klausul IP dalam sebuah perjanjian — pengalihan, kepemilikan, pemberian lisensi, jaminan, indemnitas. Gunakan saat meninjau ketentuan IP dalam kontrak kerja, konsultasi,…
launch-review
anthropic
Tinjauan peluncuran penuh terhadap kerangka kerja dan kalibrasi risiko Anda. Gunakan saat pengguna mengatakan "tinjau peluncuran ini", "tinjauan hukum untuk [fitur]", "bisakah kami merilis ini",…
legal-writing
anthropic
Umpan balik struktural pada draf tulisan hukum (memo, brief, makalah, esai ujian) — organisasi, kedalaman analisis, kejelasan, bentuk sitasi. TIDAK PERNAH menulis ulang draf tersebut.…
marketing-claims-review
anthropic
Tinjau teks pemasaran untuk klaim yang memerlukan pembuktian, pembingkaian ulang, atau pemotongan. Gunakan saat pengguna mengatakan "tinjau teks pemasaran ini", "periksa klaim ini",…