skills/in-progress/decision-mapping/SKILL.md
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
npx skillsauth add mattpocock/skills decision-mappingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is invoked when a loose idea requires more than one agent session to turn into a plan. It creates a stateful decision map in a markdown file, and drives the user through a sequence of tickets to resolve the open questions - which may require either prototyping, research or grilling. The map is domain-agnostic: it plans engineering work, course content, or anything else that fits the same shape.
The decision map is a single compact Markdown file, one per planning effort, git-tracked alongside the project. It is the canonical artifact — the whole map is loaded as context into every session, so it must stay compact.
Assets created during tickets should be linked to from the map, not duplicated within it.
Entries ("tickets"), each its own section keyed by a short dash-case slug that
reads as a mini-title (e.g. relational-db, auth-strategy, cache-layer) —
terse enough to stay token-efficient, and unique within the map.
## relational-db: Relational Or Non-Relational Database?
Blocked by: <slug>, <slug>
Status: open | in-progress | resolved
Type: Research | Prototype | Grilling
### Question
<question-here>
### Answer
<answer-here>
The slug is the canonical id, used in every Blocked by edge and prose
reference; the title after the colon is optional. A ticket
is unblocked when every ticket in its Blocked by list is resolved. A
session claims its ticket by setting Status: in-progress and saving the map
before any work, so concurrent sessions skip it.
Each ticket must be sized to one 100K token agent session.
There are three types of tickets:
Validation isn't a fourth type — it's the thread running through all three.
The map is deliberately incomplete beyond the frontier. Your job is to investigate the frontier, and to resolve tickets in order to push the frontier forward. Push back the fog of war, one node at a time — until the path to the finish line is clear and no tickets remain.
Two branches. Either way, every session ends with a Handoff — never resolve more than one ticket per session.
User invokes with a loose idea.
/grilling and /domain-modeling session to surface the open decisions. Ask one question at a time.User invokes with a path to an existing map. A ticket slug is optional — without one, you pick the next decision, not the user.
open ticket in document order that is unblocked. Claim it: set Status: in-progress and save before any work.## Notes block names. If in doubt, use /grilling and /domain-modeling.Status: resolved.Blocked by edges. If the decisions made invalidate other parts of the map, update or delete those nodes.The user may run unblocked tickets in parallel, so expect other agents to be editing the map in their own sessions.
End every session by clearing the context and opening one or more fresh sessions. Close with a Next steps block the user can copy-paste. Two cases:
Open tickets remain. List the currently-unblocked tickets, then give two copy-paste options: a bare command for one session (you pick the next ticket), and one pinned command per unblocked ticket for running them in parallel. Paste one line per fresh window — opening one, some, or all of them.
Next steps — 3 tickets unblocked:
auth-strategy,cache-layer,rate-limits. Clear the context, then open fresh sessions.One session — resolves the next unblocked ticket:
Invoke /decision-mapping with the map at <path>.Parallel — paste one line per window, up to all 3:
Invoke /decision-mapping with the map at <path>, ticket auth-strategy. Invoke /decision-mapping with the map at <path>, ticket cache-layer. Invoke /decision-mapping with the map at <path>, ticket rate-limits.
No open tickets remain. The fog is pushed back far enough that the path to the finish line is clear — the map is done. (The initial grilling may also surface no fog at all, in which case there was never a map to build.) Recommend implementing directly, or using /to-prd to schedule a multi-session implementation.
An optional block declaring the domain, any skills every session should consult, and freeform standing preferences the planning surfaces.
tools
A relentless interview that asks every frontier question at once, round by round.
tools
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.
testing
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
development
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.