summaryrefslogtreecommitdiff
path: root/docs/engineering/implement.md
diff options
context:
space:
mode:
authorMatt Pocock <bot@x>2026-12-04 20:12:33 +0000
committerMatt Pocock <bot@x>2026-12-04 20:12:33 +0000
commiteca3a7d63913660dbe7cb2e7ccfa0ae137df2d35 (patch)
tree7e5616694554d49adcd30d92962a1677d4f87fa8 /docs/engineering/implement.md
parent9e1f4fd4a5762b7bc6cdf5959b1843c49bb5f6e9 (diff)
parent72188b29f453b07d5759c56e303e1542cb1cea92 (diff)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/engineering/implement.md')
-rw-r--r--docs/engineering/implement.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/engineering/implement.md b/docs/engineering/implement.md
index b08985c..79c81b2 100644
--- a/docs/engineering/implement.md
+++ b/docs/engineering/implement.md
@@ -32,13 +32,13 @@ If the tickets came from [to-tickets](https://aihero.dev/skills-to-tickets), [se
A run has five steps, in order:
-1. Read the ticket or spec and work out the seams.
+1. Read the ticket and its spec, if it has one, and work out the seams.
2. Drive [tdd](https://aihero.dev/skills-tdd) at the pre-agreed seams, one red-green slice at a time.
3. Typecheck often, run single test files as it goes.
4. Run the full test suite once, at the end.
5. Run [code-review](https://aihero.dev/skills-code-review), then commit to the current branch.
-One run covers one ticket. The tickets [to-tickets](https://aihero.dev/skills-to-tickets) produces are tracer-bullet vertical slices sized to fit a single fresh [context window](https://www.aihero.dev/ai-coding-dictionary/context-window), so the intended rhythm is: clear context, implement one ticket, commit, clear again. Each ticket is self-contained, so you can discard the previous ticket's context.
+One run covers one ticket. The tickets [to-tickets](https://aihero.dev/skills-to-tickets) produces are tracer-bullet vertical slices sized to fit a single fresh [context window](https://www.aihero.dev/ai-coding-dictionary/context-window), so the intended rhythm is: clear context, implement one ticket, commit, clear again. Each run needs only its ticket and the spec, so you can discard the previous ticket's context.
## Pre-agreed seams
@@ -60,11 +60,9 @@ Not with `/implement`: one invocation, one ticket. For a whole spec in one run,
Not built in. It commits straight to the current branch. Several people find this too eager, because the code lands before they can verify it works. There is no configuration flag and no PR mode. People override it in the invocation ("commit to a branch and open a PR") or by editing their local copy of the skill. When the agent does write the PR, [pr](https://aihero.dev/skills-pr) shapes its body.
-**`code-review` says it cannot see my changes.**
+**Can I keep the review out of the run?**
-`code-review` reviews `git diff <fixed-point>...HEAD`, which excludes staged and working-tree changes. `implement` runs it before committing, so unless an interim commit already exists there is nothing in that diff to review. Multiple people have reported this and it is unfixed on both sides. Commit first, then review against the point you branched from.
-
-Separately, some people do not want the review inside the run at all, because an agent reviewing the code it just wrote is biased toward its own solution. Running [code-review](https://aihero.dev/skills-code-review) in a fresh session against a fixed point is a valid alternative. The same bias is why that skill runs its two axes in separate sub-agents.
+Yes. Some people do not want it there, because an agent reviewing the code it just wrote is biased toward its own solution. Running [code-review](https://aihero.dev/skills-code-review) in a fresh session against a fixed point is a valid alternative. The same bias is why that skill runs its two axes in separate sub-agents.
**One ticket burned 150k tokens. Am I using it wrong?**
@@ -72,7 +70,7 @@ Probably not. The ticket is more likely too big. A run does codebase exploration
**`/implement #2` in a fresh session worked on something completely unrelated.**
-The agent resolved `#2` against another numbered list in context, such as a todo file or checklist, rather than the configured tracker. `implement` now fetches a passed reference from the issue tracker and states its title before starting, and asks when the reference is ambiguous. Check that title matches the ticket you meant; passing the issue URL or `owner/repo#2` removes the ambiguity entirely.
+The agent resolved `#2` against another numbered list in context, such as a todo file or checklist, rather than the configured tracker. `implement` now fetches a passed reference (and its spec, if any) from the issue tracker, states the ticket's title before starting, and asks when the reference is ambiguous. Check that title matches the ticket you meant; passing the issue URL or `owner/repo#2` removes the ambiguity entirely.
## It's working if