code-quality-review-all
Checks all evaluations against one unified quality standard for consistent code reviews.
Install
mkdir -p .claude/skills/code-quality-review-all && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1873" && unzip -o skill.zip -d .claude/skills/code-quality-review-all && rm skill.zipInstalls to .claude/skills/code-quality-review-all
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Review all evaluations in the repository against a single code quality standard. Checks ALL evals against ONE standard for periodic quality reviews. Use when user asks to review/audit/check all evaluations for a specific topic or standard. Do NOT use for reviewing a single eval (use eval-quality-workflow instead) or for test coverage (use ensure-test-coverage instead).Key capabilities
- →Audit all repository evaluations against a single standard
- →Generate standardized README and summary documentation
- →Track fix status for identified issues
- →Automate issue detection using linting and grep scripts
How it works
The skill scans all evaluations in the repository, compares them against a specific quality standard, and maintains a centralized results.json file.
Inputs & outputs
When to use code-quality-review-all
- →Running repository-wide audits
- →Checking code quality consistency
- →Implementing standards across evals
About this skill
Review All Evaluations
Review all evaluations in the repository against a single code quality standard or topic. This workflow is useful for systematic code quality improvements and ensuring consistency across all evaluations.
Workflow
Setup
If not already provided, ask user for the topic from the CONTRIBUTING.md or BEST_PRACTICES.md that this review should be focused on. If not provided, come up with a short topic identifier in a file-safe format (e.g., pytest_marks, import_patterns, test_coverage).
Create or read existing directory structure:
<repo root>/agent_artefacts/code_quality/<topic_id>/- Directory for this review topic<repo root>/agent_artefacts/code_quality/<topic_id>/README.md- Documentation for this specific topic<repo root>/agent_artefacts/code_quality/<topic_id>/results.json- Results of the review<repo root>/agent_artefacts/code_quality/<topic_id>/SUMMARY.md- Summary of the review
README.md Structure
The README.md file should contain topic-specific information:
- Topic Description: What this review checks for and why it matters
- Requirements: Specific requirements from CONTRIBUTING.md or BEST_PRACTICES.md
- Detection Strategy: How to identify issues (patterns to look for, tools to use)
- Commands: Specific commands useful for this topic (grep patterns, pytest commands, etc.)
- Good Examples: Code snippets showing correct implementation
- Bad Examples: Code snippets showing common mistakes and how to fix them
- Review Date: When this documentation was created/updated
results.json Structure
The results.json file should follow the template in assets/results-template.json. It contains one entry per evaluation in <repo root>/src/inspect_evals/, with status and issue details.
Important: The issue_location field should use paths relative to the repository root with forward slashes (e.g., tests/foo/test_foo.py:42 or src/inspect_evals/foo/bar.py:15, not C:\Users\...\test_foo.py:42 or tests\foo\test_foo.py:42).
General Guidelines for All Topics
-
Systematic Approach: Review all evaluations in a consistent manner. Use scripts or automated tools where possible to ensure completeness.
-
Clear Issue Reporting: Each issue should include:
- The specific file and line number where the issue occurs
- A clear description of what's wrong
- A concrete suggestion for how to fix it
- The issue type for categorization
-
Verification: After identifying potential issues, verify a sample of them by reading the actual files to ensure accuracy.
-
Statistics: Provide summary statistics including:
- Total evaluations reviewed
- Number passing/failing
- Breakdown of issue types
- Most affected evaluations
-
Prioritization: Identify which issues are most critical or affect the most evaluations to help guide remediation efforts.
-
Reusability: Write scripts and documentation that can be rerun easily as the codebase evolves. Include any helper scripts in the topic directory.
-
False Positives: Be aware that automated detection may produce false positives. When possible, include logic to reduce these or document known limitations.
Workflow Steps
- Create the directory structure:
agent_artefacts/code_quality/<topic_id>/ - Handle existing results.json (if re-running review):
- Read existing results.json
- Note issues that have "fix_status" field (were attempted to be fixed)
- After scanning current code state, compare with existing results
- Remove entries for issues that no longer exist (they were successfully fixed)
- Keep entries for issues that still exist, preserving "fix_status" if present
- Add new entries for newly discovered issues
- Use autolint to scan all evaluations:
uv run python tools/run_autolint.py --all-evals --check. Parse its output to identify structural issues across evals. For topic-specific checks beyond autolint's scope, write targeted grep/AST scripts in the topic directory. - Organize findings by evaluation name
- Write topic-specific documentation to
README.md - Write results to
results.jsonwith relative paths:- Include all currently detected issues
- IMPORTANT: Preserve "fix_status" field for issues that still exist
- Remove issues that are no longer detected in the code
- Create a
SUMMARY.mdfile in the topic directory with:- Overview of findings
- Key statistics
- Most affected evaluations
- Recommendations for remediation
- Impact analysis
- If you created helper scripts, save them in the topic directory for future use
- Inform the user that the review is complete and where to find the results
Skill Responsibilities
This skill (code-quality-review-all) owns results.json and has full control:
- Add new issues when detected
- Update existing issues if location/description changes
- Remove issues that no longer exist in the codebase
- Preserve "fix_status" field when updating issues
- Update evaluation status (pass/fail) based on current findings
The code-quality-fix-all skill has limited control:
- Can ONLY add/update the "fix_status" field on existing issues
- Cannot remove entries from results.json
- Relies on this skill to verify fixes and remove resolved issues
This separation ensures:
- Clear ownership of results.json
- Fix skill focuses on fixing, not determining what's fixed
- Review skill has authoritative view of current code state
Expected Output
After running this workflow, you should have:
agent_artefacts/code_quality/<topic_id>/
├── README.md # Topic-specific documentation
├── results.json # Detailed results for all evaluations
├── SUMMARY.md # Executive summary
└── <helper_scripts> # Optional: automated checker scripts
When not to use it
- →Reviewing a single evaluation file
- →Checking test coverage metrics
Prerequisites
Limitations
- →Automated detection may produce false positives
- →Requires manual verification of identified issues
How it compares
It provides a systematic, repository-wide audit trail rather than ad-hoc individual file checks.
Compared to similar skills
code-quality-review-all side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| code-quality-review-all (this skill) | 3 | 4mo | No flags | Advanced |
| deepwiki-rs | 25 | 9mo | Review | Intermediate |
| python-code-style | 9 | 6mo | Review | Intermediate |
| code-review-excellence | 19 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by UKGovernmentBEIS
View all by UKGovernmentBEIS →You might also like
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
python-code-style
wshobson
Python code style, linting, formatting, naming conventions, and documentation standards. Use when writing new code, reviewing style, configuring linters, writing docstrings, or establishing project standards.
code-review-excellence
wshobson
Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.
code-walk-thru
pchalasani
Use this when user wants you to walk through (code or text) files in a EDITOR to either explain how some code works, or to show the user what changes you made, etc. You would typically use this repeatedly to show the user your changes or code files one by one, sometimes with specific line-numbers. This way the user is easily able to follow along in their favorite EDITOR as you point at various files possibly at specific line numbers within those files.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
schema-markup
davila7
When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," or "breadcrumb schema." For broader SEO issues, see seo-audit.