agentsclimarketplace

Review docs

Skill cloverink/shipwright/skills/review-docs

Production-grade Claude Code skills for shipping quality code. One command takes your branch from "done coding" to PR-ready via audit → review → docs → push.

Install
npx -y skills add cloverink/shipwright --skill review-docs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Verify Phase D doc updates are accurate. Binary pass/fail gate — checks stat accuracy, file path validity, code-doc sync, completeness. Runs after /update-docs.

SKILL.md

4.3 KB, as published. Nobody here has run it

/review-docs

Quality gate for documentation. Catches stale stats, dead links, and drift between code and docs.

When to use: Verify doc accuracy after /update-docs, or as a standalone doc audit. Use /review-full instead if: your diff is mixed (code + docs) — it'll detect scope and dispatch. Called by: /ship Phase D (after /update-docs), /review-full (docs-only diffs).

Why opus?

Docs are a trust surface. Sonnet misses cross-file inconsistencies (e.g., README says "30 modules" but modules/ has 32 files). Opus catches these.

<!-- CONFIGURE: Downgrade to sonnet if your docs are simple or stats aren't tracked -->

When to run

Phase D pipeline:
  /update-docs  → stage doc changes
  /review-docs  → verify them    ← you are here
  (if fail)     → fix in-place, re-stage, re-review (max 2 rounds)
  (if pass)     → continue to Phase S (ship)

Always run after /update-docs — even if it reports "came back clean." Verify the claim.

Bundling behavior

When called from /ship:

  • Read-only review of staged doc changes
  • If issues found: fix in-place, re-stage, re-review
  • Do NOT commit — /ship commits per phase

Step 1: Gather doc changes

git diff --cached --stat -- '*.md'
git diff --cached -- '*.md'

If no staged doc changes AND /update-docs reported "clean" → report "Phase D clean — no doc changes to review" and pass.

Step 2: Review focus areas

RiskWhat to check
Stat accuracyCounts (components, endpoints, tests, modules) match reality
File path validityAll [link](path) references point to files that exist
Code-doc syncFunction names, prop signatures, route paths match source
FrontmatterUpdated docs have valid title/description metadata
CompletenessAll relevant tiers updated (core, arch, journey, config)
Stale datesDates that should have been updated are current
<!-- CONFIGURE: Add project-specific risks (e.g., versioned API docs, i18n strings) -->

Step 3: Automated checks

Run any doc-drift tools your project has:

# Example — replace with your project's tools
bun run tools/doc-drift.ts        # dead file refs + stale dates
bun run tools/stats-sync.ts       # stat accuracy (check-only mode)
<!-- CONFIGURE: Replace with your tools, or remove if you don't have them -->

Any non-zero output = automatic fail.

If you don't have tools, manually spot-check (assumes repo-root-relative links; relative paths like ../foo.md will need adjustment):

# Find dead doc links (root-relative only)
grep -roE '\[.*\]\([^)]+\.md\)' --include='*.md' . | \
  awk -F'[()]' '{print $2}' | sort -u | \
  while read f; do [ -f "$f" ] || echo "DEAD: $f"; done

Step 4: Scoring

Binary pass/fail. No numeric score.

ResultMeaning
PassAll docs accurate, no stale references, stats match reality
FailOne or more issues found — list per issue with file path

Why binary? Either docs are accurate or they're not. "Mostly accurate" docs are a trap — users trust them, then hit the inaccurate part.

Step 5: Report

## Review Docs — Report

Files reviewed: X docs changed
Tiers covered: 1 (core) / 2 (arch) / 3 (journey) / 4 (config)

| Check | Status |
|-------|--------|
| Stat accuracy | pass / fail |
| File path validity | pass / fail |
| Code-doc sync | pass / fail |
| Frontmatter | pass / fail |
| Completeness | pass / fail |

Issues: (if any, with file path + description)

Result: PASS / FAIL
Ready for Phase S: Yes / No

Guidelines

  • Binary pass/fail — no numeric score
  • Scope to doc diff only — don't review impl code (that's Phase R's job)
  • Fix in-place — if issues found, fix immediately, re-stage, re-review
  • Reviewer is read-only — agent reports, never edits in review pass
  • Max 2 fix rounds — if still failing after 2 rounds, flag to user

Exit conditions

  • PASS → return "Ready for Phase S", OR
  • FAIL after 2 fix rounds → return remaining issues, stop pipeline

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.