Skip to content
Skills Library
Programming · Review & audit

review-change

/review-change

Review a change in this repo for business correctness, architecture, security and tests, and report findings ranked by severity, each with file:line and a concrete failure scenario. Checks the repo-specific counterparts a change needs (migration, contract, regenerated process API, process tests, Bruno, the other variant) and delegates the model check to the agent review-process. Use when the user asks to review a PR, a branch or the current diff. Read-only; posts nothing unless asked.

Licence
MIT
Last repository change
07.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
2
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Review a change in this repo for business correctness, architecture, security and tests, and report findings ranked by severity, each with file:line and a concrete failure scenario. Checks the repo-specific counterparts a change needs (migration, contract, regenerated process API, process tests, Bruno, the other variant) and delegates the model check to the agent review-process. Use when the user asks to review a PR, a branch or the current diff. Read-only; posts nothing unless asked.

Arguments

/review-change [PR number | branch | commit sha | empty for the working tree against origin/main]
Original author description

Review a change in this repo for business correctness, architecture, security and tests, and report findings ranked by severity, each with file:line and a concrete failure scenario. Checks the repo-specific counterparts a change needs (migration, contract, regenerated process API, process tests, Bruno, the other variant) and delegates the model check to the agent review-process. Use when the user asks to review a PR, a branch or the current diff. Read-only; posts nothing unless asked.

How it works

  1. 1. Collect the context
  2. 2. Read the change in full
  3. 3. Check the counterparts
  4. 4. Security and robustness
  5. 5. Report
Original SKILL.md headings · 81 lines, 765 words
SKILL.md preview
---
name: review-change
argument-hint: "[PR number | branch | commit sha | empty for the working tree against origin/main]"
description: "Review a change in this repo for business correctness, architecture, security and tests, and report findings ranked by severity, each with file:line and a concrete failure scenario. Checks the repo-specific counterparts a change needs (migration, contract, regenerated process API, process tests, Bruno, the other variant) and delegates the model check to the agent review-process. Use when the user asks to review a PR, a branch or the current diff. Read-only; posts nothing unless asked."
allowed-tools: Read, Glob, Grep, Bash(git *), Bash(gh pr view *), Bash(gh pr diff *), Bash(gh pr checks *), Bash(gh run list *), Bash(gh run view *), Bash(gh issue view *), Bash(gh api repos/*/pulls/*/comments *), Agent
---

# Skill: review-change

A review that only ticks boxes is worthless; one finding with a reproducible scenario beats ten
style notes. The machine gates run in CI:
architecture rules, contract and process-API drift, bpmnlint, mutation 80.
Do not restate them, check what they cannot see.
Do check that a gate actually ran: the mutation gate runs nightly on the domain, so a pull request
never exercises it. Generic code review is what the built-in review tooling does; this skill adds
what only this repo knows.

The agents `review-process` and `review-vertical-slice` are loaded at session start. If one is not
available, read its file in `.claude/agents/` and apply it yourself.

## 1. Collect the context

- Diff: `gh pr diff <n>` (open or merged), `git diff origin/main...<branch>`, `git show <sha>` for a
  single commit. For the working tree: `git fetch`, then `git diff $(git merge-base origin/main HEAD)`
  (committed, staged and unstaged) plus `git ls-files --others --exclude-standard` (new files).
- Intent: the PR body and the linked issue (`gh pr view <n> --json closingIssuesReferences`,
  `gh issue view <n>`) with its acceptance criteria. Without an issue, the PR body is the intent.
- `gh pr checks <n>` if it is a PR; `gh run view <id> --log-failed` for a red one. Leave existing
  review comments for step 5, so they don't bias you: `gh pr view <n> --comments` for the
  conversation, `gh api repos/{owner}/{repo}/pulls/<n>/comments --paginate` for inline comments.

## 2. Read the change in full

Read every changed file, not only the hunks, plus the callers and tests of changed code. Ask of each
change: is it what the issue asks for, and nothing else? Does it hold for the process's other paths
(withdrawal at any time, the bike-unavailable error, the signature escalation, compensation of
completed steps, a 409 because the case moved on)? For a move or rename, `git grep` the old paths
and packages instead: a leftover reference is the typical defect.

## 3. Check the counterparts

