---
name: automated-repository-review-and-test-verification
description: "Reviews incoming code branches against local project guidelines, runs test suites and linters through the terminal, and drafts structured pull request feedback. Use when a new pull request needs verification before any review is submitted."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub, Notes."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/automated-repository-review-and-test-verification/"
  kind: workflow
  hermes:
    tags: ["codereview", "git", "terminal", "testing", "automation"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Automated repository review and test verification

Inspect code diffs, run local verification suites, and propose structured pull request feedback.

## When to use

Analyze incoming code branches against local project guidelines, run test suites and linters via the terminal, and compile detailed review summaries with suggested improvements before posting any comments back to GitHub.

## Inputs

- `repository`: Repository containing the changed files and guidelines to review against
- `pull_request`: Pull request or branch whose diff should be inspected and verified
- `review_guidelines` (optional): Project guidelines describing required patterns and style expectations

## Steps

1. When something happens: New pull request opened (A new pull request is opened in the repository)
2. Run tests and inspect diffs
3. Approve review submission to GitHub

## Instructions

Review the modified files in the repository and check repository guidelines for required patterns. Run unit tests and linters through the terminal to verify the changes. Prepare a structured report identifying potential bugs, broken tests, or style regressions. Do not post comments, push commits, or submit reviews to GitHub without explicit user approval.

## Approvals

- Posting review comments to GitHub requires explicit user approval.
- Pushing commits to the repository requires explicit user approval.
- Submitting the review to GitHub requires explicit user approval.

## Output

Structured review report listing potential bugs, broken tests, and style regressions with suggested improvements. (format: markdown)

## Harness notes

- Claude Code: Save this file as ~/.claude/skills/automated-repository-review-and-test-verification/SKILL.md (or .claude/skills/automated-repository-review-and-test-verification/SKILL.md in the repo). Claude Code loads it when the task matches; run /automated-repository-review-and-test-verification to start it directly.

## Source

Summarized in our own words from [claude-code-best-practice: from vibe coding to agentic engineering - practice makes claude perfect](https://github.com/shanraisshan/claude-code-best-practice) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/automated-repository-review-and-test-verification/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
