Which documentation needs improvement?
- Skill documentation
- Agent documentation
Specific Location
plugins/plugin-dev/skills/agent-development/references/triggering-examples.md
plugins/plugin-dev/agents/agent-creator.md
plugins/plugin-dev/agents/plugin-validator.md
plugins/plugin-dev/agents/skill-reviewer.md
What's unclear or missing?
The plugin's internal documentation and all 3 agents use a two-assistant-line example format that differs from the official Claude Code documentation.
This plugin's format (taught in triggering-examples.md and used in all agents):
<example>
Context: User finished creating a new plugin
user: "I've created my first plugin with commands and hooks"
assistant: "Great! Let me validate the plugin structure."
<commentary>
Plugin created, proactively validate to catch issues early.
</commentary>
assistant: "I'll use the plugin-validator agent to check the plugin."
</example>
Official Claude Code docs format (sub-agents.md):
<example>
Context: User explicitly requests security analysis
user: "Check my code for security vulnerabilities"
assistant: "I'll use the security-analyzer agent to perform a thorough security review."
<commentary>
Direct security analysis request triggers the security-analyzer agent.
</commentary>
</example>
| Aspect |
Official Docs |
This Plugin |
| Assistant lines |
1 (invocation only) |
2 (response + invocation) |
| Commentary position |
After invocation |
Between responses |
| Shows initial response |
No |
Yes |
Suggested Improvement
Either:
-
Align with official docs: Update triggering-examples.md and all 3 agents to use the single-assistant-line format, OR
-
Document the intentional difference: Add a note in triggering-examples.md explaining that this plugin intentionally uses a more verbose format to show conversational flow, and that both formats work for triggering
Type of issue
Additional Context
Both formats appear to work functionally for agent triggering. The plugin's format is arguably more realistic as it shows Claude's conversational acknowledgment before the technical invocation. This may be an intentional stylistic choice that just needs documentation.
Found during comprehensive subagent review against official Claude Code plugin documentation.
Which documentation needs improvement?
Specific Location
plugins/plugin-dev/skills/agent-development/references/triggering-examples.mdplugins/plugin-dev/agents/agent-creator.mdplugins/plugin-dev/agents/plugin-validator.mdplugins/plugin-dev/agents/skill-reviewer.mdWhat's unclear or missing?
The plugin's internal documentation and all 3 agents use a two-assistant-line example format that differs from the official Claude Code documentation.
This plugin's format (taught in
triggering-examples.mdand used in all agents):Official Claude Code docs format (sub-agents.md):
Suggested Improvement
Either:
Align with official docs: Update
triggering-examples.mdand all 3 agents to use the single-assistant-line format, ORDocument the intentional difference: Add a note in
triggering-examples.mdexplaining that this plugin intentionally uses a more verbose format to show conversational flow, and that both formats work for triggeringType of issue
Additional Context
Both formats appear to work functionally for agent triggering. The plugin's format is arguably more realistic as it shows Claude's conversational acknowledgment before the technical invocation. This may be an intentional stylistic choice that just needs documentation.
Found during comprehensive subagent review against official Claude Code plugin documentation.