
Code Review
A structured PR review workflow that combines language-agnostic quality checks with framework-specific references. It walks through five steps: understanding changes, security and logic validation, language-specific best practices (TypeScript internal, React/Next.js via Vercel's external skill), and an approval decision based on a point system where Critical issues are automatic rejections. The interesting piece is the CI optimization: a triage phase using Haiku generates a .pr-triage.json that tells the main review which references to load and which surface issues to skip, cutting token costs significantly. It also supports incremental reviews on PR updates by caching previous state. Built for GitHub Actions but works standalone, with special handling for authorization patterns and PostgreSQL RLS when detected.
- skills.sh installs
- 2.3K
- GitHub stars
- 3
- last updated
- Aug 21, 2026
Install
$ npx -y skills add xtone/ai_development_tools --skill code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
コードレビュー
PRやコード変更を体系的にレビューするための汎用スキルです。 言語非依存の共通レビュー基準と、言語/フレームワーク固有のベストプラクティスを組み合わせて使用します。
ディレクトリ構成
code-review/
├── SKILL.md (このファイル)
└── references/
├── typescript-best-practices.md # TypeScript固有のチェック
├── authorization-review-general.md # 認可レビュー観点(一般編)
├── authorization-review-postgres-rls.md # 認可レビュー観点(PostgreSQL RLS編)
├── github-pr-review-actions.md # GitHub PRレビューアクション
├── ci-optimized-workflow.md # CI環境でのコスト最適化ワークフロー
├── incremental-review.md # インクリメンタルレビューの詳細
├── skill-review.md # Claude Codeスキル(SKILL.md)レビュー基準
├── skill-overview.md # スキル概要(公式ドキュメント)
└── skill-best-practices.md # スキルベストプラクティス(公式ドキュメント)
ランタイムファイル
CI実行時に自動生成されるファイル。リポジトリにはコミットしない。
| ファイル | 用途 | ライフサイクル |
|---|---|---|
.pr-triage.json | トリアージ結果 | 毎回生成 |
.pr-review-state.json | レビュー状態 | actions/cache で実行間永続化 |
外部スキル連携
React / Next.js のベストプラクティスは、Vercel提供の vercel-react-best-practices スキルを使用する。
Sponsors
Details
- Repository
- github.com/xtone/ai_development_tools
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
- First seen
- May 16, 2026