Skip to content

Commit 2623772

Browse files
sjnimsclaude
andauthored
docs(agent-development): enhance content completeness and documentation (#22)
## Summary Enhances the agent-development skill with improved documentation completeness: - Model selection guidance explaining when to choose haiku/sonnet/opus - Enriched Additional Resources section with detailed file descriptions - Full copy-pasteable script path in Implementation Workflow - Note about tools vs allowed-tools field naming difference ## Problem Fixes #19 ## Solution Added four targeted enhancements to improve discoverability, actionability, and clarity: 1. **Model Selection Guidance** - Added "When to choose" section with clear use cases for each model option 2. **Reference File Descriptions** - Expanded 1-line descriptions to explain what each reference file provides 3. **Full Script Path** - Changed relative path to full runnable path with example filename 4. **Component Difference Note** - Added blockquote explaining the tools vs allowed-tools naming difference ### Alternatives Considered - Considered adding model guidance to a separate reference file, but inline guidance is more discoverable - Considered detailed multi-paragraph descriptions for reference files, but kept concise to maintain lean SKILL.md ## Changes - `plugins/plugin-dev/skills/agent-development/SKILL.md`: All four documentation enhancements ## Testing - [x] Markdown linting passes - [x] Word count remains in ideal range (1,752 words < 2,000 target) - [x] All changes match issue acceptance criteria --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5807828 commit 2623772

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

  • plugins/plugin-dev/skills/agent-development

plugins/plugin-dev/skills/agent-development/SKILL.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ Which model the agent should use.
156156
- `opus` - Claude Opus (most capable, expensive)
157157
- `haiku` - Claude Haiku (fast, cheap)
158158

159+
**When to choose:**
160+
161+
- `haiku` - Fast, simple tasks; quick analysis; cost-sensitive operations
162+
- `sonnet` - Balanced performance; most use cases (default recommendation)
163+
- `opus` - Complex reasoning; detailed analysis; highest capability needed
164+
159165
**Recommendation:** Use `inherit` unless agent needs specific model capabilities.
160166

161167
### color (required)
@@ -390,6 +396,8 @@ Output: [What to provide]
390396
| color | Yes | Color name | blue |
391397
| tools | No | Array of tool names | ["Read", "Grep"] |
392398

399+
> **Note:** Agents use `tools` to restrict tool access. Skills use `allowed-tools` for the same purpose. The field names differ between component types.
400+
393401
### Best Practices
394402

395403
**DO:**
@@ -414,9 +422,9 @@ Output: [What to provide]
414422

415423
For detailed guidance, consult:
416424

417-
- **`references/system-prompt-design.md`** - Complete system prompt patterns
418-
- **`references/triggering-examples.md`** - Example formats and best practices
419-
- **`references/agent-creation-system-prompt.md`** - The exact prompt from Claude Code
425+
- **`references/system-prompt-design.md`** - Four system prompt patterns (Analysis, Generation, Validation, Orchestration) with complete templates and common pitfalls
426+
- **`references/triggering-examples.md`** - Example block anatomy, four example types, template library, and debugging guide
427+
- **`references/agent-creation-system-prompt.md`** - The exact prompt used by Claude Code's agent generation feature with usage patterns
420428

421429
### Example Files
422430

@@ -442,7 +450,7 @@ To create an agent for a plugin:
442450
4. Write frontmatter with all required fields
443451
5. Write system prompt following best practices
444452
6. Include 2-4 triggering examples in description
445-
7. Validate with `scripts/validate-agent.sh`
453+
7. Validate with `./skills/agent-development/scripts/validate-agent.sh agents/your-agent.md`
446454
8. Test triggering with real scenarios
447455
9. Document agent in plugin README
448456

0 commit comments

Comments
 (0)