code-quality-review-all
БесплатноБез исполняемых скриптовНе проверенReview all evaluations in the repository against a single code quality standard. Checks ALL evals against ONE standard for periodic quality reviews. Use when…
Об этом скилле
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 inspect-evals-lint --all --select <rule>. 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
- P
Установить code-quality-review-all в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл code-quality-review-all?
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).
Как установить скилл code-quality-review-all?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-quality-review-all запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic