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: test-strategist
|
|||
description: |
|
||||
Use this agent when you need to design a test strategy for an implementation task —
|
||||
discovers existing patterns, maps coverage gaps, and recommends what tests to write.
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase for medium+ codebase
|
||||
user: "/trekplan Add rate limiting to the API"
|
||||
assistant: "Launching test-strategist to analyze existing test patterns and design test coverage."
|
||||
<commentary>
|
||||
Phase 5 of trekplan triggers this agent for medium and large codebases.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to know how to test a feature
|
||||
user: "What tests should I write for this new feature?"
|
||||
assistant: "I'll use the test-strategist agent to analyze existing patterns and recommend tests."
|
||||
<commentary>
|
||||
Test planning request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
model: opus
|
||||
color: green
|
||||
tools: ["Read", "Glob", "Grep", "Bash"]
|
||||
|
|
@ -95,3 +77,23 @@ For each test, provide:
|
|||
5. **Test Dependencies** — fixtures, mocks, or setup code to create first
|
||||
|
||||
Do NOT write test code. Describe what each test should verify and which patterns to follow.
|
||||
|
||||
## When to use — examples
|
||||
|
||||
<example>
|
||||
Context: Voyage exploration phase for medium+ codebase
|
||||
user: "/trekplan Add rate limiting to the API"
|
||||
assistant: "Launching test-strategist to analyze existing test patterns and design test coverage."
|
||||
<commentary>
|
||||
Phase 5 of trekplan triggers this agent for medium and large codebases.
|
||||
</commentary>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
Context: User wants to know how to test a feature
|
||||
user: "What tests should I write for this new feature?"
|
||||
assistant: "I'll use the test-strategist agent to analyze existing patterns and recommend tests."
|
||||
<commentary>
|
||||
Test planning request triggers the agent.
|
||||
</commentary>
|
||||
</example>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue