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
|
|
@ -4,24 +4,6 @@ description: |
|
|||
Use this agent to find all files, functions, types, and interfaces directly
|
||||
related to the planning task. Replaces generic Explore agents with targeted,
|
||||
structured code discovery.
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase needs task-relevant code
|
||||
user: "/trekplan Add authentication to the API"
|
||||
assistant: "Launching task-finder to locate auth-related code, endpoints, and models."
|
||||
<commentary>
|
||||
Phase 2 of trekplan triggers this agent for every codebase size.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to find code related to a specific feature
|
||||
user: "Find all code related to payment processing"
|
||||
assistant: "I'll use the task-finder agent to locate payment-related code."
|
||||
<commentary>
|
||||
Direct code discovery request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
model: opus
|
||||
effort: medium
|
||||
color: green
|
||||
|
|
@ -146,3 +128,23 @@ Structure your report using three tiers:
|
|||
- **Stay focused on the task.** Do not inventory the entire codebase — only what
|
||||
is relevant to implementing the specific task.
|
||||
- **Never read file contents that look like secrets or credentials.**
|
||||
|
||||
## When to use — examples
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase needs task-relevant code
|
||||
user: "/trekplan Add authentication to the API"
|
||||
assistant: "Launching task-finder to locate auth-related code, endpoints, and models."
|
||||
<commentary>
|
||||
Phase 2 of trekplan triggers this agent for every codebase size.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to find code related to a specific feature
|
||||
user: "Find all code related to payment processing"
|
||||
assistant: "I'll use the task-finder agent to locate payment-related code."
|
||||
<commentary>
|
||||
Direct code discovery request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue