home / skills / open-circle / agent-skills / template
This skill helps you craft and validate practical usage guidelines for agent skills, guiding activation in relevant user intents and scenarios.
npx playbooks add skill open-circle/agent-skills --skill templateReview the files below or copy the command above to add this skill to your agents.
---
name: skill-name
description: A clear description of what this skill does and when to use it. Include keywords that help agents identify when this skill is relevant (e.g., "Use when the user asks about X, Y, or Z").
license: MIT
metadata:
author: your-github-username
version: "1.0"
---
# Skill Name
Brief introduction to what this skill provides.
## When to use this skill
Describe the scenarios where this skill should be activated:
- When the user asks about...
- When working with...
- When the task involves...
## Prerequisites
List any requirements or dependencies:
- Required tools or libraries
- Environment setup
- Knowledge prerequisites
## Instructions
### Step 1: Title
Detailed instructions for the first step.
```language
// Code example
```
### Step 2: Title
Detailed instructions for the second step.
## Examples
### Example 1: Basic Usage
```language
// Example code demonstrating basic usage
```
### Example 2: Advanced Usage
```language
// Example code demonstrating advanced patterns
```
## Common Patterns
Document frequently used patterns and best practices.
## Troubleshooting
### Issue 1
Description and solution.
### Issue 2
Description and solution.
## Additional Resources
- [Official Documentation](https://example.com)
- [API Reference](https://example.com/api)
This skill provides a concise, actionable template for building and documenting an agent skill. Use when you need a clear step-by-step guide for implementing features, documenting prerequisites, and troubleshooting common issues. It helps agents identify relevance by including keywords like setup, examples, troubleshooting, and patterns.
The skill inspects a project's requirements and produces a structured set of instructions: prerequisites, step-by-step implementation, examples, and troubleshooting tips. It outlines where to add code snippets, how to run basic and advanced examples, and common patterns to reuse. It is designed to be adapted to different languages and environments by replacing placeholder code blocks with real implementations.
What should I include in prerequisites?
List required tools, minimum versions, environment variables, and any external services or credentials needed to run the examples.
How do I present code examples?
Provide minimal, runnable snippets for basic usage and a more complete example for advanced scenarios. Use comments to explain non-obvious steps.