shiplog
shiplog preserves project discussion, decisions, and work context in GitHub issues and PRs so you can recall what you said and any next agent session can pick up the work cleanly. It ships as a small 4-file core skill plus three optional companion skills for Claude Code, Codex, Antigravity, and Cursor.
Install
Install the core skill alone, or add any optional companion skill:
npx skills add devallibus/shiplog --skill shiplog
npx skills add devallibus/shiplog --skill shiplog-review # optional: cross-model PR gate
npx skills add devallibus/shiplog --skill shiplog-waves # optional: parallel multi-agent waves
npx skills add devallibus/shiplog --skill shiplog-trace # optional: aerospace-style action codes
Each directory under skills/ is self-contained. Run npx skills update to refresh.
As a Claude Code plugin, which installs all skills plus the slash commands /shiplog:plan, /shiplog:start, /shiplog:capture, /shiplog:commit, /shiplog:pr, /shiplog:lookup, /shiplog:hunt, /shiplog:resume, /shiplog:review, and /shiplog:trace:
/plugin marketplace add devallibus/shiplog
/plugin install shiplog@shiplog
From a local checkout: claude --plugin-dir .. Slash commands are thin wrappers over skills/shiplog/ and its companion skills; plain natural language works without them.
Core skill: three records, four files
- Original discussion (
kind: source): Verbatim human messages in order, with rejected ideas, doubts, and explicit [omitted at user's request] privacy redactions. Corrections are appended with Corrects: URL, never rewritten.
- One current summary (
kind: state): Editable tracking issue body (goal, current decisions linked to source comments, tasks, checks, next action). Settled specs and long research live in git under docs/decisions/ and docs/research/, linked from the issue.
- Compact retrieval index (
<!-- shiplog: -->): Short kind and summary header parsed locally by the zero-dependency cross-platform Node CLI skills/shiplog/scripts/shiplog-read.mjs:
node skills/shiplog/scripts/shiplog-read.mjs index # open issues & PRs, one line each
node skills/shiplog/scripts/shiplog-read.mjs show 42 # envelope, computed tasks, linked refs/branches, comment index
node skills/shiplog/scripts/shiplog-read.mjs source 42 # exact verbatim text of trusted `kind: source` comments
node skills/shiplog/scripts/shiplog-read.mjs search "auth" # matching issues, PRs (with trust + snippet), and commits
Add -R OWNER/REPO to query another repository. Task counts are computed from checkboxes, and only records from OWNER, MEMBER, or COLLABORATOR accounts count as project records. Runs identically on Windows PowerShell, macOS, and Linux with no Bash/WSL quirks.
Core layout (1-hop maximum):
skills/shiplog/SKILL.md — core rules and routing table
skills/shiplog/references/records.md — envelopes, source/summary/handoff/PR templates, shell-safe writes
skills/shiplog/references/workflow.md — plan, start, capture, discovery, commit, PR (with visual proof), resume
skills/shiplog/references/retrieval.md — hunt, lookup, reader CLI, optional lifecycle labels
Companion skills (opt-in)
| Skill |
Purpose |
Key files |
| shiplog-review |
Independent PR reviews, commit author trailers, and the shiplog/review-gate CI check (review: cross-model). |
skills/shiplog-review/SKILL.md, .github/workflows/review-gate.yml, .shiplog/review.md |
| shiplog-waves |
Multi-agent / multi-provider wave orchestration (native T3/runtime worktrees, one writer per file, settling threads, cross-repo owner/repo#N). |
skills/shiplog-waves/SKILL.md |
| shiplog-trace |
Aerospace-style immutable Screen (AREA-Sxx), Action (AREA-Axx), and Rule (AREA-Rxx) codes wired into typed constants, live ?codes=1 browser overlays, and an automated coverage matrix that catches Potemkin UI stubs and deleted IDs. |
skills/shiplog-trace/SKILL.md, skills/shiplog-trace/scripts/shiplog-trace.mjs |
Quick start: shiplog-trace
node skills/shiplog-trace/scripts/shiplog-trace.mjs init
node skills/shiplog-trace/scripts/shiplog-trace.mjs gen --file actions.json
node skills/shiplog-trace/scripts/shiplog-trace.mjs check --file actions.json --format html --out trace-matrix.html
node skills/shiplog-trace/scripts/shiplog-trace.mjs diff --file actions.json --base origin/main
Files under .shiplog/ are repository settings (such as .shiplog/review.md), never command definitions.
Requirements
- Node.js 18+ (runs both
shiplog-read.mjs and shiplog-trace.mjs identically on Windows, macOS, and Linux)
gh, authenticated with gh auth login
git, in a repository with a GitHub remote
Upgrading from 0.6
- Old issues, PRs, and envelopes remain readable with zero migration.
shiplog-read.sh is replaced by node skills/shiplog/scripts/shiplog-read.mjs (fixes Windows WSL path collisions and macOS Bash 3.2 drift).
- Model-tier routing (previously the
models command), verification profiles, and quiet logging were removed from core; handoffs now live directly in records.md.
- Cross-model review and parallel orchestration moved into opt-in sibling skills (
shiplog-review, shiplog-waves); aerospace-style traceability is new (shiplog-trace, /shiplog:trace).
Details: CHANGELOG.md. Contributing and versioning: CONTRIBUTING.md. MIT; see LICENSE.
评论