Skip to content

Commit a92e048

Browse files
sjnimsclaude
andcommitted
feat: add component comparison section to agent-development skill
Add new section helping users decide when to use agents vs commands vs skills. Includes comparison table and decision criteria for each component type. Fixes #11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ff614dc commit a92e048

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

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

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,35 @@ Agents are autonomous subprocesses that handle complex, multi-step tasks indepen
1717
- System prompt defines agent behavior
1818
- Model and color customization
1919

20+
## When to Use Agents vs Commands vs Skills
21+
22+
| Component | Best For | Triggering | Example Use Case |
23+
|-----------|----------|------------|------------------|
24+
| **Agents** | Autonomous multi-step tasks | Proactive or description-matched | Code review after implementation |
25+
| **Commands** | User-initiated actions | Explicit `/command` invocation | `/deploy production` |
26+
| **Skills** | Knowledge and guidance | Model-invoked based on context | Domain expertise for PDF processing |
27+
28+
### Choose Agents When
29+
30+
- Task requires autonomous, multi-step execution
31+
- Proactive triggering after certain events is desired
32+
- Specialized subprocess with focused tools needed
33+
- Work should happen in the background or as a subagent
34+
35+
### Choose Commands When
36+
37+
- User should explicitly trigger the action
38+
- Task has clear start/end with specific inputs
39+
- Action should not happen automatically
40+
- Workflow requires user confirmation at each step
41+
42+
### Choose Skills When
43+
44+
- Providing knowledge or procedural guidance
45+
- Extending Claude's domain expertise
46+
- No autonomous execution needed
47+
- Information should be available contextually on-demand
48+
2049
## Agent File Structure
2150

2251
### Complete Format

0 commit comments

Comments
 (0)