---
name: repository-quality-audit-against-project-standards
description: "Reviews pull request diffs against a repository's quality guideline documents and drafts a structured review of adherence and gaps. Use when a new pull request is opened and needs a standards-based quality audit before merge."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/repository-quality-audit-against-project-standards/"
  kind: workflow
  hermes:
    tags: ["git", "code-review", "qa", "developer-tools"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Repository quality audit against project standards

Evaluate open pull requests against project quality criteria and flag gaps before merge

## When to use

Maintain consistency across a codebase by checking new pull requests against project quality standards. The bot parses quality specifications, inspects changed files, tests assertions, and presents a structured review.

## Inputs

- `repository`: The repository containing the quality guideline documents and the pull request to audit.
- `pull_request`: The opened pull request whose diff will be checked against project quality standards.

## Steps

1. When something happens: Pull request opened (A pull request is opened in the repository)
2. Check changes against quality guidelines
3. Draft review comment for approval

## Instructions

Inspect the repository for quality guideline documents and identify key standards for documentation, testing, and architecture. When a pull request is submitted, analyze the diff against these standards. Run necessary linter checks via terminal. Draft a comprehensive review summary highlighting adherence and gaps, but wait for user approval before submitting any comments or review approvals on GitHub.

## Approvals

- Wait for user approval before submitting any review comments on GitHub.
- Wait for user approval before submitting any review approvals on GitHub.

## Output

Draft review comment summarizing adherence to quality standards and highlighting gaps, held for approval before posting. (format: comment)

## Source

Summarized in our own words from [Show HN: QUALITY.md – open format/specification, agent skill, and CLI](https://news.ycombinator.com/item?id=48763963) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/repository-quality-audit-against-project-standards/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
