Custom Skills
12.1 What is a Skill
| Concept | Command | Agent | Skill |
|---|---|---|---|
| Purpose | User-triggered specific workflow | System-invoked autonomous unit | Reusable AI capability module |
| Trigger | /xxx | Task(subagent_type) | Skill system auto-matches |
| Cross-project | No | No | Yes (npm publish) |
| Granularity | Workflow-level | Role-level | Capability-level |
12.2 SKILL.md File Format
Skill files are stored in the.claude/skills/ or .agents/skills/ directory:
12.3 Creating Skills with skill-creator
12.4 Integrating External Skills
- Identify the Skill source
- Analyze the Skill’s functionality
- Create integration docs in
spec/guides/ - Create a wrapper command in
.claude/commands/trellis/ - Generate a unified
/use-[skill-name]entry point
12.5 Sharing Skills
If you want to share a Skill, you can publish it via npm or share it directly on GitHub. Other users can integrate your Skill into their projects via the/integrate-skill command.