| The change touches | It also needs |
|---|---|
| a JPA entity or `LeasingApplicationAggregate` | a new `V<n>__*.sql` migration; no edited migration |
| a controller method or a DTO | `@Operation(operationId)` on the method, the re-exported `openapi/openapi.json`, a Bruno request |
| a `.bpmn` | the regenerated `adapter/process`, a process test per new path, Bruno updated for renamed element ids; run the agent `review-process` |
| the DMN | a process test for the decision |
| a user task | a domain endpoint that completes it (no form, ADR-0014), a process test for the path it serves; the `externalReference` of its `zeebe:formDefinition` still matching the `@WorkflowTask(taskDefinition)` that binds it |
| a workflow task, the workflow aggregate or the process adapter | its unit test, a process test for the path it serves; run the agent `review-process` |
| a whole feature | run the agent `review-vertical-slice` |
| a domain exception a workflow task maps to a `TaskException` | a boundary event with its error code; `BikeLeasingWorkflow` keeps `noRollbackFor = TaskException` |
| a user-visible REST flow | the Bruno scenario, and the scenario list in `bruno/README.md` |
| the incident demo (`bruno/06-incident-demo`) | still produces its incident |
| an accepted ADR | a reversal is a new ADR that supersedes it; no "Update" sections |

A hand-edited generated file is a blocker.

<!-- variant:blueprint -->
While both variants live side by side, a change in behaviour also needs the same change with
equivalent tests in **both** `kotlin-gradle/` and `java-maven/` (models, migrations and
`application.yaml` byte-identical; the agent `review-process` compares the glue), and stack-specific
content in a shared file needs `variant:` markers on lines of their own, so
`scripts/create-starter.sh` can strip it.
<!-- /variant:blueprint -->

## 4. Security and robustness

Input reaching the domain unvalidated, problem details leaking internals, secrets or credentials in
code or config, new dependencies without a pinned version, aggregate fields released to the engine
(`@JsonProperty` on `LeasingApplicationAggregate`) carrying personal data it does not need.

## 5. Report

Severity is absolute, not relative to this PR:

- **Blocker:** wrong business result, data loss, broken path, security hole, red gate.
- **Major:** a missing counterpart or test that lets a regression through, or a broken repo rule that
  loses information.
- **Minor:** maintainability, naming, a weak assertion.
- **Nit:** optional.

When unsure between two levels, pick the lower one and say why. Per finding: severity, `file:line`,
what goes wrong in which scenario, a suggested fix. Then: questions for the author, what looks good,
and whether existing review comments are already addressed.

Post to GitHub only when asked, and show the text first.

Versions

RepositoryScoreLicence
This page · Miragon/process-engine-blueprints90MIT
kodexlabsio/konstruct100MIT
k0siara/skills100MIT
chrisgagne/grounded-forge90MIT
Miragon/process-engine-blueprints90MIT
Miragon/process-engine-blueprints90MIT
Miragon/process-engine-blueprints90MIT
Miragon/process-engine-blueprints90MIT
Miragon/process-engine-blueprints90MIT

Database snapshot: 13.11.2026 · package version d172cbe9af0b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 80Code review
    Review a diff or module for correctness, security, regressions, and missing tests. Use when the user asks for a review or before shipping a change.
  • 100code-review
    Performs a rigorous, prioritized code review of a diff, branch or pull request covering correctness, security, performance, readability and tests, and reports only verified findings with severity and concrete fixes. Use when the user asks to review code, a PR, a commit, or "check my changes".
  • 100review
    Static code review of the active diff: trace changed paths and report concrete P1/P2/P3 correctness, security, or spec bugs with file:line evidence. Use for code review or bug checks. Not runtime QA.
  • 90code-review
    Review code changes for correctness, security, and maintainability with severity-ranked, evidence-based findings. Use when asked to review a diff, a pull request, or a file before merge.
  • 90review-a-pull-request
    A careful code review of a change, a branch or a pull request: correctness, tests, security, readability, with findings ordered by how much they matter. Use when the owner asks you to review code, a diff, a branch or a PR.
  • 90review
    Review a diff, branch, PR, commit message or issue and report severity-tagged findings with failure scenarios. Also request a review, answer review comments, or run an over-engineering pass. Use when asked to review, check my PR, look over this change, or reply to feedback. Not…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.