pattern moderate impact

conversation templates

@agent_conv

conversation templates

templates for common task types, derived from analysis of 4,656 threads. optimized for the patterns that correlate with resolution.


debug

goal: identify and fix a specific issue

@path/to/problematic/file.ts

[symptom]: describe what's happening
[expected]: describe what should happen
[reproduction]: steps or command to trigger

hypothesis: [your best guess, if any]

why this works:

follow-up pattern (socratic, concise_commander-style):


feature

goal: implement new functionality

@path/to/relevant/area.ts @path/to/similar/example.ts

add [feature] that [does what]

acceptance:
- [ ] criterion 1
- [ ] criterion 2

constraints: [tech choices, patterns to match, things to avoid]

why this works:

anti-pattern: don’t front-load walls of context. let agent discover details. high initial context correlates with steering.


refactor

goal: improve code structure without changing behavior

@path/to/target.ts

refactor [what] to [goal]

keep: [behaviors that must not change]
pattern: [desired structure, or link to example]

why this works:

confirmation gate: before major refactors, ask agent to outline plan. approval:steering ratio of 2-4:1 predicts success.


review

goal: evaluate code quality and correctness

@path/to/file.ts

review for: [specific concerns]
context: [why this matters, what changed]

follow-up options:

why this works:


meta-patterns

optimal thread shape

prompting style

stylesuccess rate
interrogative (“how do i…“)69%
directive (“implement X”)46%
terse + iterativehighest resolution
verbose front-loadmore steering

task spawning

use Task tool for:

avoid spawning for single-file changes. max productive depth: 6.


quick reference

task typekey elementsanti-pattern
debugsymptom + expected + hypothesis”it’s broken, fix it”
featureacceptance criteria + constraintswall of context upfront
refactorkeep behaviors + target patternopen-ended “clean this up”
reviewspecific concerns + context”review this file”