Skip to content

Add docs-guide-review skill (guide review pipeline orchestrator) - #5841

Merged
brianmacdonald-temporal merged 6 commits into
mainfrom
add-docs-guide-review-skill
Dec 3, 2026
Merged

brianmacdonald-temporal merged 6 commits into
mainfrom
add-docs-guide-review-skill

Conversation

@brianmacdonald-temporal

@brianmacdonald-temporal brianmacdonald-temporal commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the docs-guide-review skill. It runs a guide through the four-stage review pipeline in order, delegating each stage to the skill that owns it, and returns one consolidated report. It makes no structural, accuracy, developmental, or style judgments of its own.

# Stage Owned by Status
1 Structure docs-guide-revision On main
2 Technical accuracy docs-guide-test On main (#5651, #5869)
3 Developmental edit docs-guide-develop #5838 (draft)
4 Copyedit Tone pass from AGENTS.md, then CI-scoped Vale On main

Dependencies

This skill calls the other stage skills by name. docs-guide-test and its claims check are on main (#5651, #5869). #5838 (docs-guide-develop) still needs to merge, so merge it before this PR.

Stage 2 reads the claims check's results (true, false, can't verify, stale, not run). Some stale claims are expected when stage 2 runs against the revised draft, because stage 1 rewords the sentences that claims quote.

What the orchestrator does

  • Runs the stages in order and passes the stage 1 revised draft to every later stage.
  • Moves the Tone pass to stage 4. docs-guide-revision skips its Tone pass during an orchestrated run. The Tone pass runs once in stage 4, before Vale, so prose changed in stage 3 is reviewed too. Tone findings are suggestions, applied only on request, like stage 3's edits.
  • Gates by severity:
    • Broken code and false claims block publishing.
    • CI-scoped Vale findings block merging.
    • Static-check, developmental, and Tone pass findings, and unverifiable, stale, or unreached claims, are advisory.
  • Keeps running when stage 2 can't. A harness failure marks the code as untested and doesn't hold back stages 3 and 4. A skipped stage 2 run still reports its static checks.

Files

  • .claude/skills/docs-guide-review/SKILL.md

🤖 Generated with Claude Code

A thin orchestrator that runs a guide through the full review pipeline in
order — structure (docs-guide-revision) -> accuracy (docs-guide-test) ->
developmental (docs-guide-develop) -> copyedit (Vale) — by delegating to each
stage skill and consolidating their output into one report. It owns only the
sequencing, the gating between stages, and the report; it makes no edits or
judgments of its own.

Design:
- Threads the artifact through the stages: stage 1 produces a revised draft,
  and stages 2-4 operate on that draft, not the original.
- Tests the revised (Code Sandwich) draft, which docs-guide-test reconstructs
  with its concat-header default.
- Runs every stage in one pass, tagging findings by severity: broken code
  blocks publish, Vale CI findings block merge, static-check and developmental
  findings are advisory, silent-guidance structural choices are author
  decisions. Hard-stops only on not-a-guide or a stage-2 harness failure.

Committed on the integration branch, which also carries docs-guide-test and
docs-guide-develop so the full chain is runnable for development. The
orchestrator's own PR should be cut from main after its dependencies merge.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Skip docs-guide-revision's Tone pass during an orchestrated run and
  run it once in stage 4, before Vale, so prose changed in stage 3 is
  reviewed. Tone findings are suggestions, applied only on request.
- A stage 2 harness failure marks the code untested but no longer holds
  back stages 3 and 4, which read the draft.
- A skipped stage 2 run still runs and reports its static checks.
- Describe stage 3's Code Sandwich quality and global-audience checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage 2 now reports whether each claim the prose makes about the code's
behavior is true, false, or can't be verified. A false claim blocks
publish; an unverifiable one is advisory. Until docs-guide-test has a
claims check, the orchestrator reports it as not run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Dec 3, 2026 9:39pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

Stage 2 runs the guide's manifest with --guide <revised draft>
--mode concat-header, so the manifest supplies dependencies, setup,
driver, and assertions while the code comes from stage 1's draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The claims check is on main now, so stage 2 reads its CLAIMS results
(true, false, can't verify, stale, not run) instead of reporting the
check as not run. A missing claims ledger is written with the test
skill's "Adding a new guide" steps. The harness runs static checks and
claims for skipped guides itself. Stale claims are expected on a
revised draft and are advisory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brianmacdonald-temporal
brianmacdonald-temporal marked this pull request as ready for review December 3, 2026 21:37
@brianmacdonald-temporal
brianmacdonald-temporal requested a review from a team as a code owner December 3, 2026 21:37
Copilot AI balanced review requested due to automatic review settings December 3, 2026 21:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the guide-review orchestration change.

No open issues 🎉

What changed in this PR

Adds docs-guide-review to coordinate existing guide-review stages and return one consolidated report, without making independent editorial judgments.

Changes:

  • Sequences structure, accuracy, developmental editing, and copyediting against the revised draft.
  • Defines blocking versus advisory results and continues later stages when testing cannot run.
  • Runs the Tone pass once, after developmental edits.

No files under docs/ change, so this PR is outside the automated documentation-review scope.

File Description
.claude/​skills/​docs-guide-review/​SKILL.md Defines stage delegation, draft handoffs, severity gates, and consolidated reporting.

Review effort: Balanced

@brianmacdonald-temporal
brianmacdonald-temporal merged commit cbc8a79 into main Dec 3, 2026
12 checks passed
@brianmacdonald-temporal
brianmacdonald-temporal deleted the add-docs-guide-review-skill branch December 3, 2026 21:40

This branch was successfully deployed

1 active deployment
Preview — f24f9237 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants