Get the FREE Ultimate OpenClaw Setup Guide →

example-skill

npx machina-cli add skill aiskillstore/marketplace/example-skill --openclaw
Files (1)
SKILL.md
2.4 KB

Example Skill

A demonstration skill showing the proper structure and format for Claude Code skills.

When to Use This Skill

  • Creating new skills and need a reference
  • Understanding skill structure and best practices
  • Learning how to bundle resources with skills

What This Skill Does

  1. Demonstrates proper YAML frontmatter format
  2. Shows content structure requirements
  3. Provides examples of bundled resources
  4. Illustrates best practices for skill documentation

Core Principles

Principle 1: Clear Purpose

Skills should have a clear, well-defined purpose. The "When to Use" section should make it obvious when to apply the skill.

Principle 2: Progressive Disclosure

Structure content from high-level overview to detailed implementation. Start with "When to Use" and "What This Skill Does" before diving into workflows.

Principle 3: Actionable Workflows

Provide step-by-step workflows that can be followed directly. Include examples and anti-patterns.

Workflow

Step 1: Identify Need

Determine if this skill is appropriate for the current task.

Step 2: Review Documentation

Read the skill documentation to understand capabilities and limitations.

Step 3: Apply Skill

Follow the workflow steps to apply the skill.

Step 4: Validate Results

Check that the skill achieved the intended outcome.

Best Practices

  • Keep skills focused on a single domain or capability
  • Include clear examples and use cases
  • Document anti-patterns to avoid common mistakes
  • Bundle resources when they add value

Anti-Patterns

  • Creating overly broad skills that try to do everything
  • Skipping the "When to Use" section
  • Missing examples or use cases
  • Not documenting bundled resources

Examples

Example 1: Basic Usage

Scenario: Creating a new skill for code review

Approach:

  1. Review this example skill structure
  2. Use the template from steve/templates/AGENT_SKILL.template.md
  3. Fill in domain-specific content
  4. Add bundled resources if needed

Reference Files

This skill includes reference files in references/:

  • structure-guide.md: Detailed structure guidelines
  • examples.md: Additional examples

Source

git clone https://github.com/aiskillstore/marketplace/blob/main/skills/89jobrien/example-skill/SKILL.mdView on GitHub

Overview

The Example Skill showcases the proper structure and format of Claude Code skills, providing templates and bundled resource patterns. It helps teams design consistent, documented skills by illustrating frontmatter, content layout, and bundled resources.

How This Skill Works

Technically, it demonstrates the required YAML frontmatter, outlines content sections such as When to Use and What This Skill Does, and presents a workflow with concrete steps. It also highlights best practices and anti-patterns and references bundled resources in the references folder.

When to Use It

  • Creating new skills and need a reference
  • Understanding skill structure and best practices
  • Learning how to bundle resources with skills
  • Documenting anti-patterns to avoid common mistakes
  • Aligning new skills with the demonstrated template for consistency

Quick Start

  1. Step 1: Identify Need
  2. Step 2: Review Documentation
  3. Step 3: Apply Skill

Best Practices

  • Keep skills focused on a single domain or capability
  • Include clear examples and use cases
  • Document anti-patterns to avoid common mistakes
  • Bundle resources when they add value
  • Follow the demonstrated frontmatter structure and template to ensure consistency

Example Use Cases

  • Example 1: Basic Usage — Creating a new skill for code review
  • Example 2: Using the recommended template from steve/templates/AGENT_SKILL.template.md
  • Example 3: Filling in domain specific content while preserving structure
  • Example 4: Bundling reference files such as references/structure-guide.md and references/examples.md
  • Example 5: Documenting anti-patterns to avoid common mistakes

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers