summaryrefslogtreecommitdiff
path: root/docs/engineering
AgeCommit message (Collapse)Author
2026-08-05docs: write the pages in neutral third persondocs-neutral-third-personMatt Pocock
The docs pages carried 36 attributed opinions — "Matt's own answer", "his position is", quoted replies from the author. A page is a technical document about a skill, so the substance of each finding stays and the attribution goes: "the fix is a direct instruction: …", "the split comes down to session count". Quotes from *users* stay, anonymous as they already were — those are evidence about the skill in the wild rather than the author's view. Records the rule in .agents/writing-docs.md so new pages don't reintroduce it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05Merge remote-tracking branch 'origin/main' into dictionary-linksMatt Pocock
# Conflicts: # docs/engineering/wizard.md
2026-08-05docs: link first use of AI Coding Dictionary termsMatt Pocock
Every docs page now links the first occurrence of each AI Coding Dictionary term to its entry on aihero.dev. 202 links across 25 pages, one link per term per page. Prose is unchanged — only links added. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: drop the human-in-the-loop lecture from the wizard pagewizard-docs-plainerMatt Pocock
The intro spent a paragraph arguing when not to use the skill. Replace it with what the skill actually is: the agent writes the script, you run it. Cut the agent-browser question and the closing guard for the same reason, and plain up the densest sentences. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05skill: make wizard model-invokedwizard-model-invokedMatt Pocock
The agent can now reach for wizard the moment it hits a step only a human can perform, instead of writing numbered instructions into the chat. Typing /wizard is unaffected — model-invocation only adds the agent's reach. The description is rewritten as the pointer that decides when it fires: a short statement of the artifact, four trigger branches, and an explicit non-trigger for steps the agent can perform itself. Behaviour is unchanged — same name, same template.sh, same four process steps, same stage-list confirmation, which now doubles as the proposal when the agent fires it mid-build. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: rewrite the ask-matt page, and add the changesetdocs-rewrite-to-standardMatt Pocock
ask-matt is written last, against the final state of the other 21 pages. It stays a node rather than redrawing the graph the skill itself holds. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05fix: correct stale claims in the router and the READMEsMatt Pocock
Coherence pass over the rewritten docs set. The recurring defect was a refactor whose removals landed and whose replacements did not. - tdd: restore the pointer to /codebase-design that the v1.0 changelog and ask-matt both claim exists. The inline deep-module notes were deleted then; nothing replaced them. - ask-matt: /grilling and /resolving-merge-conflicts were missing from the router entirely. Split grill-me from grill-with-docs on the working directory rather than on whether the subject is code. - READMEs: wayfinder maps decision tickets, not investigation tickets; the diagnosing-bugs loop starts by building a loop that goes red; improve-codebase-architecture is a survey, not a rescue; grilling resolves a design tree and is the primitive behind five skills. - Drop the /implement reliability claim from the implement and tdd pages. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: rewrite the remaining 18 pages to the four-section standardMatt Pocock
One agent per page, each rewriting from its SKILL.md up and running its own evidence hunt across the wiki, the issue tracker and the unreleased changesets. Question counts track the evidence: wayfinder earns ten, resolving-merge-conflicts earns three. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: act on pilot feedback — branch tables, wayfinder, deader proseMatt Pocock
Encode a new rule in writing-docs.md: a multi-way branch goes in a table or a list, never a paragraph the reader has to read in full. - to-spec: trigger becomes a table; stop implying the tracker must be remote, since local markdown is supported out of the box. - prototype: wayfinder is the largest consumer (prototype is one of its four decision-ticket types); the ask-matt handoff round trip is demoted to one line. - handoff: trigger becomes a table; dead prose throughout. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: rewrite the prototype page around what people get wrongMatt Pocock
The old page still said the prototype gets deleted and the logic branch builds a terminal app; both changed. Leads with throwaway-as-a-writing- constraint, carries the primary-source branch rule, and answers the two behaviour changes plus the recommend-by-name failure (#384).
2026-08-05docs: rewrite the to-spec page around what people get wrongMatt Pocock
Leads with the defining constraint — it synthesises, it does not interview — and carries nine observed questions: the to-prd rename, the ready-for-agent rough edge (#606), why not skip the spec, what to feed it after a wayfinder map, and the refactor-shaped-work limitation.
2026-08-05docs: remove the source link from every skills pagedocs-remove-source-linksMatt Pocock
Every docs page opened with a [Source](github.com/...) link, and .agents/writing-docs.md told agents to add one to each new page. Remove the line from all 25 pages, rewrite the one inline use in ask-matt.md, and drop the rule from the page template, the fixed frame list, and the "Done when" list so the links do not come back. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05docs: drop the Quickstart block from all 25 pagesdocs-drop-quickstart-v2Matt Pocock
aihero.dev renders an install widget above every skill page. Each page then repeated the same commands in its body, and the two copies had drifted: the widget uses the current `npx skills@latest ...` wording while the hand-written blocks mostly carried the older bare `npx skills ...`. Pages showed the right command and a stale one together. Delete the block from all 25 pages and record the rule in .agents/writing-docs.md: install wording belongs to the site, not the page. The template no longer carries a Quickstart, and .agents/install-block.md notes that docs pages are not one of its consumers.
2026-08-05feat: give ask-matt the phase boundary decision treeworktree-phase-boundariesMatt Pocock
Replaces the two-bullet `Crossing sessions` section with all five options at a phase boundary — continue, /clear, /handoff, subagent, /compact — and discloses the ordered tree into a new PHASE-BOUNDARIES.md. Corrections that come with it: - /handoff was oversold as the general bridge between context windows. It is narrow: a new harness, a new directory, a colleague, or a side task forked mid-phase. What it buys is portability. - /compact is the default at the bottom of the tree, not the first reach. - Continue and subagent were missing branches entirely. Context hygiene's escape hatch now says /compact rather than /handoff, and the smart zone figure moves from ~120k to ~150k tokens. Resolves the T5 grilling ticket on the v1.2 release map. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05feat: graduate wizard into the engineering bucketgraduate-wizardMatt Pocock
Move `wizard` out of in-progress into `engineering/` and wire it up as a promoted skill: plugin.json entry, top-level + Engineering READMEs under User-invoked, a docs page at docs/engineering/wizard.md, and a Standalone route in ask-matt for the steps only a human can take. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-03docs: finish the to-prd → to-spec rename in shipped textchore/purge-prd-referencesMatt Pocock
Drop the "you may know this document as a PRD" hedge from to-spec and the local tracker template, switch code-review to issue/spec, bring the GitHub and GitLab tracker templates in line with the local one, and fix research.md's dead skills-to-prd link. CHANGELOG and existing changesets keep the old term where they document the rename itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29docs: describe grilling as round-by-round everywhereMatt Pocock
The round-by-round rework left the wrappers and callers still promising a one-question-at-a-time interview. Sync grill-me, grill-with-docs and triage (docs + skill step), plus grilling's Codex short_description and the loop-me draft. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-17feat(prototype): logic branch produces a shareable HTML demoMatt Pocock
Reshape the logic branch from a terminal app into a single self-contained HTML file a non-developer can drive: a labelled state panel, free-play buttons, and tabbed guided walkthroughs (scenarios) with the ordered buttons to press underneath each. The portable pure-logic module still lifts into the real code; the HTML shell is the throwaway primary source. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13Merge pull request #533 from mattpocock/yagni-scope-improve-architectureMatt Pocock
improve-codebase-architecture: scope the scan to where change is landing (YAGNI)
2026-07-13Merge pull request #538 from mattpocock/wayfinder/research-subagentsMatt Pocock
wayfinder: burn research tickets down with subagents
2026-07-13Rename "design tree" → "decision tree" across skills and docsgrill-me-general-useMatt Pocock
Align the remaining callers and docs pages with grilling's body, which now says "decision tree". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13feat(wayfinder): burn research tickets down with subagentswayfinder/research-subagentsMatt Pocock
Research stays a real ticket type — it's a shared blocker downstream decisions hang on, which the frontier's blocking edges exist to render. What changes is resolution: because research is AFK, charting doesn't stop and read. After creating the tickets, the charting session fires a /research subagent for each research ticket to burn it down in parallel, capturing findings on a throwaway research/<name> branch with a context pointer. Charting's "fire the research subagents" step owns how research is handled; the Ticket Types bullet just names the resolver, and the one-ticket-per-session rule carries the research exception. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13improve-codebase-architecture: scope the scan to where change is landing (YAGNI)yagni-scope-improve-architectureMatt Pocock
Before scanning, decide where to look. If the user named a direction, take it; otherwise read the last ~20 commit messages to bias exploration toward actively-developed paths. A deepening opportunity in code nobody touches is a refactor you'll never cash in — leverage only pays off where you keep editing. Syncs the docs page and adds a changeset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13Name the wayfinder unit a "decision ticket"wayfinder-decision-ticketsMatt Pocock
People kept reading a wayfinder ticket as an ordinary implementation ticket — a slice of a build to execute — when wayfinder uses them as decision tickets: questions whose resolution is a decision. Introduce "decision ticket" as a light leading word: the skill description and its opening line name it (and say what makes it one), and the ask-matt / engineering README blurbs and the docs page match, while "ticket" stays the everyday word once the term is established. Record "Decision ticket" in CONTEXT.md so the "avoid: ticket" domain rule no longer contradicts wayfinder's deliberate use of the word. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10Merge pull request #488 from mattpocock/prototype-primary-secondary-sourceMatt Pocock
prototype: keep the prototype as a primary source
2026-07-10fix(to-tickets): remove stray </content> tag from skill and docsfix/to-tickets-stray-contentMatt Pocock
The final line of to-tickets/SKILL.md carried a stray `</content>` closing tag with no matching opening tag — a packaging/serialization artifact from the planning-skills refactor (386d4ff), not valid skill content. The same stray tag had leaked into the generated landing docs for to-tickets and to-spec. Strip it from all three. Fixes #495 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10prototype: capture the prototype, don't dispose of itMatt Pocock
Reframe the artifact handling as capturing the prototype somewhere out of main — a throwaway branch — with a context pointer to it left on the implementation issue, instead of "disposing" of it. The main branch still keeps only the validated decision. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10refactor: friendlier setup flow + one-file-per-ticket local trackersetup-skill-friendlierMatt Pocock
Rework /setup-matt-pocock-skills to ask fewer, friendlier questions and align the local-markdown issue tracker with the current spec. - Triage labels: asked only when the `triage` skill is installed, and then as a single recommended-yes question ("keep the default triage labels?") instead of an override interrogation. When triage isn't installed, the section and docs/agents/triage-labels.md are skipped. - External PRs as a request surface: no longer a setup question. The GitHub/GitLab templates still carry the flag, defaulted off; flip it in docs/agents/issue-tracker.md later. - Domain docs: default to single-context without asking; multi-context is only offered when the repo shows monorepo signals. - Local-markdown tickets: one file per ticket under .scratch/<feature>/issues/<NN>-<slug>.md, never a single combined tickets.md. /to-tickets, ask-matt, and the local template now agree, and the spec file is spec.md (not PRD.md) to match /to-spec. - Re-sync docs pages for setup-matt-pocock-skills and to-tickets; changeset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09prototype: simplify to single primary-source idea; dedup branch filesMatt Pocock
Drop the secondary-source label — the actionable distinction is just that the prototype is a primary source to retain on a throwaway branch. Collapse the re-descriptions in LOGIC/UI so they point to SKILL for the disposal concept and add only branch-specific nuance. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09prototype: reframe disposal around primary vs secondary sourceMatt Pocock
Retain the prototype as a primary source on a throwaway branch linked from the relevant issue, rather than deleting it, while the distilled answer remains the secondary source. Keeps prototype scaffolding out of the main branch without destroying the runnable evidence. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08docs: settle wayfinder as a situational on-ramp, not the main entry flowMatt Pocock
The grill-led idea→ship chain stays the documented front door; wayfinder is a situational on-ramp (greenfield / huge feature build), reserving "new default spine" for a potential v2. - ask-matt router: name wayfinder's concrete triggers - grill-me / grill-with-docs: signpost up to wayfinder as the too-big-for-one-session on-ramp Resolves the main-flow decision on the Skills v1.1 wayfinder map (#120). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08Graduate wayfinder to engineering; unify changesets for v1.1Matt Pocock
Graduate `wayfinder` out of in-progress into the engineering bucket (plugin.json, top-level + Engineering READMEs under User-invoked, docs page, ask-matt on-ramp, disable-model-invocation). Consolidate the 22 pending changesets into 10 coherent v1.1 entries: one `wayfinder` (rename from decision-mapping + full reframe + graduation), one `grilling`, one `code-review`, one `tdd`; fold the superseded to-issues changeset into unify-to-tickets and drop its stray `</content>` tag. Highest bump is minor → 1.0.1 becomes 1.1.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08refactor: unify planning skills into /to-spec + /to-ticketsMatt Pocock
Executes the `unify-to-tickets` decision (personal-wiki #23), reworking this PR from "add /to-plan" into the full planning-skills unification. - Rename /to-prd → /to-spec. "spec" is now the single through-line term (the skill still opens with "you may know this document as a PRD" for discoverability). - Merge /to-plan + /to-issues into one /to-tickets skill; delete /to-issues. /to-tickets emits a set of tickets, each declaring its blocking edges — one medium-agnostic artifact that reads as a sequential plan (local `tickets.md`, edges as text) or a parallelizable DAG (real tracker, native blocking links). The edges live in the ticket either way; the medium only decides whether anything acts on them in parallel. - ask-matt now routes idea → /to-spec → /to-tickets → /implement. - Sweep every cross-reference (docs pages, chain diagrams, CONTEXT.md, ADRs, .agents, setup templates) to the new names and vocabulary. - Rewrite the changeset to describe the unification. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08feat(to-plan): add sequential plan skillMatt Pocock
Add a user-invoked `to-plan` skill — the sequential, HITL sibling of `to-issues`. Both slice work into tracer-bullet vertical slices, but `to-plan` produces one ordered sequence you drive by hand, one phase per fresh context, rather than parallel independently-grabbable issues. It publishes to the tracker `/setup-matt-pocock-skills` configured, shaped to it: a single sequential `plan.md` for a local tracker, or a parent issue with ordered sub-issues (native sub-issues where supported) for a real one. Registers the skill everywhere CLAUDE.md requires (plugin.json, top-level and bucket READMEs, docs page), updates the `ask-matt` router's main-flow fork to offer both to-issues and to-plan, and adds a changeset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07to-issues: split into Process + Reference tiersMatt Pocock
Revert the description change and keep the wide-refactor material in one place. Reshape the skill into a lean Process (steps) and a Reference section holding the vertical-slice rules, the wide-refactor expand–contract rules, and the issue body template as co-located blocks the steps point to. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-07to-issues: slice wide refactors by expand–contractMatt Pocock
Add a wide-refactor exception to the tracer-bullet rule: a single mechanical change whose blast radius fans across the codebase can't land as one green vertical slice. Seed "wide refactor" / "blast radius" across the description, the explore step (detection), and the drafting step (strategy), and give the expand–contract sequence in prose. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01feat: add the research skillresearch-skillMatt Pocock
A small, model-invoked skill that spins up a background agent to investigate a question against high-trust primary sources, then leaves a single cited Markdown file wherever the repo keeps such notes. Wires it into the plugin set, both READMEs (Model-invoked), a docs page, and the ask-matt router, per the repo's promoted-skill conventions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01ask-matt: map the full skill set, add router maintenance ruleMatt Pocock
Ask Matt was missing five skills that now exist and are user-reachable: tdd (the red-green engine implement drives), diagnosing-bugs (there was no route for "something's broken"), domain-modeling and codebase-design (the two vocabulary references), and grilling (the shared primitive). - SKILL.md: add a "Something's broken" on-ramp for diagnosing-bugs, a "Vocabulary underneath" section for domain-modeling/codebase-design, weave tdd into the main flow, flesh out prototype, broaden the description from "user-invoked skills" to "the skills". - docs/engineering/ask-matt.md: re-sync the framing to match. - CLAUDE.md: add a maintenance rule so any future skill change triggers an Ask Matt re-check, beside the existing docs-page re-sync rule. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01docs: thread code-review through the full build-chain flowrename/review-to-code-reviewMatt Pocock
The build chain now ends at code-review. Update every flow doc that draws the chain so it reads end-to-end: grill-with-docs → to-prd → to-issues → implement → code-review - grill-with-docs / to-prd / to-issues: extend the diagram; point the downstream neighbour at implement (which drives tdd internally). - tdd: reframe from "final step" to the engine inside implement's step. - implement: extend the diagram to include the review pass. - ask-matt: narrate the flow ending in review (docs) and note that /implement closes out with /code-review (SKILL.md). - writing-docs guide: refresh the example chain. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01Rename review skill to code-review and promote to engineeringMatt Pocock
Rename the in-progress `review` skill to `code-review` and move it from `skills/in-progress/` into the promoted `skills/engineering/` bucket. - Add it to `.claude-plugin/plugin.json` and the Model-invoked sections of the top-level and Engineering READMEs; drop it from the in-progress README. - Add a docs page at `docs/engineering/code-review.md`. - Point `/implement` and its docs at `/code-review`. - Update the smell-baseline changeset reference; add a changeset for the move. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01docs: end the build chain at implement, not tdddocs/chain-ends-at-implementMatt Pocock
The canonical build chain is grill-with-docs → to-prd → to-issues → implement, with tdd as the red-green loop implement drives internally rather than a chain step of its own. - Update the chain diagram on grill-with-docs, to-prd, to-issues, and tdd. - Reframe tdd's "Where it fits": it's the engine inside the implement step, still independently reachable, no longer the terminal. - Point to-prd and to-issues at implement as the thing that builds the tickets, giving implement the inbound links it previously lacked. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01docs: drop the formulaic "load-bearing constraint:" labelMatt Pocock
The repeated "The load-bearing constraint:" opener on every page read as an agent tell. Strip the label across all skill pages and let the constraint stand as a plain declarative sentence; update the writing-docs template so it isn't regenerated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01docs: name the reference skills other skills lean onMatt Pocock
codebase-design, domain-modeling and grilling are pulled out as standalone, model-invoked skills precisely so other skills can point at them and so you can reach them as a reference independently of the steps any wrapper mandates. Add a "Pulled out on purpose" section to each that names who leans on it and why it stands alone, and slim the overlapping "Where it fits" prose to avoid duplication. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01docs: add human-facing pages for the remaining 22 promoted skillsMatt Pocock
Adds a docs page for every promoted skill that lacked one, following .agents/writing-docs.md and using docs/engineering/to-prd.md as the worked exemplar. Covers all of engineering/ (bar to-prd, already done), productivity/, and misc/. Each page states its load-bearing constraint, its invocation mode and trigger boundary, surfaces the skill's leading word, and routes back to ask-matt so the set forms a connected router with no dead ends. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01docs: add "It's working if" convention; flesh out PRD sectiondocs/skill-pages-templateMatt Pocock
- Replace the inline "watch for the leading words" line with an optional `## It's working if` section — a short list of observable signals the skill is doing its job. Keeps observability from being hammered onto leading words specifically. - Build out to-prd's "What the PRD includes" with proper casing and a one-line explainer per section. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01docs: rework the skill docs-page templateMatt Pocock
Reframe docs pages around cognitive-load relief: most skills are user-invoked, so the human is the index that must remember when to reach for each one. Each page's job is to make one skill memorable and situate it in the system. Template changes (.agents/writing-docs.md): - Quickstart block: install + `npx skills update`, install-first - New `## When to reach for it` (invocation mode + trigger boundary) - New optional `## Prerequisites` (workspace/state, prior setup, tooling) - Free-form middle with one firm rule: surface the leading word (also an observability signal in the agent's output) - `## Where it fits`: role-based, absorbs "Pairs well with", links ask-matt - No H1; every cross-link absolute Nest docs under bucket folders (docs/<bucket>/<name>.md); the published URL stays skills-<name> regardless. Re-sync to-prd as the worked exemplar. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>