From worklog
Generate or sync the design document and code walkthrough under docs/designs/ — frozen dated pairs tied to a release tag, live current pairs regenerated from the actual code. Use when asked for a design doc or code walkthrough, and automatically (background agents) at every release.
How this skill is triggered — by the user, by Claude, or both
Slash command
/worklog:design-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Two artifact kinds, four files, one rule: **generated from the actual repo,
Two artifact kinds, four files, one rule: generated from the actual repo,
never from memory. The templates live in references/; this skill is the
procedure around them.
| File | Kind | Rule |
|---|---|---|
docs/designs/<DATE>_<NAME>_design_doc.md | dated | frozen — publish once, never regenerate (same rule as roadmap snapshots) |
docs/designs/<DATE>_<NAME>_code_walkthrough.md | dated | frozen — same |
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 |
<NAME> at release time is vX.Y.Z-release (matches roadmap-snapshot
naming). Ad-hoc names are fine mid-cycle.
Dated files:
---
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. 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.
release.sync_docs in .work/config.yml lists what regenerates at release
(design-doc, code-walkthrough, user-guide, readme). Absent list =
defaults all on. This skill owns the first two entries; the release skill
routes the other two to the user-docs refresh agent.
Run references/design-doc-prompt.md (or code-walkthrough-prompt.md)
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 the template's System Context /
Source Material from the repo itself: README, docs/worklog-spec.md,
docs/plans/, docs/adr/, .work/config.yml, the test suites.
current_* files against the tagged commit, then copy
each to its dated frozen name with the dated frontmatter. Four files out.current_*
only. A dated freeze happens only when explicitly asked.wiki-publish, standard ledger flow (.work/published.json):
design/current-design-doc → page Design-Doc (live: republish on
source-hash change), design/current-code-walkthrough → Code-Walkthrough.Design-Doc-<date>_<name> / Code-Walkthrough-<date>_<name>
(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.
npx claudepluginhub spillwavesolutions/wiki_ticket_sdd --plugin worklogGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.