From beislid
Reviews local git diffs or supplied patches against requirements, producing severity-categorized findings and readiness verdict. For pre-PR checks, ad-hoc reviews, and workflow primitives like ship-it.
npx claudepluginhub sandsower/beislidThis skill uses the workspace's default tool permissions.
Review a diff against requirements and return findings. This is a primitive, not a workflow.
Performs side-effect-free final whole-diff review for cross-file consistency, config drift, stale docs, limits, baseline compatibility, and issues iterative reviews miss.
Reviews code changes using parallel personas for correctness, testing, maintainability, and conditional areas like security, performance, APIs. Merges into P0-P3 severity reports for PR prep and iterative feedback.
Share bugs, ideas, or general feedback.
Review a diff against requirements and return findings. This is a primitive, not a workflow.
review may read files, inspect diffs, and classify findings. It must not edit files, commit, push, post comments, update tickets, create PRs, or run a fix loop. Callers decide what to do with the findings.
Use this for:
ship-itfresh-eyes, rinse, and pr-patrol workflowsDo not use this for:
fresh-eyeswalk-the-diffpr-patrolIf the reviewer explicitly wants a durable visual artifact for the diff, evidence, or explanation, suggest show-me and wait for the user to ask. Do not auto-run show-me from review in v1.
Accept one of:
If reviewing local changes and the caller did not supply a range:
git status --short
gh pr view --json baseRefName,headRefName 2>/dev/null
git merge-base HEAD main # or master / PR base when applicable
git diff <base-sha>...HEAD --stat
git diff <base-sha>...HEAD
If the base is unclear, ask once.
Prefer context supplied by the caller. Otherwise look lightly for:
plans/*-design.mdplans/*-spec.mdplans/*-structure.mdIf no requirements are available, say so and review against general production readiness.
If the host supports subagents/delegation, dispatch one reviewer with a compact review packet. Do not pass session history. Pass only:
If no subagent mechanism is available, review in the main agent and disclose that no independent reviewer was available.
Check:
If the caller gives focus areas, emphasize them without ignoring obvious correctness issues.
Use the output contract below. Do not fix findings. Return control to the caller.
The review contract is intentionally reusable across workflows, but the primitive stays side-effect-free in every mode:
fresh-eyes skill for this posture.rinse may call review, apply user-approved fixes itself, verify, and rerun review. review never participates in the fix loop.pr-patrol may fetch remote PR diffs, call this contract, ask which findings to post, and post only after approval. review never posts comments.Severity semantics:
Each finding must include:
R1, R2, ...)high, medium, low)Output exactly these sections:
### Review Metadata
- Input: local diff / supplied diff / pasted patch
- Base: <sha/branch if known>
- Head: <sha/branch if known>
- Requirements: <source or "not available">
- Independent reviewer: yes/no
### Strengths
- ...
### Findings
#### Critical
##### R1: <short title>
- File: <path:line or unavailable>
- Confidence: high/medium/low
- Issue: ...
- Evidence: ...
- Why it matters: ...
- Suggested fix: ...
- Verification: ...
#### Important
...
#### Minor
...
### Caller Handoff
- Blocking findings: <IDs or none>
- Optional findings: <IDs or none>
- Suggested next action: ...
### Verdict
Ready to merge: Yes / With fixes / No
Reason: ...
If a severity bucket has no findings, write None. under that heading.
Callers that orchestrate external reviewers (for example a future rinse using Codex/Gemini, or a PR patrol workflow reviewing remote PRs) can reuse this prompt contract:
You are an independent reviewer using the review contract.
Review the supplied diff against the supplied requirements/context. Return only Beislið review output format:
- Review Metadata
- Strengths
- Findings grouped by Critical / Important / Minor
- Caller Handoff
- Verdict
Rules:
- Do not edit code.
- Do not post comments.
- Do not invent requirements.
- Prefer concrete findings with file/line evidence.
- Do not mark style-only nits as Critical or Important.
- If requirements are missing, say so and review against production readiness.
Context:
<requirements, implementation summary, verification, focus areas>
Diff:
<diff or patch>
ship-it may block PR creation on Critical/Important findings and may run fresh-eyes after the normal review loop.fresh-eyes may reuse the contract for a side-effect-free whole-diff final pass.rinse may call multiple reviewers using this contract, consolidate findings, fix, verify, and rerun.pr-patrol may fetch a PR, call this contract, ask the user which findings to post, and handle inline comments.review itself never owns those side effects.