Repository navigation
Description
Problem
Many projects adopt the skill after their code exists. Their features are real but undocumented, or are documented in other formats, such as Spec Kit, OpenSpec, design and plan files from other agent workflows, or old wikis. The skill has no path from "a codebase" to "a set of features in the right stages".
Proposal
A retrofit reference with four steps.
- Maintainer braindump. The agent interviews the maintainer the way the Vision Grill does: what the product does, for whom, which parts matter and which are dead.
- Feature lenses. A feature lens is one discovery strategy, run by its own subagent. Each lens reports candidate features with evidence:
- domain model;
- screens and flows;
- API and CLI surface;
- jobs and integrations;
- roles and feature flags;
- tests;
- prior specs (Spec Kit, OpenSpec, design and plan files);
- history (pull requests, conventional-commit scopes and
git blame).
- Feature inventory. The agent reconciles the lens reports into one inventory: candidate features, their evidence and the code they span. The maintainer approves it. Approval sets scope for the retrofit only. It ratifies nothing, and no feature reaches
features/without a promotion PR. The inventory is working material and is deleted once the features are seeded. - Routing. Each approved feature goes to one of three places:
- product-development: modernization guide for specs written with 0.1.0 #46 (the modernization guide), when it has 0.1.0 specs;
shaping/, when its behavior needs to be written up and ratified;ideas/, when it is only a direction.
Specs in other formats count as evidence for shaping. Code alone never admits a spec to features/. Market and positioning details found along the way go to research notes. Retiring any existing document needs maintainer approval, under the same rules as the modernization guide.
Large codebases
After the braindump, the guide recommends Matt Pocock's wayfinder skill when at least two of these hold:
- more than 5 apps or packages;
- more than about 1,000 source files;
- more than one surface, such as web and mobile, or an API and a CLI;
- two or more sources of prior specs;
- more than about 10 candidate features.
wayfinder has disable-model-invocation, so the agent explains why it is recommending it and the user invokes it. This repository doesn't ship it. The guide links its public source, and the four steps work without it.
Acceptance criteria
- A retrofit reference documents the four steps, the eight lenses and the
wayfinderrule with a link to its source, andSKILL.mdlinks it. - The guide works end to end when
wayfinderis not installed. - Each lens has a short subagent prompt template that returns candidate features with evidence.
- The guide states that the feature inventory is deleted after seeding, and that code alone never admits a spec.
- A synthetic example inventory shows one feature routed to each destination.
Non-goals
- Converting 0.1.0 specs. That is product-development: modernization guide for specs written with 0.1.0 #46 (the modernization guide).
- Tagging code with
@feature. Tags are optional evidence here, per product-development: link code to features with@featuretags #38 (feature tags).
Activity
prometheas commentedon Nov 30, 2026
Open decision for the maintainer, from PR #59 (the retrofit guide for codebases without specs)
How does a retrofit change reach Shipped and then Canonized when its behavior was already live before it was ratified?
The settled design covers the handoff: the promotion PR's merge triggers its draft, and it's sent once no implementation-level question is open. What's not settled is the ship signal for behavior that was live before ratification:
The current Release Check looks forward to a release that hasn't happened yet, and canonization (#21) expects a recorded ship signal for every ratified change.
Interim behavior in PR #59: for this case the guide stops at the promotion PR and records no ship signal.
Not blocking: the rest of the guide is delivered.
test(product-development): cover open questions and provenance links …
fix(product-development): close review gaps in the retrofit guide
docs(product-development): keep the handoff for already-live retrofit…
feat(product-development): add the retrofit guide for codebases witho…
docs(product-development): prepare 0.1.0 foundation documents in a mi…
fix(product-development): resolve second release review findings (#63)