docs/plans/2026-05-31-docs-creator-rule-update.md
Objective:
Update the Plate docs-creator source rule with the recent docs-shape
learnings, regenerate the generated skill copy, and verify agents can discover
the new guidance from the skill they actually read.
Goal plan: docs/plans/2026-05-31-docs-creator-rule-update.md
Template: docs/plans/templates/task.md
Primary template: docs/plans/templates/task.md
Applied packs:
Task source:
docs-creator more comprehensive from recent docs editspnpm install; verify generated skill copy.Completion threshold:
.agents/rules/docs-creator.mdc contains the new guidance, pnpm install
regenerates .agents/skills/docs-creator/SKILL.md, and source/skill both
expose the new sections.node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-05-31-docs-creator-rule-update.md passes.Verification surface:
.agents/rules/docs-creator.mdc..agents/skills/docs-creator/SKILL.md.pnpm install.rg -n "Source Of Truth|Gap Review And Page Topology|Behavior / Runtime Concept|Navigation And Routing|pnpm install" .agents/rules/docs-creator.mdc .agents/skills/docs-creator/SKILL.md.Constraints:
Boundaries:
.agents/rules/docs-creator.mdc..agents/rules/docs-creator.mdc, generated skill output,
and this plan.Output budget strategy:
max_output_tokens.Blocked condition:
pnpm install fails, generated skill
does not include the source changes, or agent-native review finds an accepted
actionability issue.Task state:
Current verdict:
Completion rule:
update_goal(status: complete) while any required checklist item
remains unchecked. If an item does not apply, check it and add N/A: <reason>.update_goal(status: complete) until every completion threshold
above is satisfied, final handoff evidence is recorded, and
node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-05-31-docs-creator-rule-update.md passes.Start Gates:
| Gate | Applies | Evidence |
|---|---|---|
| Skill analysis before edits | yes | docs-creator, autogoal, and agent-native-reviewer skill text read. |
| Active goal checked or created | yes | Active goal created for docs-creator rule update. |
| Source of truth read before edits | yes | .agents/rules/docs-creator.mdc read. |
| Tracker comments and attachments read | yes | N/A: no tracker. |
| Video transcript evidence required | yes | N/A: no video. |
docs/solutions checked for non-trivial existing-code work | yes | N/A: agent rule update, not product-code task. |
| TDD decision before behavior change or bug fix | yes | N/A: no runtime behavior change. |
| Branch decision for code-changing task | yes | N/A: no branch requested. |
| Release artifact decision | yes | N/A: no package/API release artifact. |
| Browser tool decision for browser surface | yes | N/A: no browser surface. |
| PR expectation decision | yes | N/A: no PR requested. |
| Tracker sync expectation decision | yes | N/A: no tracker. |
| Output budget strategy recorded | yes | Scoped/capped searches only. |
| Agent-native pack selected | yes | Plan created with agent-native pack. |
| Agent-facing action surface identified | yes | docs-creator skill/rule text. |
| Source rule versus generated mirror boundary identified | yes | Source is .agents/rules/docs-creator.mdc; SKILL is generated. |
agent-native-reviewer loaded or waiver recorded | yes | .agents/skills/agent-native-reviewer/SKILL.md loaded; no accepted findings. |
Work Checklist:
<video-transcripts> XML, or marked N/A with reason..agents/**, .claude/**,
.codex/**, skills, hooks, commands, prompts, or user-action tooling..agents/rules/** changed, or N/A reason is recorded.Completion Gates:
| Gate | Applies | Required action | Evidence |
|---|---|---|---|
| Named verification threshold | yes | Run the command, proof, source audit, or artifact check named in this plan | pnpm install passed; source/generated rg check passed. |
| Bug reproduced before fix | yes | Record failing test/repro or N/A with reason | N/A: instruction improvement. |
| Targeted behavior verification | yes | Run focused test/proof for changed behavior or record N/A | rg confirmed sections in both source and generated skill. |
| TypeScript or typed config changed | yes | Run relevant typecheck | N/A: markdown rule text only. |
| Package exports or file layout changed | yes | Run pnpm brl before final verification and keep generated barrel updates | N/A. |
| Package manifests, lockfile, or install graph changed | yes | Run pnpm install and relevant package checks | pnpm install passed. |
| Agent rules or skills changed | yes | Run pnpm install and verify generated skill sync | pnpm install passed; generated SKILL.md contains new sections. |
| Workspace authority proof | yes | Run verification in the owning repo/package/app/route/tool and record cwd; do not count the wrong workspace as proof | All commands run in /Users/zbeyens/git/plate. |
| Browser surface changed | yes | Capture Browser Use proof or record explicit waiver/blocker | N/A: no browser surface. |
| Browser final proof | yes | Attach screenshot or exact browser verification caveat when browser proof applies | N/A. |
| CI-controlled template output changed | yes | Restore generated template output or record why it is intentionally kept | N/A: generated skill output is expected from source rule sync. |
| Package behavior or public API changed | yes | Add a changeset or record why no changeset applies | N/A: no package/API change. |
| Registry-only component work changed | yes | Update docs/components/changelog.mdx or record N/A | N/A. |
| Docs or content changed | yes | For docs-heavy work, use --template docs; for incidental docs, verify source-backed claims, links, examples, and rendered output or record N/A | N/A: agent instruction rule, not public docs content. |
| High-risk mini gate | yes | For public API/runtime/package-boundary/browser/agent-action/command-contract changes, record realistic failure mode, proof plan, and why the chosen boundary is right; otherwise N/A | Failure mode: agents patch generated SKILL.md directly or miss nav/concept guidance. Proof: source rule plus generated skill both include new guidance. |
| Agent-native review for agent/tooling changes | yes | For .agents/**, .claude/**, .codex/**, skills, hooks, commands, prompts, or user-action tooling, load .agents/skills/agent-native-reviewer/SKILL.md and close accepted/actionable findings, or record N/A | Loaded; no accepted findings. Discoverability verified in generated skill. |
| Local install corruption suspected | yes | Run pnpm run reinstall once, rerun the exact failing command, or record N/A | N/A: no env-rot failure. |
| Autoreview for non-trivial implementation changes | yes | Load .agents/skills/autoreview/SKILL.md; use dirty local --mode local, branch/PR --mode branch --base <base>, or committed slice --mode commit --commit <ref> until no accepted/actionable findings, or record N/A for docs-only/trivial/no local patch | N/A: targeted agent-native review and source/generated sync proof cover this instruction-only change. |
| PR create or update | yes | Run check before PR work and sync PR body to the task-style final handoff | N/A: no PR requested. |
| Task-style PR body verified | yes | Verify the PR body with gh pr view --json body; it must preserve auto-release blocks when applicable, must not include a current-PR self-link, and must use the kitcn PR #270 emoji format: ๐ Fixes ..., ๐ข 95-100% confidence, Phase / ๐งช Tests / ๐ Browser table, and bold emoji Outcome/Caveat/Design/Verified sections | N/A: no PR. |
| PR proof image hosting | yes | If PR body needs browser proof, replace local image paths with hosted GitHub URLs or record N/A | N/A. |
| Tracker sync-back | yes | Post concise issue/Linear sync after PR exists, or record N/A/blocker | N/A. |
| Final handoff contract | yes | Fill the final handoff fields below with exact PR/issue/confidence/tests/browser/outcome/caveats/design/verification content or N/A reason | Filled below. |
| Final lint | yes | Run pnpm lint:fix or scoped equivalent | Scoped equivalent: source/generated text verification after pnpm install. |
| Output budget discipline | yes | Verify no unbounded high-volume command output was streamed, or record the accidental output and recovery | Scoped/capped output only. |
| Goal plan complete | yes | Run node .agents/skills/autogoal/scripts/check-complete.mjs docs/plans/2026-05-31-docs-creator-rule-update.md | ready to run. |
| Agent source / generated sync | yes | Run pnpm install when .agents/rules/** changed and verify generated mirrors | Passed. |
| Agent action discoverability | yes | Source-audit the skill/rule path an agent will read | SKILL.md contains new sections. |
| Agent-native review | yes | Load .agents/skills/agent-native-reviewer/SKILL.md and close accepted findings, or record N/A | Loaded; no accepted findings. |
Phase / pass table:
| Phase | Status | Evidence | Next |
|---|---|---|---|
| Intake and source read | complete | source rule and relevant skills read | implementation |
| Implementation | complete | source rule patched | verification |
| Verification | complete | pnpm install; generated skill rg check | closeout |
| PR / tracker sync | complete | N/A: no PR/tracker requested | final response |
| Closeout | complete | plan finalized | final response |
Findings:
docs-creator needed explicit topology guidance: gap review, concept-vs-reference
decisions, behavior/runtime concept pages, and docs nav routing.Decisions and tradeoffs:
.agents/rules/docs-creator.mdc, not generated SKILL.md.pnpm install.Implementation notes:
Source Of Truth.Gap Review And Page Topology.Navigation And Routing.Behavior / Runtime Concept.Review fixes:
Error attempts:
| Error / failed attempt | Count | Next different move | Resolution |
|---|---|---|---|
| None yet | 0 |
Verification evidence:
pnpm install: passed; skiller applied Claude/Codex rules and fumadocs ran.rg -n "Source Of Truth|Gap Review And Page Topology|Behavior / Runtime Concept|Navigation And Routing|pnpm install" .agents/rules/docs-creator.mdc .agents/skills/docs-creator/SKILL.md: passed.Final handoff contract:
pnpm install, generated skill audit.docs-creator rule and generated skill now include the new guidance.SKILL.md is not source of truth.docs-creator only.Task-style PR body contract:
<!-- auto-release:start --> block. If a changeset is
part of the diff and repo policy expects auto release, include that block.๐ Fixes #123 or ๐ Fixes โ N/A, then
an emoji confidence line like ๐ข 95-100% confidence.| Phase | ๐งช Tests | ๐ Browser |.Reproduced and Verified rows. Mark passing proof with ๐ข, repro or
failing proof with ๐ด, and non-applicable cells with โ N/A.**โ
Outcome**, **โ ๏ธ Caveat**,
**๐๏ธ Design**, and **๐งช Verified**.Summary / Verification PR body, an
adaptive prose body from a git helper skill, plain ## Outcome sections, or
an unrelated generated badge footer unless the caller or repo template
explicitly asks for it.gh pr view --json body output or a concise source-backed summary
of that output.Final handoff / sync:
Timeline:
.agents/rules/docs-creator.mdc.pnpm install; generated skill sync succeeded.Reboot status:
| Question | Answer |
|---|---|
| Where am I? | Closeout |
| Where am I going? | Final response |
| What is the goal? | Make docs-creator more comprehensive and synced |
| What have I learned? | The missing guidance was page topology and runtime concept docs |
| What have I done? | See Timeline |
Open risks: