shipkit-documenter
Scannednpx machina-cli add skill stefan-stepzero/shipkit/shipkit-documenter --openclawShipkit Documenter
Keeps docs/development/ tidy. Every artifact gets a manifest entry. New items get their own JSON file and a manifest entry.
Modes
document [title] (default when no mode specified)
Create a new documented item.
- Read
docs/development/manifest.json - Get the
nextIdcounter - Ask the user (if not provided via args):
- Title — short description
- Tags — freeform tags (e.g., bug, idea, improvement, decision, hooks, skills, windows)
- Details — what to capture (description, context, affected files, etc.)
- Create the item file at
docs/development/DOC-{nextId}.json:
{
"$schema": "shipkit-dev-artifact",
"type": "documented-item",
"id": "DOC-NNN",
"title": "...",
"description": "...",
"status": "open",
"tags": ["..."],
"createdAt": "ISO8601",
"updatedAt": "ISO8601",
"context": {}
}
The context object holds whatever is relevant — affectedFiles, reproSteps, alternatives, rationale, sketch, etc. No rigid schema, just what makes sense for this item.
- Add entry to manifest's
entriesarray - Increment
nextIdin manifest - Save manifest
list [filters]
Show what's in the manifest.
- Read
docs/development/manifest.json - Display entries as a table: ID, title, status, tags
- If filters provided, match against tags or status (e.g.,
list bug,list open,list report)
update <id>
Update an existing item.
- Read the item file referenced by the manifest entry
- Ask what to change (status, description, add notes, etc.)
- Update the item file and set
updatedAt - Update the manifest entry if title/status/tags changed
status
Quick summary of the manifest.
- Read manifest
- Show: total entries, count by status, count by most-used tags, last 5 updated items
register <file>
Add an existing file in docs/development/ to the manifest without creating a new item file.
- Verify the file exists in
docs/development/ - Ask for title and tags
- Add entry to manifest with the file path as-is
- Increment
nextId, save manifest
clean
Audit manifest against actual files.
- Read manifest
- Check each entry's
fileexists on disk - Scan
docs/development/for files NOT in the manifest (excluding directories and the manifest itself) - Report: missing files (in manifest but not on disk), untracked files (on disk but not in manifest)
- Offer to fix: remove stale entries, register untracked files
Output Quality Checklist
- Manifest
nextIdis always greater than the highest existing DOC-NNN id - Every new item has both a JSON file and a manifest entry
-
updatedAton manifest reflects the latest change - No duplicate IDs in manifest
- Tags are lowercase, hyphenated
Context Files
- Reads:
docs/development/manifest.json - Writes:
docs/development/manifest.json,docs/development/DOC-NNN.json
Source
git clone https://github.com/stefan-stepzero/shipkit/blob/main/.claude/skills/shipkit-documenter/SKILL.mdView on GitHub Overview
Shipkit Documenter keeps docs/development tidy by ensuring every artifact has a manifest entry. New items get their own JSON file and a manifest entry in docs/development/manifest.json, the central registry.
How This Skill Works
The tool operates in modes: document, list, update, status, register, and clean. It reads docs/development/manifest.json to get nextId, creates DOC-NNN.json files for new items, and updates the manifest accordingly; the item file includes a flexible context object for description, repro steps, affected files, and rationale.
When to Use It
- Create a new documented item with a title, tags, and details.
- Review all documented items and their statuses.
- Update an item's status, description, or notes.
- Register an existing file from docs/development/ into the manifest.
- Audit manifest consistency and detect missing or untracked files.
Quick Start
- Step 1: Run document to create a new item with a title and tags, e.g., document 'Login issue' --tags bug,report.
- Step 2: Provide details or fill in the context in the new DOC-NNN.json and save; manifest.json updates automatically.
- Step 3: Run list to verify the new item appears with its ID, status, and tags.
Best Practices
- Use lowercase, hyphenated tags and avoid duplicates in the manifest.
- Write concise, descriptive titles and details for each item.
- Keep the manifest and DOC-NNN files synchronized and timestamped with updatedAt.
- Prefer register for existing files rather than creating duplicate items.
- Regularly run clean to catch missing files and untracked artifacts.
Example Use Cases
- Create DOC-001 for a reported bug with title 'Login issue' and tags ['bug','report'], then fill in repro steps in context.
- List open items to monitor progress and prioritize work.
- Update DOC-001 status to 'in-progress' and add notes.
- Register docs/development/README.md to manifest with an appropriate title and tags.
- Run clean to identify and fix missing or untracked files in docs/development.