example-skill

anthropics/claude-plugins-official · updated Apr 8, 2026

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

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

skill.md

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

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.728 reviews
  • Pratham Ware· Dec 24, 2024

    Solid pick for teams standardizing on skills: example-skill is focused, and the summary matches what you get after install.

  • Hana Liu· Dec 8, 2024

    We added example-skill from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Meera Kapoor· Dec 8, 2024

    example-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Hana Farah· Nov 27, 2024

    Keeps context tight: example-skill is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Kiara Flores· Nov 27, 2024

    I recommend example-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Naina Mehta· Oct 18, 2024

    example-skill is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Ishan Park· Oct 18, 2024

    Useful defaults in example-skill — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Mia Taylor· Sep 9, 2024

    We added example-skill from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Yash Thakker· Sep 1, 2024

    Registry listing for example-skill matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Mia Sethi· Aug 28, 2024

    example-skill fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 28

1 / 3