/ab-method:change-mapfrom ab-method
Draws a planned vs. actual change map for a task, showing which modules were expected to change and which actually changed, plus the drift between them. Writes docs/tasks/<task>/change-map.md.
Ships in ab-method. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The artifact that answers "where in the codebase does this task live?" — asked twice, on purpose:
Where the other post-implementation skills judge the change — ../review-implementation/SKILL.md asks "is this good code?", ../sync-architecture/SKILL.md asks "do the docs know about it?" — this one only describes its shape. It never reviews code, never edits code, never edits the architecture docs.
Reduction is the point. A task that touched 40 files gets 6 rows; the cap is 10. A map that reads as an inventory of the diff has failed — the tracker's mission summaries already list the files. The map exists to be understood in seconds, months later, by someone who will not read the diff.
ALWAYS check .ab-method/structure/index.yaml FIRST for where tasks and the architecture/domain docs
live — paths are user-configurable. The rendering rules, the line types, and a full worked file live in
DIAGRAM-FORMAT.md; read it before drawing either pass.
Look for it under the project root (the current working directory) first — a project's own copy is how it
customises its paths, so it always wins. Only if the project has none (AB Method installed as a plugin rather than
with npx ab-method), read the bundled default: ../../../.ab-method/structure/index.yaml relative to this
SKILL.md. Either way, every path the index names is relative to the project root, never to the folder the
bundled file lives in.
Not "a directory". The map partitions the codebase the way this project partitions it, in this order:
CONTEXT.md / CONTEXT-MAP.md — the bounded contexts, named in the project's own ubiquitous
language. Best source by far: the map then speaks the domain, and a row nobody predicted reads as a
context boundary being crossed, not as "another folder changed".docs/architecture/ — tech-stack.md entry points, and each layer's index.md for its pattern
topics (open a topic file only when a mission touches it).A module is a module in the ../codebase-design/SKILL.md sense — an interface with an implementation hidden behind it — and rows are named the way the docs already name it. Never invent a taxonomy the project doesn't use; a map in private vocabulary is unreadable to everyone but the session that drew it.
When: /create-task § 8 (after critique-plan, before the user validates the plan) and
/extend-task (appended for the new missions). It is drawn from the plan, never from code you wrote.
Inputs: the drafted missions, the grill's constraints and existing-code anchors, the architecture +
domain docs, and enough of a read of the named modules to tell [NEW] from [extended].
M2 · M4).+ lines list only interfaces the plan actually commits to — an endpoint the mission names, a
function the grill agreed on, a type the tracker records. If the plan names none, omit the line. A
predicted symbol nobody promised is the single thing that makes the later drift meaningless: it turns a
prediction into a guess, and drift against a guess measures nothing.└ will use, ▲ will be called by) only where a mission genuinely crosses them.→ line — one sentence on what this module will do that it doesn't today — is mandatory. A row
with an unwritten → is not publishable.If drawing the map forces you to invent a module, the plan is wrong — not the map. This pass is a
second read on the missions: a module you can't attribute to a mission, or a mission whose row you can't
place anywhere, is a planning gap critique-plan didn't catch. Say so out loud and fix the missions
before the user validates them. That is most of this pass's value; the picture is the by-product.
The planned map is shown to the user in /create-task § 9 alongside the mission list — they are
validating the blast radius, not just the sentences.
When: after review-implementation and sync-architecture have run, before the task's status is set
to Completed. Not earlier: the reviewers apply safe fixes and commit in-place doc edits, so a map
drawn before them describes a diff that no longer exists.
Derive it from the task's commit range, never the working tree:
git diff --name-status -M <base>..<head> # what changed, and how
git diff --numstat -M <base>..<head> # how much, for the verdicts
<base>..<head> is the task's own range — the parent of its first mission commit through the last commit
the task made (including the review and doc-sync commits). If the working tree is dirty, say so and commit
first; a map of uncommitted work is not reproducible.
Verdicts here are derived, not judged (thresholds in DIAGRAM-FORMAT.md). The
+ / − lines are exported symbols that exist at head but not base, or the reverse — re-exports and
export default are skipped, because a barrel forwarding a symbol is not new logic. Count named export
lists (export { a, b }) as exports, and when a module's interface is the object an exported factory
returns (createX() / x(ctx) returning methods), its members are the interface: list those that appeared
or went away (+ scoped(bu).notesFor). A − line is often
the most informative thing on the page: it is where the task removed a concept.
Generated and vendored files (lockfiles, migration snapshots, generated route trees, i18n catalogs, build
output) are excluded from ranking, so a 9,000-line generated file can't push the real change off the
map. They still appear in the also touched: tail.
Write each → line after reading the module — never paraphrased from the symbol names. Names say what
moved; only the sentence says what it now does.
Four findings, in a table (format in DIAGRAM-FORMAT.md):
[touched] → [rewritten],
[extended] → [NEW] siblings). The plan under-read the work.[reduced] where the plan
said [rewritten] or [extended]. Usually fine (logic moved behind a seam shrinks its old home); worth
one clause saying where the logic went.A task that landed where its plan said gets exactly one line — No drift — the change landed where the plan said it would. — and that is the good, common outcome for a well-grilled task. Never manufacture
drift to look thorough.
What drift is actually for. It routes; it never fixes:
| Drift pattern | What it means | Route to |
|---|---|---|
| The same unplanned module keeps appearing across tasks | Changes keep leaking there — a locality problem | The next task's deepening scan (create-task § 3b), or /improve-codebase-architecture for a repo-wide look |
| An unplanned row crosses a bounded context | The boundary in CONTEXT.md may be drawn in the wrong place | /domain-model |
| A predicted-untouched row whose mission claimed it | The mission may not have done what its summary says | Re-read that mission before setting the task Completed |
| Wide drift on almost every task | Missions are being drafted without reading the code | /create-task § 2 — the project-analysis step is being skipped |
change-map.mdWritten next to progress-tracker.md, at docs/tasks/<task>/change-map.md.
## Planned only.## Actual and ## Drift.The actual pass never rewrites ## Planned. The planned map is a record of what you believed before
you knew, and it stays wrong on the page — editing it to match reality destroys the only thing the file is
for.
Interactive (/create-task, /resume-task, /extend-task, standalone): show the map inline. On the
actual pass, walk the drift findings with the user before closing the task.
Autonomous (/start-task, /start-roadmap): write the file, commit it as
docs(<task>): change map (repo convention), and put the drift lines in the run's final report. Never
prompt — an afk user must not discover a wider-than-planned blast radius by accident.
A task created before this skill existed, or one you're mapping standalone, has no ## Planned section.
Draw ## Actual and record Drift: no planned map — nothing to compare.
Never back-fill a planned map from the diff. A prediction reverse-engineered from the answer is a lie, and every drift computation that reads the file afterwards inherits it.
It does not review the change (that's review-implementation), does not update the architecture or domain
docs (that's sync-architecture / /update-architecture), and does not edit code. It only describes
shape. Keep it that way: judgment living in two places drifts, and a map that argues stops being a map.
CONTEXT.md and the architecture docs, never a taxonomy you made up./domain-model, or a re-read of a mission..ab-method/structure/index.yaml for paths; read DIAGRAM-FORMAT.md before drawing.critique-plan (missions may still change) and before the user validates.review-implementation and sync-architecture — their commits are part of the diff it maps.→ is written by you, after reading the module. A map shipped with an unfilled → advertises that nobody read the change.## Actual block plus its also touched: line is exactly what goes at the top of this task's PR body.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
change-map, blast-radius, task-tracking, diff-analysis, ab-method
npx claudepluginhub ayoubben18/ab-method --plugin ab-method36 skills in this plugin
/ab-analyze-backendAnalyze and document a project's backend patterns — API design, data access, service structure. Use when the user wants a backend-only architecture analysis./ab-analyze-frontendAnalyze and document a project's frontend patterns — component structure, state management, conventions. Use when the user wants a frontend-only architecture analysis./ab-analyze-projectAnalyze a project's architecture end to end — extract domain language, map the tech stack, document frontend and backend patterns. Use when onboarding a new codebase or refreshing the architecture baseline.Other plugins' skills for the same job