From project-planning
Review a GitHub pull request against the project's own documentation — both directions. Fetch the diff from the GitHub repo(s) named in the project's AGENTS.md, cross-reference the change against the documented conventions (Confluence pages, local docs, plan files declared in AGENTS.md), and produce two outputs in one pass: (a) a PR review surfacing where the diff diverges from documented conventions, and (b) doc-update suggestions for patterns or decisions in the diff that aren't reflected in the docs yet. Use this skill whenever the user asks "review this PR", "review PR #123", "is this PR aligned with our docs", "check this PR against the spec", "what's wrong with this PR", "does this PR match our conventions", "check the open PRs for doc drift", "sweep open PRs", or pastes a GitHub PR URL and asks for feedback. Trigger even when the user doesn't name the skill — if they're handing you a PR and asking what it means against the project's documented direction, this is the right home. Read-only by default; any PR comment or doc edit requires explicit confirmation. Local checkout is out of scope in v1 — diffs come from the GitHub API.
How this skill is triggered — by the user, by Claude, or both
Slash command
/project-planning:pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Documentation-aware GitHub PR review. Fetches a PR from the repo(s) declared in the project's `AGENTS.md`, cross-references the diff against the project's documented conventions, and surfaces findings in two directions:
Documentation-aware GitHub PR review. Fetches a PR from the repo(s) declared in the project's AGENTS.md, cross-references the diff against the project's documented conventions, and surfaces findings in two directions:
The two are deliberately produced together. A PR that adopts a new pattern isn't necessarily wrong; sometimes the docs are stale. Reporting both sides lets the user decide which way to close the gap.
Fire on any phrasing that hands you a PR and asks for an opinion on it:
AGENTS.md declares that repo.If the user is asking for a generic code review without doc cross-referencing — "look for bugs in this PR" — that's a different job; this skill is specifically the documented-conventions read. You can still run it and just note that the docs-cross-reference step found nothing relevant.
The skill runs in three phases: fetch → cross-reference → propose. Everything before phase 3 is read-only. PR comments and doc edits both require explicit confirmation in phase 3.
AGENTS.md Project Planning section and pick up the GitHub repo(s) it declares. If the user gave a full PR URL, take the repo from the URL and confirm it appears in AGENTS.md — if it doesn't, ask once before continuing (the PR may belong to a different project).gh CLI when available per Bill's global AGENTS.md preferences (gh pr view, gh pr diff, gh pr view --json). Fall back to the GitHub REST API only when gh isn't installed. Both work; gh is the preferred surface.For each meaningful change in the diff, look up what the project's documentation says about that area. The documentation sources are whichever ones AGENTS.md declares for this project — usually some mix of:
plan/confluence.md to read them (load Atlassian MCP schemas via ToolSearch, fetch with contentFormat: "markdown"). Don't redefine those patterns here.docs/ or plans/. Read directly.plans/plan.md and the domain documents it references, per plan/local.md.The goal of the cross-reference isn't to mechanically grep for filenames mentioned in the docs. It's to ask, for each load-bearing change in the diff: is there documented guidance that speaks to this, and does the change match it? Use judgment about what's load-bearing. A renamed local variable doesn't need a docs lookup; a new public API, a changed architectural boundary, a new dependency, a different error-handling pattern, a deviation from a naming convention — those do.
Keep this phase quiet. The user sees the proposals, not the raw doc dumps, unless they ask.
Produce two clearly-separated sections. Show them inline.
A. PR review against documented conventions
For each PR-side finding:
If the diff doesn't diverge from anything documented, say so plainly. An empty PR-side section is a valid outcome.
B. Documentation update suggestions
For each docs-side finding:
The output shape here intentionally mirrors docs-update's proposal format so the two skills compose cleanly in a weekly cadence.
gh pr review --comment or gh pr comment). Re-check the PR head SHA before posting — if it's moved, surface that and re-fetch rather than commenting on a stale diff.docs-update. For Confluence, follow plan/confluence.md's read-before-write protocol strictly (read live HTML, capture version, write back with the version for optimistic concurrency). For in-repo docs, show the proposed diff and wait for confirmation before writing.AGENTS.md declarations onto this skillThe Project Planning section of AGENTS.md should give you:
owner/repo form. Without at least one, this skill has nothing to read; tell the user and stop.plans/ convention. Without one, the skill can still produce the diff summary but should be explicit that there's no documented baseline to cross-reference against.AGENTS.md says otherwise. The ownership routing applies to docs-side findings exactly the way it does in docs-update.If a required piece is missing, ask the user once and offer to run bootstrap (or its refresh mode) to declare it. Don't fabricate repo names or page IDs.
notes/ or plans/. Those are owned by notes, plan, and sprint.plan/confluence.md and plan/local.md. If those patterns need to change, change them once in the reference docs — don't duplicate here.docs-update. The two skills can run side-by-side in a weekly cadence: open PRs reviewed, recent Slack swept, doc gaps proposed once from both sides.bootstrap is the right answer when AGENTS.md is missing the repo or docs declaration this skill needs.Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub gestrich/ai-project-planning --plugin project-planning