Skills System¶
Skills are reusable workflows and custom commands that can be invoked by name or discovered automatically by the agent.
Creating Your Own Skills¶
- Choose a location:
- Personal skills (all projects):
~/.patchpal/skills/<skill-name>/SKILL.md -
Project-specific skills:
<repo>/.patchpal/skills/<skill-name>/SKILL.md -
Create the skill file:
-
Skill File Format:
Example Skills¶
The PatchPal repository includes example skills you can use as templates: - commit: Best practices for creating git commits - review: Comprehensive code review checklist - add-tests: Add comprehensive pytest tests (includes code block templates) - slack-gif-creator: Create animated GIFs for Slack (from Anthropic's official skills repo, demonstrates Claude Code compatibility) - skill-creator: Guide for creating effective skills with bundled scripts and references (from Anthropic's official skills repo, demonstrates full bundled resources support)
After pip install patchpal, get examples:
# Quick way: Download examples directly from GitHub
curl -L https://github.com/wiseprobe/patchpal/archive/main.tar.gz | tar xz --strip=1 patchpal-main/examples
# Or clone the repository
git clone https://github.com/wiseprobe/patchpal.git
cd patchpal
# Copy examples to your personal skills directory
cp -r examples/skills/commit ~/.patchpal/skills/
cp -r examples/skills/review ~/.patchpal/skills/
cp -r examples/skills/skill-creator ~/.patchpal/skills/
View examples online: Browse the examples/skills/ directory on GitHub to see the skill format and create your own.
You can also try out the example skills at anthropic/skills.
Using Skills¶
There are two ways to invoke skills:
-
Direct invocation - Type
/skillnameat the prompt: -
Natural language - Just ask, and the agent discovers the right skill:
Finding Available Skills¶
Ask the agent to list them:
Skill Priority¶
Project skills (.patchpal/skills/) override personal skills (~/.patchpal/skills/) with the same name.