/shiplog:shiplog-tracefrom shiplog
Implements aerospace-style immutable Screen, Action, and Rule codes (AREA-Sxx, AREA-Axx, AREA-Rxx) wired into wireframes, live UI overlays, code, and tests for visual LLM steering without reading raw code.
Ships in shiplog. 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; scripts run unread.
Opt-in companion skill to shiplog for visual, code-free steering of LLM development. Inspired by aerospace functional addressing (ATA Spec 100) and machine-checked traceability (DO-178C), stripped of manual paperwork.
Keep one machine-readable registry (actions.json at the repo root or docs/actions/actions.json):
| Prefix | Meaning | Granularity rule |
|---|---|---|
AREA-Sxx | Screen (a place or route, e.g., CALC-S01) | One per distinct user screen, panel, or widget view. |
AREA-Axx | Action (one observable outcome, e.g., SUB-A09) | One per user or background outcome — never per CSS state, label, or helper. Target 15–60 actions per MVP. |
AREA-Rxx | Rule (a hard invariant, e.g., NET-R01) | Only non-negotiable legal, financial, or infra invariants. |
Immutability rule: Once published, never renumber or delete an ID. Mark obsolete codes "status": "retired" (tombstone) so old shiplog issues, commits, and screenshots never point to the wrong behavior.
Static comments (// CALC-A05) rot. Make every code runtime-active and compiler-checked:
actions.json:
node scripts/shiplog-trace.mjs gen --file actions.json
This validates the registry and writes typed SCREENS / ACTIONS / RULES constants, a human-readable Markdown catalogue, and trace-overlay.js.data-screen="CALC-S01" and data-action="CALC-A05" on interactive controls. Include trace-overlay.js in wireframes (pre-build) and dev/staging builds (post-build). Toggling ?codes=1 or Alt+Shift+C overlays every badge on screen and lets the owner click any badge to copy a surgical LLM prompt (On [SUB-S04], change [SUB-A09]: ...).ACTIONS.CALC_A05 (or @action CALC-A05 in non-JS languages) in route handlers, audit logs, and E2E/Playwright selectors ([data-action="CALC-A05"]). Removing a code breaks compilation instead of rotting silently.?codes=1 instead.Resolve scripts/shiplog-trace.mjs relative to this skill directory:
node scripts/shiplog-trace.mjs init # create starter actions.json
node scripts/shiplog-trace.mjs gen [--file actions.json] # validate + emit TS, MD, overlay
node scripts/shiplog-trace.mjs check [--stage step-1] [--format table|md|json|html] [--out FILE] [--strict]
node scripts/shiplog-trace.mjs diff [--base REF] # block deleted/renumbered IDs in CI (auto-detects default branch)
check scans wireframes, UI, code, and tests (excluding generated files) and automatically flags:
WIREFRAME_ONLY: Wireframe renders the control, live UI and backend code are not built yet.POTEMKIN_STUB: Live UI renders the control, but backend/code wiring is missing.UNVERIFIED: UI and code exist, but no test references the code.In shiplog issues and PRs, tag tasks with codes (- [ ] T1 [CALC-A05]: ...), paste shiplog-trace.mjs check --format md into ## Verification, and attach ?codes=1 screenshots for visual sign-off.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
traceability, action-registry, ui-overlay, llm-steering, code-generation
npx claudepluginhub devallibus/shiplog --plugin shiplog5 skills in this plugin
/shiplogPreserve project discussion, decisions, and work context in GitHub. Use when creating or updating tracked issues/PRs, recording decisions or handoffs, recalling past discussion, or resuming tracked work./shiplog-memoryMaintain a compact git-tracked Central Memory layer (docs/memory/) with path fences for retired or unapproved files, topic routing, live drift detection, and compact briefs for fresh sessions and zero-history workers./shiplog-reviewRun and verify independent PR reviews and cross-model review gates for repositories using shiplog.Other plugins' skills for the same job