wayfinder
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Validate and normalize project-plan.md and build-plan.md, then generate the durable project-overview.md used by agents. Use for /overview, plan cleanup, generating the first overview, or refreshing context after either plan changes.
Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.
First action: Before project inspection, preflight, or any other tool call,
publish running to blueprint/.state/run.json when blueprint/.state/
exists. From the project root, run the first helper that exists,
node .agents/skills/blueprint-doctor/scripts/run-state.mjs or
node .claude/skills/blueprint-doctor/scripts/run-state.mjs, with start --command <skill> --summary "<truthful summary>" --boundary <read-only|reviewed|local-only>. Use update at milestones, with --status blocked --resume <command> for a blocker, and finish --status ready|completed
at the end; --help lists every option and blueprint/workflow.md has the full
activity contract. A missing or failing helper is a warning, not a blocker.
Where this sits in the workflow:
project-plan.md + build-plan.md -> [this skill] -> project-overview.md -> /feature -> build
(what & why, (high-level (compact product (one spec
written by you) feature list, context loaded at a time)
written by you) on demand)
You provide two files: blueprint/project-plan.md (what & why) and
blueprint/build-plan.md (the ordered feature list), drafted directly, through
any AI conversation, or with the optional /discovery skill. What matters is
that you own their content. /discovery is never required. Everything else in
the workflow is generated from those two. This skill is the first generation
step: it distills both plans into blueprint/context/project-overview.md, the
compact doc workflow skills load on demand when they need durable product
context.
The two planning docs, already written:
blueprint/project-plan.md - problem, users, features, data, tech,
monetization, UI/UX, deployment, and optional usage modelblueprint/build-plan.md - the ordered, one-line-per-feature list; bullets,
numbered lists, and clearly separated feature lines are acceptedIf project-plan.md is missing or still a placeholder, ask the user to supply
their project decisions. This skill distills plans; it does not invent them.
For a missing or placeholder-only build plan, follow Step 2's reviewed
reconciliation instead of generating an overview without a real feature list.
Placeholder text means the blueprint template's own scaffolding, not real
content: unchanged starter instructions, legacy checklist items like Feature one / Feature two, a trailing - description, TODO, TBD, or the template's
example bullets left in place. Starter instructions are not features.
Watch for the masking trap in particular: build-plan.md can still be the stub
while project-plan.md §3 already lists the real features. When that happens the
overview can be synthesized from project-plan.md alone and come out looking
complete, hiding the empty checklist that /feature actually reads. A rich
project-plan.md must not paper over a stub build-plan.md - reconcile the
checklist first (Step 2) rather than generating over the gap.
Read project-plan.md and build-plan.md in full. Note where they disagree - a
feature in the build plan the project plan never mentions, a data point no
feature uses, a stack choice that contradicts a standard. You will surface
these, not paper over them.
Before writing project-overview.md, check that the plans are shaped well enough
to drive the build loop.
Format clear feature lists automatically. Invoking /overview authorizes
syntax-only formatting without an extra approval pause. Convert plain bullets,
ordinary numbered lists, or clearly separated feature lines into tracked
numbered checkboxes, such as - [ ] 1. Save an article. A valid tracked checklist
stays byte-for-byte unchanged.
Preserve wording, order, feature count, notes, headings, nesting, existing IDs,
and completion markers, including [X]. Add only missing tracking syntax:
Ask for clarification before editing when structure, identities, scope, or build order are unclear, including duplicate IDs or ambiguous feature boundaries. Adding, removing, splitting, combining, reordering, or changing feature meaning requires a user decision; none is syntax-only formatting. Flag vague items, oversized bundles, pre-build setup chores, and disagreements between the two plans instead of silently rewriting them. Minor gaps that do not affect scope or build order can remain in the final report.
Missing or stub build plan. If build-plan.md is missing, empty, or only
starter guidance/placeholders while project-plan.md lists real features,
propose a checklist derived from those features and wait for approval before
writing it. This is reviewed reconciliation, not automatic formatting. If
neither plan supplies real features, ask the user for their feature list; never
invent one. Do not generate the overview while the build plan remains missing
or a stub.
Save the formatted checklist or approved reconciliation in build-plan.md
before generating the overview. Briefly report any formatting performed.
Formatting authority does not change Git or other approval gates.
Write blueprint/context/project-overview.md (create blueprint/context/ if needed), following
reference/project-overview-template.md. The overview is a consolidation, not a
copy:
After the title, write a plan fingerprint in this exact form:
<!-- blueprint:source-hash <sha256> -->
Read the final saved plan bytes after any formatting or approved reconciliation.
Before hashing, normalize only build-plan completion markers by replacing each
- [x] or - [X] marker with - [ ], while preserving indentation and every
other byte. Compute <sha256> from the exact UTF-8 bytes of project-plan.md,
one zero byte, then the normalized UTF-8 bytes of build-plan.md. This lets
/blueprint-status detect real plan changes after cloning, copying, or updating without
treating completed features as overview drift. Replace the previous marker every
time this skill regenerates the overview.
> TODO.> TODO
rather than inventing an answer.blueprint/context/project-overview.md, the syntax-only build-plan formatting
above, and any separately approved plan changes only.
Never create additional generated context files such as data-model.md,
architecture.md, or open-questions.md unless the user explicitly requests
a separately scoped artifact.Report what you wrote and list any contradictions or gaps you found between the two plans, so the user can fix the plans and re-run. Then apply the initial planning baseline handoff below before giving the next-step guidance.
In the next-step guidance, keep /feature as the main path. If the UI direction
still feels unsettled, also mention that /prototype is available before
/feature: it writes throwaway static HTML/CSS mockups to prototypes/ and does
not modify the main app code.
During the initial pre-feature overview phase, offer to commit the approved Blueprint setup and plans before Feature 1 starts. This keeps installation, onboarding, planning, and the generated overview out of the first feature commit. Never create this commit silently.
Treat this as the initial pre-feature state only when all of these are true:
HEAD commitblueprint/context/project-overview.md in HEAD does not
already contain a blueprint:source-hash markerblueprint/context/current-feature.md is still the canonical empty stubblueprint/history/features/ and fixes/ contain no archived work beyond
their shipped README.md placeholdersblueprint/build-plan.md contains no checked feature itemsIf there is no HEAD yet, stop and send the user back to /onboard, which owns
the initial scaffold commit recovery. Overview never creates a root commit. If a
dedicated setup branch did not start at the current default tip, stop with that
exact mismatch. These are recoverable initial handoffs, not permission to offer
another baseline after one is committed.
Detect local-only mode with Git, not memory. Use git check-ignore on the
present workflow paths. If .agents/, .claude/, blueprint/, or CLAUDE.md
are ignored as part of the onboarding local-only choice, skip the offer and
continue to the normal /feature guidance. AGENTS.md remaining public does not
make a local-only setup eligible.
Before asking, record the resolved default branch and its exact tip:
git status, the staged diff, the unstaged diff, and untracked paths.AGENTS.md,
CLAUDE.md, .agents/, .claude/, and blueprint/. Include .gitignore
only when every changed hunk is clearly an onboarding or Blueprint ignore
entry.blueprint/.state/manifest.json and
blueprint/.state/.gitignore when present. Exclude transient state such as
run.json, backups, and staging, plus secrets, logs, caches, dependencies,
build output, and application source.Finalize the Blueprint baseline locally? (Recommended)
State that accepting creates one local commit. When running on a dedicated
setup branch, it also fast-forwards the unchanged default branch to that
commit, returns to the default branch, and deletes the setup branch. It never
pushes.If the user accepts, stage only the reviewed candidate, show the staged paths and diff summary, verify no other path is staged, and commit with this exact message:
chore: establish Blueprint project baseline
For a dedicated setup branch, verify before committing that the default tip is
still the one shown in the prompt. After the commit, require a clean working
tree, switch to the default branch, run git merge --ff-only <setup-branch>, and
delete the setup branch locally. The single approval above covers only these
named local actions. If the default moved or any check fails, stop without
merging or deleting. Then confirm the final branch and working tree and recommend
/feature.
If the user declines, leave the repository untouched and explain what remains.
Do not offer this baseline on later overview reruns once HEAD already contains
a generated overview or feature work has begun.
project-overview.md as a build artifact of
the two plans. When the plans change, re-run this skill rather than hand-editing
the overview./discovery or treat directly
written plans as lower quality because the skill was not used./feature reads build-plan.md, not the overview.Re-run whenever project-plan.md or build-plan.md changes materially - a new
feature, a changed data model, a different stack. The overview is downstream of
the plans and should be regenerated, not patched.
Format the output to match the project's conventions in
blueprint/context/ai-interaction.md: concise, scannable markdown, with lists for
enumerations and tables for matrices rather than dense paragraphs.
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star