Skip to content

Commit 8ad84d4

Browse files
sjnimsclaude
andauthored
feat: add skills field to agents for auto-loading relevant skills (#120)
## Summary - Adds the `skills` frontmatter field to all 3 agents to auto-load relevant skill documentation when invoked - Makes agents more self-contained and effective by providing them with domain-specific best practices ## Problem Fixes #118 The plugin's agents don't leverage the `skills` frontmatter field to auto-load relevant context. Users need to manually load skills first, or agents operate without that documentation context. ## Solution Add `skills` field to each agent's frontmatter: | Agent | Skills Auto-loaded | |-------|-------------------| | `agent-creator` | agent-development | | `plugin-validator` | plugin-structure, hook-development, command-development, skill-development, agent-development | | `skill-reviewer` | skill-development | ### Alternatives Considered 1. **Status quo**: Users manually load skills (current behavior) 2. **Document in prompts**: Add references in system prompt text (doesn't auto-load) 3. **Single skill per agent**: Only load most relevant skill (less comprehensive for plugin-validator) Chose the approach from the issue which provides comprehensive coverage while being targeted to each agent's needs. ## Changes - `agent-creator.md`: Added `skills: agent-development` - `plugin-validator.md`: Added `skills: plugin-structure, hook-development, command-development, skill-development, agent-development` - `skill-reviewer.md`: Added `skills: skill-development` ## Testing - [x] All modified files pass markdownlint - [x] Skills referenced exist in the plugin --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3ac8d5b commit 8ad84d4

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

plugins/plugin-dev/agents/agent-creator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Plugin development with agent addition, trigger agent-creator.
3333
model: sonnet
3434
color: magenta
3535
tools: Write, Read
36+
skills: agent-development
3637
---
3738

3839
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.

plugins/plugin-dev/agents/plugin-validator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Marketplace created, validate schema and plugin entries.
4141
model: inherit
4242
color: yellow
4343
tools: Read, Grep, Glob, Bash
44+
skills: plugin-structure, hook-development, command-development, skill-development, agent-development
4445
---
4546

4647
You are an expert plugin and marketplace validator specializing in comprehensive validation of Claude Code plugin structure, configuration, components, and plugin marketplaces.

plugins/plugin-dev/agents/skill-reviewer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Skill description modified, review for triggering effectiveness.
3232
model: inherit
3333
color: cyan
3434
tools: Read, Grep, Glob
35+
skills: skill-development
3536
---
3637

3738
You are an expert skill architect specializing in reviewing and improving Claude Code skills for maximum effectiveness and reliability.

0 commit comments

Comments
 (0)