.claude/skills/doc/SKILL.md
Document session changes in tracking files (devlog, handoff, KB, roadmap). Use when the user says "document", "/doc", or asks to note what was done.
npx skillsauth add stonks-git/ai-dev docInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When the user asks to document, follow these steps IN ORDER:
Add 1+ JSON lines to state/devlog.ndjson. Format:
{"ts":"2026-01-07T12:00:00+02:00","event":"<type>","id":"<ID>","summary":"<short description>"}
Event types:
feature - new functionalitybugfix - bug fixrefactor - code restructuringkb_update - KB documentation updatedecision - new decision (with id: D-XXX)blueprint - new blueprint version createddj_entry - Decision Journal entry added (with id: DJ-XXX)handoff - session summaryverification - smoke test passedhuman_review - approved by userUpdate session sections in state/handoff.md:
NO EXCEPTIONS: If code was modified, KB MUST be updated.
Steps:
ls KB/*.mdKB/KB_index.md if a new KB page was created (assign tags from charter.json taxonomy)After KB update: add entry in devlog with event: kb_update.
If scaffolding/architecture changed (new component, dropped component, pattern change):
KB/blueprints/ (complete plan snapshot, not a diff)KB/blueprints/BLUEPRINT_INDEX.md pointer to new versionKB/KB_index.md — new version row as always (latest only), old version as on-demandevent: blueprintIf any decision was superseded or amended:
KB/KB_01_architecture.md with: Was / Now / Why / Lessontag_taxonomy in the header bracketssuperseded in state/roadmap.jsonevent: dj_entryIf new database migrations were created during this task:
state/schema_log.md — add new migration to the table, update countsRun git commands and update handoff.md:
git status --short
git log --oneline -3
Update state/roadmap.json only if:
python3 taskmaster.py validate
Must exit 0. If it doesn't, fix the issues before finishing.
STOP! Don't commit until you verify ALL:
devlog.ndjson - entry added for each changehandoff.md - session sections updatedkb_update entry in devlog (if KB was updated)taskmaster validate - exit 01. Ask user WHAT was done (if you don't know)
2. Write entry in devlog.ndjson
3. Update handoff.md session sections
4. GATE: Update KB for modified modules
-> What modules did I touch? -> Which KB describes them? -> Update
-> Add kb_update entry in devlog
5. GATE: Update blueprint if architecture changed
-> New version file + update index + devlog entry
6. GATE: Add Decision Journal entry if decision was superseded
-> DJ-XXX entry + update roadmap status + devlog entry
7. GATE: Update schema_log.md if DB migrations created
8. Check git status, add to handoff
9. Update roadmap if task status changed
10. Run `python3 taskmaster.py validate` — exit 0
11. CHECKLIST COMPLETE? -> tell user documentation is done
Use ISO 8601 with timezone: 2026-01-07T12:00:00+02:00
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.