Agent skill
review_repo
リポジトリ全体を構造、コード品質、テスト、ドキュメントの観点から体系的にレビューし、優先度付きの改善レポートを生成する
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/review-repo
SKILL.md
Review Repository
Evaluates the overall quality and structure of the repository and creates an improvement roadmap.
Procedure
-
Understand Directory Structure:
- Use
list_dirto obtain an overview of the project (e.g.,gwexpy,tests,docs,examples). - Use
find_by_nameto check the distribution of major file formats (.py,.ipynb,.md,.toml).
- Use
-
Verify Design and Dependencies:
- Read
README.mdto understand the project's purpose and key features. - Check
pyproject.tomlorsetup.pyto grasp dependencies and build configurations.
- Read
-
Code Quality Screening:
- Use
grep_searchto find anti-patterns or lingering items:except Exception:(Overly broad exception catching)pass(Empty blocks)TODO,FIXME,XXX- Support code for older Python versions (
sys.version_info)
- Use
view_file_outlineto check if methods in major classes have type hints and docstrings.
- Use
-
Verification of Testing and QA:
- Assess the scale and status of tests using the
run_testsskill orrun_command(pytest --collect-only). - Check CI configurations such as GitHub Actions (
.github/workflows).
- Assess the scale and status of tests using the
-
Report Generation and Task Creation:
- Create a report including the following sections:
- Overview: Project scale and current state.
- Strengths: Points of good implementation and design.
- Improvements (P1: High, P2: Med, P3: Low): Specific issues organized by priority.
- Based on the report, save a "Markdown-formatted improvement task prompt" in the
.agent/directory that is easy for the AI to understand.
- Create a report including the following sections:
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?