/worklog:design-docsfrom worklog
Generates and syncs design docs, architecture docs, code walkthroughs, and requirements docs from actual code. Creates live regenerated files per release with freeze notes.
Ships in worklog. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Two live files, one freeze note per release, one rule: generated from the
actual repo, never from memory. The templates live in references/; this
skill is the procedure around them.
When this skill writes an architecture doc, a code walkthrough, or a requirements doc, invoke the
Spillwave documentation suite. Install from
SpillwaveSolutions/spillwave-documentation-marketplace v0.2.1.
Load references/companion-skills.md before either prompt.
| Role | Skill | Version | Rule |
|---|---|---|---|
| Prose | document-specialist | v3.2.2 | Default voice is STE100. Switch to google-docs-style v1.1.4 only when the user names Google style. Never mix packs. Wireframes belong in this skill's diagram pass. |
| GitHub-safe diagrams | design-doc-mermaid | v1.1.1 | Default for flowchart, sequence, class, ER, state, C4, and component views. Fenced mermaid in the Markdown. Validate before publish. |
| Leftover UML and wireframes | plantuml | v1.2.2 | Use case, timing, ArchiMate, Salt wireframes, nwdiag, WBS. Always render PNG or SVG. GitHub wiki does not render PlantUML source. |
Hard bans for prose in both voice packs:
| File | Kind | Rule |
|---|---|---|
docs/designs/current_design_doc.md | live | regenerated each release; in-place rewrite is sanctioned (like docs/roadmap.md) |
docs/designs/current_code_walkthrough.md | live | same |
docs/designs/<DATE>_vX.Y.Z-release.md | freeze note | tag + git_hash + pointers at the live pair + a short delta from the previous freeze. Frozen. Not a copy of the live pair. |
docs/designs/<DATE>_<NAME>_design_doc.md | legacy dated | full copies written before the freeze cap. Frozen forever. Never regenerate, never edit. |
docs/designs/<DATE>_<NAME>_code_walkthrough.md | legacy dated | same |
docs/requirements/<NAME>_srs.md or _prd.md | ad-hoc | generated on request from requirements-doc-prompt.md. Register with worklog wiki-add. |
<NAME> on a freeze note is vX.Y.Z-release (matches roadmap-snapshot
naming). Ad-hoc names are fine mid-cycle. Legacy full copies keep the
names they already have.
Legacy dated files (do not write new ones):
---
wiki_key: design/<date>_<name>-design-doc # or -code-walkthrough
doc_type: design
truth_state: snapshot
date: YYYY-MM-DD
name: vX.Y.Z-release
tag: vX.Y.Z
git_hash: <full sha the doc was generated against>
branch: <branch at generation>
roadmap_snapshot: docs/roadmap/<date>_<name>.md
---
Current files: same minus date/name/roadmap_snapshot, plus
generated_at: <UTC ISO date-time> and roadmap: docs/roadmap.md, with
wiki_key: design/current-design-doc (or -code-walkthrough) and
truth_state: current. tag is
the latest release tag at generation. Stamp from git rev-parse HEAD,
git branch --show-current, git describe --tags --abbrev=0. Never guess.
The identity trio (wiki_key, doc_type, truth_state) is required by the
IA gates (plan ia-content-model §5.4). Regenerating without it trips
worklog ia-normalize --check.
Run bin/wiki-ticket/worklog triggers release. This skill owns design-doc and
code-walkthrough. The release skill routes user-guide / readme to
the user-docs refresh agent. release.sync_docs is the legacy fallback.
Absent list = defaults all on.
Load references/companion-skills.md, then run
references/design-doc-prompt.md (architecture / design),
references/code-walkthrough-prompt.md (walkthrough), or
references/requirements-doc-prompt.md (SRS / PRD)
against the repository at HEAD. The template's own rules govern content.
Sections are a menu. Omissions are listed with reasons. Every code claim
cites path, function(), lines N-M. Fill System Context and Source Material
from the repo itself: README, docs/worklog-spec.md,
docs/plans/, docs/adr/, .work/config.yml, the test suites.
Run bin/wiki-ticket/worklog doc-verify and fix every FABRICATED finding in the
files you just wrote, then re-run until they are gone. Do this before
publishing and before reporting completion.
This is the step whose absence caused #294. Line citations were checked by nobody, and a measured 12 of 26 were wrong, pointing at offsets from several releases earlier. Every one was written by an agent that had the file open and copied the previous edition's number forward. One wrong claim was even introduced while hand-fixing the previous wrong claim, which is what a regeneration without a check does: it moves the error rather than removing it.
Reading the verdicts:
current_* file it means you cited an older tree than the
one you generated against, so treat it as yours too.git_hash, or a commit not in this
clone (see ADR-0008). Report it; never re-check against HEAD.Do not hand-edit a frozen dated copy or freeze note to silence a finding. Frozen means frozen: the correction belongs in the next edition, and the current pair should say so in prose where a reader would be misled.
current_* files against the tagged commit, then write
ONE freeze note docs/designs/<DATE>_vX.Y.Z-release.md. Do not copy the
live pair into two dated files. Existing full dated copies stay as they
are.current_*
only. A freeze note happens only when explicitly asked.---
wiki_key: design/<date>_vX.Y.Z-release
doc_type: design
truth_state: snapshot
date: YYYY-MM-DD
name: vX.Y.Z-release
tag: vX.Y.Z
git_hash: <full sha the live pair was generated against>
branch: <branch at generation>
roadmap_snapshot: docs/roadmap/<date>_vX.Y.Z-release.md
live_design: docs/designs/current_design_doc.md
live_walkthrough: docs/designs/current_code_walkthrough.md
---
Body is a short delta from the previous freeze: what landed in the
architecture, what was removed, which ADRs shipped. Do not paste the live
pair. Stamp git_hash from git rev-parse HEAD at the tagged commit.
wiki-publish, standard ledger flow (.work/published.jsonl):
design/current-design-doc to page Design-Doc (live: republish on
source-hash change), design/current-code-walkthrough to Code-Walkthrough.Design-Freeze-<date>_vX.Y.Z-release (frozen: publish
once), linked from Home next to the roadmap snapshots.Generation reads the whole repo. It never blocks the main thread or a release. Same non-blocking pattern as viz and plan-publish: spawn the agent, fold the result in when it reports. At release time the release skill spawns this; the tag never waits for prose.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub spillwavesolutions/wiki_ticket_sdd --plugin worklog13 skills in this plugin
/classifyPropose work items from recent conversation (flag-gated classifier). Use when the Stop hook requests classification or when asked to sweep a conversation for untracked work. Propose-only: writes .work/suggestions.jsonl, never the event log./integration-guideLook up how wiki_ticket_sdd integrates with a specific SDD tool or ticket/wiki system — Superpowers, GSD, SpecKit, OpenSpec, Jira, Confluence, GitHub, GitLab, Azure DevOps (ADO), AWS CodeCatalyst, or Google Cloud DevOps (GCP). Use when asked how to set up, configure, or use one of these, or when ticket-sync/wiki-publish need runtime guidance for a system with no shipped adapter./issue-descriptionWrite rich, durable issue/ticket descriptions. Use when creating or updating tickets by hand, when composing bodies for ticket-sync, or when a work item needs a description a future reader (human or agent) can act on without archaeology.Other plugins' skills for the same job