Skip to content

feat(tooling): require a Skills & scripts section in review skills#265

Merged
MSIH merged 1 commit into
mainfrom
feat/257-review-skills-recommendation
Jul 24, 2026
Merged

feat(tooling): require a Skills & scripts section in review skills#265
MSIH merged 1 commit into
mainfrom
feat/257-review-skills-recommendation

Conversation

@MSIH

@MSIH MSIH commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Closes #257

Summary

Both /pre-pr-review and /pre-doc-review now always emit a required, change-grounded Skills & scripts section (new skill / update existing / save script / none), so reusable procedures get codified in the repo instead of re-derived from a transcript each time. Advisory only — it surfaces the candidate; it never auto-creates anything.

Changes

  • .claude/commands/pre-pr-review.md — new Step 3.5 — Skills & scripts (required) between the verdict and the smoke-test gate.
  • .claude/commands/pre-doc-review.md — parallel Step 3.5 between the verdict and Clear-the-gate (doc-flavored wording).

Verification

  • Prose-only tooling change; no src/**, server, schema, or auth touched — server runs byte-identical, so no smoke test applies.
  • Markdown well-formed; the two sections are parallel and consistent; #257 is the governing issue.
  • Dogfooded: this PR's own /pre-pr-review run emitted the new Skills & scripts section (verdict: none warranted).

Test plan

  • The next /pre-pr-review and /pre-doc-review runs each emit the Skills & scripts section, grounded in the change under review.

…d pre-doc-review

Both review skills now always emit a change-grounded recommendation
(new skill / update existing / save script / none) so reusable
procedures get codified instead of re-derived. Refs #257.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YKt6y3Rk498eBqneiMKHpM
Copilot AI review requested due to automatic review settings July 24, 2026 20:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s built-in review skills (/pre-pr-review and /pre-doc-review) to always include a required, change-grounded Skills & scripts section, ensuring repeatable procedures and ad-hoc scripts are explicitly considered for codification (per #257).

Changes:

  • Add Step 3.5 — Skills & scripts (required) to /pre-pr-review, positioned between the verdict and the smoke-test gate.
  • Add a parallel Step 3.5 — Skills & scripts (required) to /pre-doc-review, positioned between the verdict and Clear-the-gate.
  • Make the section explicitly advisory (recommendations only; no auto-creation).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.claude/commands/pre-pr-review.md Inserts a mandatory “Skills & scripts” checkpoint into the code pre-PR review flow.
.claude/commands/pre-doc-review.md Inserts the same mandatory “Skills & scripts” checkpoint into the doc pre-PR review flow (doc-focused wording).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MSIH
MSIH merged commit 3916252 into main Jul 24, 2026
6 checks passed
@MSIH
MSIH deleted the feat/257-review-skills-recommendation branch July 24, 2026 21:14
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.

/pre-pr-review should always recommend new/updated skills + scripts from the change's lessons

3 participants