Review Repo
Testing & Qualityreview_repoReview Repo is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
リポジトリ全体を構造、コード品質、テスト、ドキュメントの観点から体系的にレビューし、優先度付きの改善レポートを生成する
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/quality/review-repo/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/review-repo, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Review Repository
リポジトリ全体の品質と構造を評価し、改善のロードマップを作成します。
手順
-
ディレクトリ構造の把握:
list_dirを使用して、プロジェクトの全体像(gwexpy,tests,docs,examplesなど)を確認する。find_by_nameで主要なファイル形式(.py,.ipynb,.md,.toml)の分布を確認する。
-
設計・依存関係の確認:
README.mdを読み、プロジェクトの目的と主要機能を理解する。pyproject.tomlやsetup.pyを確認し、依存関係とビルド設定を把握する。
-
コード品質のスクリーニング:
grep_searchで以下のアンチパターンや残存項目を検索する:except Exception:(広範すぎる例外キャッチ)pass(空のブロック)TODO,FIXME,XXX- 古いPythonバージョンへの対応コード (
sys.version_info)
view_file_outlineで主要クラスのメソッドが型ヒントや docstring を持っているか確認する。
-
テスト・品質管理の検証:
run_testsスキルやrun_command(pytest --collect-only) でテストの規模と状態を確認する。- GitHub Actions (
.github/workflows) などのCI設定を確認する。
-
レポートの生成とタスク化:
- 以下のセクションを含むレポートを作成する:
- 概要: プロジェクトの規模と現在の状態。
- 長所: 良い実装や設計のポイント。
- 改善点 (P1:高, P2:中, P3:低): 優先度順に整理された具体的な問題点。
- レポートを元に、AIが理解しやすい「改善タスク用プロンプト」を
.agent/ディレクトリにマークダウン形式で保存する。
- 以下のセクションを含むレポートを作成する: