example-skill
Example Skill
This is an example skill that demonstrates how to structure skills for AI coding agents.
When to Apply
Reference these guidelines when:
- Creating new skills
- Understanding the skill format
- Learning best practices for skill development
Core Guidelines
1. Frontmatter Requirements
Every SKILL.md file must include:
name: Unique identifier (lowercase, hyphens for spaces)description: Clear description of what the skill does and when to use it
Optional fields:
license: License type (e.g., MIT)metadata: Additional information (author, version, etc.)
2. Content Structure
Organize your skill content with:
- Clear headings
- Code examples
- Use cases
- Best practices
3. Script Integration
If your skill includes scripts:
- Place them in the
scripts/directory - Make scripts executable
- Document usage in this file
4. References
Include supporting documentation in:
- The
references/directory - Links to external resources
- Relevant documentation
Example Usage
# Using the skill in a conversation
"Use the example-skill to help me create a new skill"
Best Practices
- Keep descriptions clear and concise
- Use specific examples
- Document edge cases
- Include troubleshooting steps
Sub-rules
If your skill is complex, you can break it down into sub-rules in the rules/ directory:
- Create separate markdown files for each rule
- Reference them from this main SKILL.md
- Use descriptive filenames (e.g.,
rule-name.md)
More from uwe-schwarz/skills
github-pr-review-workflow
Complete workflow for handling GitHub PR reviews using gh pr-review extension
40upgrade-dependencies-pr
Update a JavaScript, TypeScript, or Python project's dependencies to the latest published versions, remove exact pinned JS semver specs when appropriate, convert stray JS `latest` tags back to explicit semver ranges, evaluate release impact against the codebase and official release notes, identify newly introduced features and enforcement changes, apply required small upgrade fixes, open GitHub issues for larger or optional follow-up work, and finish by creating a branch, commit, push, and PR. Use when asked to upgrade dependencies, refresh packages, unpin dependency versions, or ship an end-to-end dependency maintenance PR.
12coderabbit-review
Perform code review using CodeRabbit. Must use this skill if instructed to perform a CodeRabbit review.
9documentation
Automated documentation generation and management. Use for creating, updating, and maintaining project documentation including README files, API docs, and inline code comments.
8your-skill-name
A clear description of what this skill does and when to use it. This should be comprehensive so agents understand when to activate this skill.
8code-review
Comprehensive code review guidelines for ensuring code quality, security, and maintainability. Use when reviewing pull requests, refactoring code, or ensuring best practices.
8