dmthepm/commune-wiki/commune-ship

Claude Code and agent skill by dmthepm/commune-wiki

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Verify and ship the file set one dump produced in a Commune wiki — check against the baseline, file the updates entry, build, gate, confirm hrefs, commit, open the PR. Use when the user says ship, or when a reviewed draft is ready to go out. Requires the wiki's installed commune CLI; reads dumps/<slug>.connect.md and dumps/<slug>.answers.md, writes dumps/<slug>.ship.md and the PR. Never merges.

Install

npx vskill@latest install dmthepm/commune-wiki/commune-ship

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as dmthepm/commune-wiki/commune-ship.

commune-ship

Mechanical. Everything here is a check with a right answer, which is why it runs after the human has said ship and why a stranger who edited by hand can run it alone.

Run every command from the wiki root. Pass no --root. $COMMUNE is the path step 1 prints. Handoff file shapes: references/handoffs.md.

Rules

  • Never merge. Open the PR and stop. Voice is the human's, and the PR is

where they read the page in the site's chrome.

  • A green check is not proof the page exists. It did not catch a note whose

file name and title disagreed shipping a 404. Step 5 is what catches that.

  • Pre-existing findings are the baseline, not your problem. New findings

are, and they stop the ship.

  • Rename or move a note only with $COMMUNE rename <from> <to>, never mv,

git mv, obsidian rename or a file tool. Those leave every [[link]] to the old name broken; rename rewrites them and keeps the URL. Add --dry-run first. When rename only changes a name's case in a git repository, it prints a git mv -f line on stderr; run that line so git records the new case.

  • Never install anything.

Steps

  1. Preflight and read. node scripts/preflight.mjs → $COMMUNE; stop on

exit 1. Read WRITING.md for dumps.commit. Read dumps/<slug>.connect.md for files: and baseline:, and dumps/<slug>.answers.md for what was decided. Pipe every --json payload through node scripts/preflight.mjs --schema. Compare finding identities (rule, file, target) with baseline.findings, using null for absent targets.

  1. Check against the baseline. $COMMUNE check --json. Compare identities as sets, never counts.

A missing baseline.findings requires recovering the pre-edit findings; never treat the edited corpus as its own baseline. Any finding that is not in the baseline stops the ship: say which file and which rule, and hand back to commune-write.

  1. File the updates entry. $COMMUNE update --recent <dump date> --json

first, to read the scaffold. If src/content/updates/<today>.md does not exist, run it again with --write; if it does, edit that file — update refuses to overwrite and a second scaffold for one day is wrong anyway. Then fill summary:, which the CLI leaves empty on purpose: one sentence, from the dump, in the voice WRITING.md describes. Set aiGenerated: false when that sentence is the human's — dictated or edited by them — and true when you wrote it and they only approved. Show them the sentence.

  1. Build and gate. The wiki's build script, run with the package manager

its lockfile names (package-lock.json npm, pnpm-lock.yaml pnpm, yarn.lock yarn, bun.lock bun), never astro build by hand: the wiki's script carries its lifecycle hooks (devon-wiki's prebuild unshallows the clone so dates are real). If the script does not end in commune gate, run $COMMUNE gate after it. gate reads public/backlinks.json, which only a build writes, so there is no gate without the build. gate exits 1 when the built site is wrong; that stops the ship.

  1. Confirm every new href. For each created or renamed entry, read its

urlPath from $COMMUNE graph query --json. Require both an href occurrence in built HTML and an existing destination under dist/: /path/ maps to dist/path/index.html; its /path.md twin maps to dist/path.md. Check both URLs, stripping query and fragment before mapping; / maps to dist/index.html. Also check new internal links in edited files, including existing destinations. Record occurrence and destination existence separately; either missing stops ship.

  1. Commit and open the PR. Prepare the receipt first with commit, PR and

preview pending. Commit exactly files: plus the updates entry; include the four handoffs only when WRITING.md says dumps.commit: true. Otherwise exclude every dumps/ path, even if listed in files: or already staged. Never use a blanket add. Use the wiki's conventional commit subject. Push and open the PR with the preview URL and summary sentence. Include the review path only when handoffs are shared; otherwise describe the review in the PR.

  1. Finish the receipt. Update dumps/<slug>.ship.md per

references/handoffs.md with the check diff, href checks, updates entry, content commit, PR and preview URLs. When dumps.commit: true, commit this receipt update separately and push; its commit names the content commit. Otherwise keep it local. Print the PR URL and stop.

Stop conditions

  • A new check finding → stop, name it, hand back to commune-write.
  • gate exits 1 → stop, quote its finding.
  • An href occurrence or destination file missing from dist/ → stop. That is the 404 this step exists for.
  • No preview URL yet (the deployment has not finished) → open the PR anyway and

say the preview is pending; do not wait, and do not merge.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
Repository forks
1
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dmthepm/commune-wiki/commune-ship/badge)](https://verified-skill.com/skills/dmthepm/commune-wiki/commune-ship)

Something wrong with this skill or its page? Tell us.