Install
$ agentstack add skill-idaibin-skills-repo-review ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Repository Review
Overview
Review repository changes without modifying files, Git, GitHub, or remote state. Select the review basis first, then apply the matching mode. Worktree mode owns dirty-tree classification and commit-readiness guidance; immutable modes own fixed-SHA P0-P3 review. All modes share contract tracing, structural completeness, specialist coordination, evidence quality, and read-only authority.
Review Basis
Select exactly one basis before conclusions:
- Worktree/index: current tracked, untracked, staged, and unstaged state.
- Repository snapshot: one tag, branch resolved to SHA, or commit.
- Commit range: explicit immutable
base..headSHAs. - Pull request: metadata plus complete changed-file evidence and resolved base/head SHAs.
- Release candidate: immutable candidate revision plus release/config/CI evidence.
- Review package: verified manifest, hashes, coverage, exclusions, and final marker.
Do not mix evidence between bases. Current-worktree content is contamination when reviewing another SHA unless explicitly included in the basis.
Workflow
- Read effective repository guidance and record the requested review object, scope, output, and non-goals.
- Fix the basis before conclusions:
- for Worktree, run status, diff stat/name-status, and cached equivalents when staged content exists;
- for immutable modes, resolve full SHAs or verify the package manifest and hashes.
- Build the smallest complete read set from changed or explicitly owned paths. A
repo-mapartifact may guide navigation but is never review proof. - In Worktree mode, classify every changed file as
task-owned,related-existing,unrelated-existing,mixed-hunk, orunknownbefore proposing commit groups. - Trace relevant interfaces through registrations, callers, types, data shaping, persistence, generated artifacts, runtime config, tests, docs, CI/deploy, and stale references.
- Evaluate two independent axes:
- Standards: repository guidance, architecture, correctness, security, performance, maintainability, and applicable domain conventions.
- Spec: originating requirements, decisions, acceptance criteria, missing behavior, wrong behavior, and unrequested scope.
If no trustworthy spec exists, mark Spec Not verified; do not infer one from the diff.
- Keep the two evidence passes independent. They may run in parallel only when delegation is available, both scopes are read-only and fixed, and the coordinator can verify and integrate their results.
- Select only applicable frontend, Rust, security, validation, and release profiles. Delegate bounded evidence to
audit-frontend,audit-rust, oraudit-security; retain scope, integration, deduplication, severity, and final report ownership. - Resolve documented path mismatches at the selected basis. If a path or parent is absent, ascend to the nearest existing ancestor and search only the relevant subtree; route repo-map edits to
repo-map. - Reject speculative, unreachable, style-only, duplicate, or already-resolved findings. Consolidate both axes into P0-P3 findings from concrete impact and urgency while retaining each finding's axis.
- Run only non-mutating repository checks needed for the selected basis and risk.
- In Worktree mode, produce semantic commit groups and exact path- or hunk-level staging guidance for
repo-delivery. In immutable modes, report merge/release implications without staging guidance. - Report exclusions, residual risks, failed checks, and every
Not foundorNot verifiedgap.
Modes
- Worktree review: dirty-tree ownership, mixed hunks, contract completeness, commit readiness, semantic groups, exact staging guidance, and commit messages.
- Snapshot review: bounded review of one fixed repository revision.
- Range review:
base..headregressions, contracts, tests, docs, and structural lifecycle. - Pull-request review: complete PR evidence without posting comments unless separately authorized.
- Release review: compatibility, migrations, generated artifacts, packaging, CI, deployment, rollback, and security-sensitive configuration.
- Review-package assessment: package integrity and evidence coverage before findings.
Do Not Use For
- Repository mapping or repo-map maintenance; use
repo-map. - Future implementation planning; use the host's built-in planning.
- Business-domain modeling without a change basis; use
domain-modeling. - Root-cause diagnosis of a concrete failure; use the host's built-in diagnosis under effective instructions.
- A bounded security-only audit when the target surface is already known; use
audit-security. - Implementing accepted fixes; use the matching
implement-*skill. - Staging, commits, pushes, squash, cleanup, or other Git mutation; use
repo-deliveryafter explicit authorization. - External ChatGPT sending or browser/client operation; use the matching operations skill.
Hard Rules
- Keep every review read-only. Do not edit, format, stage, unstage, commit, push, change refs, post comments, or create issues/PRs.
- State the review basis and resolved SHAs before immutable conclusions; state complete status/index evidence before Worktree conclusions.
- Never use current-worktree files to clear a finding at another SHA.
- Inventory the full dirty tree even when Worktree scope is narrower, then preserve unrelated changes.
- Mark mixed files
mixed-hunk; never recommend whole-file staging unless every hunk belongs to the group. - Do not recommend
git add .,git add -A, directory-wide adds, or broad wildcards unless explicitly approved. - Do not claim whole-repository, PR, release, or package coverage from partial evidence.
- Do not report findings without reachable evidence and concrete impact.
- Do not approve structural add/reuse/move/rename/delete work while manifests, exports, commands, tests, CI/deploy, docs, indexes, migrations, generated files, consumers, or stale references disagree.
- Treat runtime, CI, deployment, external services, branch policy, and package completeness as
Not verifiedunless directly evidenced.
Output Contract
Lead with mode, basis, scope, exclusions, and validation, then severity-ranked P0-P3 findings labeled Standards, Spec, or both. Every finding includes exact location, cited standard or requirement when available, evidence, impact, remediation, and verification. Include a concise Standards verdict and Spec Compliance verdict; mark missing specification evidence Not verified. For Worktree mode, also report ownership labels, staged-state risks, semantic commit groups, exact staging approach, validation status, and concise commit messages. For immutable modes, include resolved SHAs, cross-domain integration, merge/release implications, and No actionable findings for empty requested groups. Finish with final verdict, residual risk, and all Not found or Not verified items.
References
- See [references/usage.md](references/usage.md) for routing and mode examples.
- See [references/worktree-checklist.md](references/worktree-checklist.md) for dirty-tree ownership and commit-readiness review.
- See [references/checklist.md](references/checklist.md) for immutable basis, severity, and release review.
- See [references/standards-and-spec.md](references/standards-and-spec.md) for independent Standards and Spec review axes.
- See [references/worktree-examples.md](references/worktree-examples.md) for commit grouping examples.
- See [references/eval-cases.md](references/eval-cases.md) for trigger, boundary, scenario, and quality evals.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: idaibin
- Source: idaibin/skills
- License: Apache-2.0
- Homepage: https://skills.sh/idaibin/skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.