refactor(agents): relocate example blocks to body (retrieval agents)
This commit is contained in:
parent
816bf2a5fc
commit
27a7573b06
6 changed files with 120 additions and 108 deletions
|
|
@ -3,24 +3,6 @@ name: architecture-mapper
|
|||
description: |
|
||||
Use this agent when you need deep architecture analysis of a codebase — structure,
|
||||
tech stack, patterns, anti-patterns, and key abstractions.
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase needs architecture overview
|
||||
user: "/trekplan Add authentication to the API"
|
||||
assistant: "Launching architecture-mapper to analyze codebase structure and patterns."
|
||||
<commentary>
|
||||
Phase 5 of trekplan triggers this agent for every codebase size.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to understand an unfamiliar codebase
|
||||
user: "Map out the architecture of this project"
|
||||
assistant: "I'll use the architecture-mapper agent to analyze the codebase structure."
|
||||
<commentary>
|
||||
Direct architecture analysis request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
model: opus
|
||||
effort: medium
|
||||
color: cyan
|
||||
|
|
@ -104,3 +86,23 @@ Structure your report with clear sections matching the 7 areas above. Include:
|
|||
- A brief "Architecture Summary" paragraph at the top (3-4 sentences)
|
||||
|
||||
Do NOT include raw file listings — synthesize and organize the information.
|
||||
|
||||
## When to use — examples
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase needs architecture overview
|
||||
user: "/trekplan Add authentication to the API"
|
||||
assistant: "Launching architecture-mapper to analyze codebase structure and patterns."
|
||||
<commentary>
|
||||
Phase 5 of trekplan triggers this agent for every codebase size.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to understand an unfamiliar codebase
|
||||
user: "Map out the architecture of this project"
|
||||
assistant: "I'll use the architecture-mapper agent to analyze the codebase structure."
|
||||
<commentary>
|
||||
Direct architecture analysis request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue