backport-review-fix-into-plan-of-record
Use when a per-task review during subagent-driven development catches and fixes a real bug in code that a plan-of-record authored — edit the plan itself to…
Skill by hjr15
Chalk Labs
Need help deploying backport-review-fix-into-plan-of-record?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hjr15-backport-review-fix-into-plan-of-record
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backport-review-fix-into-plan-of-record
What's inside
- Skill name
backport-review-fix-into-plan-of-record- Description
- Use when a per-task review during subagent-driven development catches and fixes a real bug in code that a plan-of-record authored — edit the plan itself to carry the fix, so a future plan re-run doesn't reinstate the same bug on top of the corrected tree.
- License
- MIT
- Instructions
- 43 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Backport a Review Fix into the Plan-of-Record
## Overview
In subagent-driven development the plan-of-record is executable: a task's implementer prompt reproduces the authored code verbatim. When a per-task review then catches a real bug and you fix it in the working tree, the *plan* still contains the buggy version. Any later re-run of that task — a resumed session, a re-dispatch after a limit reset, a second pass over the same plan — will faithfully re-author the original bug over your corrected tree. The fix is only durable once it lives in the plan, not just in the commit.
## When to Use
- A per-task review (or `verify-subagent-completion`) catches and you fix a genuine bug in code an execution plan authored.
- The plan-of-record still holds executable code / verbatim snippets the implementer replays.
- The plan or its remaining tasks may be re-run, resumed, or handed to another session.
## When NOT to Use
- The plan is purely narrative ("implement auth middleware") with no reproducible code snippet — there's nothing to reinstate.
- One-shot work with no possibility of a re-run of that task.
## Steps
1. **Fix the bug in the working tree first** and confirm it (test passes, behaviour correct) per normal review flow.
2. **Locate the same code in the plan-of-record** — the task step whose implementer prompt authored the buggy line.
3. **Backport the exact fix into the plan** so the plan's snippet now matches the corrected tree. Fix it where the defect was authored, not in a trailing "note" the implementer might ignore.
4. **Re-read both** — confirm the plan snippet and the corrected file agree line-for-line, so a re-run reproduces the fix rather than the bug.
5. **If the fix crosses tasks** (a shared type, a helper signature), update every downstream task in the plan that references it, so cross-task consistency survives a re-run.
## Common Mistakes
| Mistake | Why it burns you |
|---|---|
| Fixing only the working tree | A plan re-run re-authors the original bug on top of your fix |
| Leaving the fix as a prose "note" beside the buggy snippet | The implementer replays the code snippet, not the marginalia |
| Backporting the fix but not its downstream uses | Cross-task drift — the corrected type mismatches later tasks that still reference the old shape |
| Writing "worth a follow-up" / "noting for later" instead of backporting | **The follow-up is now.** Observed 2026-07-28: a review agent named this exact scenario in its own words, then flagged it instead of acting — and the plan still mandated the bug it had just fixed. Recognising the situation is not the same as fixing it. |
| Backporting only the instance you were working on | Sweep every site the fix implies. In the same session one instance was correctly backported and a second, in the same plan, was left inverted. |
## Related
- verify subagent completion — the review gate that surfaces the bug to backport.
- adversarial plan review before execution — catch execution-readiness defects in the plan *before* the first run; this skill closes the loop *after* a run.
- `superpowers:subagent-driven-development` — the outer loop whose plan-of-record this keeps authoritative.
- reverify claimed state against live source — re-check the live tree rather than trusting a prior claim after a re-run.From hjr15/claude-kit, MIT.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 30, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hjr15/claude-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get backport-review-fix-into-plan-of-record running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
backport-review-fix-into-plan-of-record skill. Agent Mart. https://agentmart.dev/skills/hjr15-backport-review-fix-into-plan-of-record (last updated 2026-10-24)