pr-audit

Audit GitHub Pull Requests with build, test, commit, and diff checks.

9|1|Updated Jul 19, 2022
One-click install
npx skills add https://github.com/benthamite/dotfiles --skill pr-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-audit
Source: https://github.com/benthamite/dotfiles/tree/main/claude/skills/pr-audit
Command: npx skills add https://github.com/benthamite/dotfiles --skill pr-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the comprehensive review of a GitHub Pull Request, catching potential issues before they reach maintainers and reducing review cycles.

Core Features & Use Cases

  • Pre-submission Checks: Verifies code compilation, test suite execution, and commit structure.
  • Diff Analysis: Compares changes against the base branch and checks for unintended modifications.
  • Artifact Detection: Scans for temporary files, debug statements, secrets, and whitespace issues.
  • Use Case: Before pushing a significant feature branch, run this audit to ensure all tests pass, code is clean, and the commit history is logical.

Quick Start

Run a full audit of the current pull request.

Frequently Asked Questions about pr-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a GitHub pull request before submission?

To audit a GitHub pull request, this Skill executes build, test, commit, and diff checks against the base branch. It validates code integrity and commit structure to ensure the PR is ready for maintainer review.

What is the best way to check for debug statements and secrets in a PR?

The best way to check for debug statements and secrets in a PR is through artifact detection. This Skill scans temporary files, debug statements, secrets, and whitespace issues to ensure code is clean before submission.

How does diff analysis work when reviewing a feature branch?

Diff analysis works by comparing changes against the base branch to check for unintended modifications. This Skill validates code integrity and ensures adherence to project conventions during the review process.

Can I use this to verify commit structure and test suite execution?

Yes, you can use this to verify commit structure and test suite execution. As a pre-submission check, it confirms code compilation, runs tests, and validates the commit history is logical before pushing a significant feature branch.

Why does my pull request fail the CI audit?

Your pull request may fail the CI audit due to compilation errors, failing tests, or improper commit structure. This Skill identifies and reports all potential issues, including unintended modifications and artifact detection failures.