Commit 180b0db
feat: move edge cases section outside code block in agent-creator (#129)
## Summary
Move edge cases from inside the output format code block to a standalone
section, aligning `agent-creator.md` with the patterns used by
`plugin-validator.md` and `skill-reviewer.md`.
## Problem
Fixes #127
The `agent-creator.md` agent had its edge cases embedded inside the
output format markdown code block (lines 182-188), while the other two
agents have edge cases as standalone sections at the end of their system
prompts.
This structural inconsistency:
- Makes the agent-creator pattern different from its sibling agents
- Could affect how the LLM processes edge case guidance (inside a code
block may be treated as "example output" rather than "instructions to
follow")
## Solution
Moved the edge cases from inside the output format code block to a
standalone `**Edge Cases:**` section after the code block, matching the
pattern in:
- `plugin-validator.md:299-309`
- `skill-reviewer.md:195-201`
### Alternatives Considered
1. **Leave as-is** - The agent works correctly, but inconsistency could
cause subtle issues
2. **Update the other agents** - Could move their edge cases inside code
blocks instead, but having edge cases as instructions (outside code
blocks) is more semantically correct
## Changes
- `plugins/plugin-dev/agents/agent-creator.md`: Close code block after
"Next Steps" section, add standalone edge cases section
## Testing
- [x] Linting passes
- [x] Structure matches plugin-validator and skill-reviewer patterns
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 13f52fe commit 180b0db
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
190 | 191 | | |
191 | 192 | | |
0 commit comments