home / skills / 89jobrien / steve / example-skill

example-skill skill

/steve/skills/example-skill

This skill demonstrates proper YAML frontmatter and content structure for new skills, guiding you to bundle resources and document workflows effectively.

npx playbooks add skill 89jobrien/steve --skill example-skill

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
2.4 KB
---
name: example-skill
description: This skill should be used when demonstrating skill structure and format.
  Provides example patterns for creating new skills.
author: Joseph OBrien
status: unpublished
updated: '2025-12-23'
version: 1.0.1
tag: skill
type: skill
---

# 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

Overview

This skill is an example template demonstrating proper skill structure and format. It provides clear patterns for organizing metadata, workflows, and bundled resources. Use it as a reference when creating or reviewing new skills to ensure consistency and usability.

How this skill works

The skill inspects and outlines the essential sections a well-formed skill should include: purpose, when-to-use guidance, workflows, best practices, and reference files. It shows how to present content progressively from high-level guidance to actionable steps and examples. Bundled resource examples illustrate how to include supporting files alongside documentation.

When to use it

  • Creating a new skill and needing a proven template
  • Reviewing or auditing skill structure for completeness
  • Teaching contributors how to document skills effectively
  • Designing bundled resources to accompany a skill
  • Standardizing format across a collection of skills

Best practices

  • Keep each skill focused on a single domain or capability
  • Start with a clear "When to Use" section so applicability is obvious
  • Use progressive disclosure: high-level purpose first, then detailed steps
  • Provide concrete examples and step-by-step workflows
  • Document common anti-patterns and limitations to prevent misuse

Example use cases

  • Building a new code-review skill using the template as a checklist
  • Training contributors on how to write consistent skill documentation
  • Packaging examples and guides alongside a skill for downstream users
  • Auditing an existing skill collection for missing sections or resources
  • Creating a learning module that shows correct vs. incorrect skill patterns

FAQ

Who should use this example skill?

Authors, maintainers, and reviewers who create or evaluate skills and need a concise reference for structure and content.

What resources should be bundled with a skill?

Include templates, example workflows, and any small reference files that clarify usage or accelerate adoption. Avoid large binaries; prefer concise, explanatory materials.