Map Territory Workflow
Use this skill as the suite entrypoint. The map is the prompt, plan, context,
and artifacts. The territory is the actual codebase, domain, runtime, data,
users, constraints, and reviewer expectations. The job is to keep the map and
territory close enough that agentic work can proceed without hidden drift.
Phase Map
Pre-implementation:
blindspot: find relevant unknown unknowns and cheap probes.
brainstorm-prototype: generate options or disposable prototypes when the
user has taste or criteria they can recognize but not yet describe.
interview-unknowns: ask high-leverage questions that can change the plan.
reference-alignment: extract requirements from examples, source code,
screenshots, docs, or prior work.
implementation-plan-review: write a plan that foregrounds decisions likely
to change.
During implementation:
implementation-notes: log deviations, edge cases, conservative choices, and
evidence while continuing through the work.
After implementation:
pitch-explainer: package the prototype, spec, notes, decisions, and
verification for reviewer buy-in.
change-quiz: explain the change and quiz the user before merge or handoff.
Selection Rules
- If the user is unfamiliar with the codebase/domain or asks what they may be
missing, start with a blindspot pass.
- If the user will know the right answer only after seeing options, use
brainstorm/prototype before durable implementation.
- If one answer can change architecture, schema, API, UX flow, or acceptance
criteria, interview before planning.
- If the user cannot describe the target but can point to an example, analyze
references before planning.
- If the approach seems ready but the cost of rework is high, create an
implementation plan focused on high-change decisions.
- If implementation is underway and the territory invalidates the plan, keep
implementation notes and surface any user-facing or architectural pivot.
- If the work is done but reviewers need confidence, create an explainer.
- If the user wants to understand the change before merging, create a quiz.
Operating Rules
- Do not run every artifact by default. Choose the smallest chain that reduces
the highest-cost unknown.
- Inspect local evidence before asking questions that files, docs, runtime, or
current sources can answer.
- Separate what is known, what is assumed, what is uninspected, and what needs
user judgment.
- Let new evidence change the path. If the territory contradicts the map,
update the map before continuing.
- Carry forward what was learned: blindspots become plan constraints, plan
deviations become implementation notes, and notes become explainers or quiz
material.
Default Output
When asked to choose a workflow, return:
- Recommended path: the smallest artifact chain.
- Why this path: the unknowns it reduces.
- Do now: the immediate artifact or question.
- Defer: artifacts that are useful later but premature now.
1---2name: map-territory-workflow3description: Full development workflow for matching the user's prompt or plan to the real codebase, domain, runtime, and constraints. Use when the user wants a complete unknowns-reduction process across before, during, and after implementation; asks for map vs territory thinking; wants to choose among blindspot pass, brainstorm/prototype, interview, references, implementation plan, implementation notes, pitch/explainer, or quiz; or needs a long-horizon agentic coding process that handles unknowns iteratively.4---56# Map Territory Workflow78Use this skill as the suite entrypoint. The map is the prompt, plan, context,9and artifacts. The territory is the actual codebase, domain, runtime, data,10users, constraints, and reviewer expectations. The job is to keep the map and11territory close enough that agentic work can proceed without hidden drift.1213## Phase Map1415Pre-implementation:16- `blindspot`: find relevant unknown unknowns and cheap probes.17- `brainstorm-prototype`: generate options or disposable prototypes when the18 user has taste or criteria they can recognize but not yet describe.19- `interview-unknowns`: ask high-leverage questions that can change the plan.20- `reference-alignment`: extract requirements from examples, source code,21 screenshots, docs, or prior work.22- `implementation-plan-review`: write a plan that foregrounds decisions likely23 to change.2425During implementation:26- `implementation-notes`: log deviations, edge cases, conservative choices, and27 evidence while continuing through the work.2829After implementation:30- `pitch-explainer`: package the prototype, spec, notes, decisions, and31 verification for reviewer buy-in.32- `change-quiz`: explain the change and quiz the user before merge or handoff.3334## Selection Rules3536- If the user is unfamiliar with the codebase/domain or asks what they may be37 missing, start with a blindspot pass.38- If the user will know the right answer only after seeing options, use39 brainstorm/prototype before durable implementation.40- If one answer can change architecture, schema, API, UX flow, or acceptance41 criteria, interview before planning.42- If the user cannot describe the target but can point to an example, analyze43 references before planning.44- If the approach seems ready but the cost of rework is high, create an45 implementation plan focused on high-change decisions.46- If implementation is underway and the territory invalidates the plan, keep47 implementation notes and surface any user-facing or architectural pivot.48- If the work is done but reviewers need confidence, create an explainer.49- If the user wants to understand the change before merging, create a quiz.5051## Operating Rules5253- Do not run every artifact by default. Choose the smallest chain that reduces54 the highest-cost unknown.55- Inspect local evidence before asking questions that files, docs, runtime, or56 current sources can answer.57- Separate what is known, what is assumed, what is uninspected, and what needs58 user judgment.59- Let new evidence change the path. If the territory contradicts the map,60 update the map before continuing.61- Carry forward what was learned: blindspots become plan constraints, plan62 deviations become implementation notes, and notes become explainers or quiz63 material.6465## Default Output6667When asked to choose a workflow, return:68691. Recommended path: the smallest artifact chain.702. Why this path: the unknowns it reduces.713. Do now: the immediate artifact or question.724. Defer: artifacts that are useful later but premature now.