Skip to content
Back to skills

Prepare Pr

ASecurity

Prepare a human-reviewable PR summary of the current work. Use when the human asks for a PR description, a merge summary, or "prepare a PR". Never commits, pushes or mutates git history.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add davidleberknight/footbag-platform --skill prepare-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prepare Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prepare Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidleberknight-prepare-pr/badge)](https://www.skillsdirectory.com/skills/davidleberknight-prepare-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prepare-pr
description: Prepare a human-reviewable PR summary of the current work. Use when the human asks for a PR description, a merge summary, or "prepare a PR". Never commits, pushes or mutates git history.
---

# Prepare PR

The summary must give reviewers a clear picture of what changed, why, and whether it is safe to merge.

## Step 1: Verify doc-sync ran

Check whether `doc-sync` has been run since the last significant change in this session. If it has not, flag this in the PR summary as a prerequisite gap: do not silently omit it.

## Step 2: Gather facts

Read:
- current diff (changed files and their diffs)
- verification per the test-targets line in root `CLAUDE.md`, run if not already done; report pass/fail
- the gate: the bare `./run_all_tests.sh`, which the maintainer starts; report its result and verdict (GREEN, INCOMPLETE or VOID) if it has run on the current tree, otherwise list it as the maintainer's prerequisite with that command
- any open questions or unresolved risks

## Step 3: Verify architecture compliance

Path-scoped rule files in `.claude/rules/` (read each touched path's rule yourself, per the pre-writing-code gate in root `CLAUDE.md`) define the non-negotiable patterns for service, controller, template, view-layer, and db-layer work. Confirm the change complies. Public-page work also follows the `.claude/rules/view-layer.md` rendering invariants and the owning service's file-header JSDoc; service-boundary work also follows the service's file-header JSDoc ownership and required patterns. Intentional deviations land as private-tracker issues.

Flag any violations explicitly in the summary.

## Step 4: Produce the PR summary

Include:
- **What changed**: concise description of behavior added, fixed, or removed
- **Why**: user story, bug, or decision that drove it
- **Key files changed**: list with one-line notes on the role of each
- **Tests**: the tests added or changed and the evidence the `write-tests` report carries for them (defect caught, criteria covered, red-then-green, surviving breaks on a high-risk change, new exemptions with reasons); pass/fail status
- **Type-check**: `tsc` pass/fail
- **Architecture compliance**: confirm the rules above or flag any deviations
- **Risks and tradeoffs**: anything a reviewer should scrutinize
- **Open questions**: anything unresolved that the reviewer should decide
- **Follow-up work**: known gaps deferred to a later task

Never claim verification that did not happen. Git writes are the human's (the git-mutation hook refuses them).

## Stop when

The summary is shown to the human; nothing is committed or pushed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.