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-code

Installs 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

More from xtone/ai_development_tools

All 2
1cursor avatarnew-branch-and-prcursor/pluginsCreate a fresh branch, complete work, and open a pull request2.2Kskills.sh installs
2metabase avatardocs-reviewmetabase/metabaseReview documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation ma2Kskills.sh installs
3rtk-ai avatarissue-triagertk-ai/rtkIssue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbe1.4Kskills.sh installs
4sickn33 avatargithub-workflow-automationsickn33/antigravity-awesome-skillsgithub workflow automation1.3Kskills.sh installs
5neolabhq avatarcommitneolabhq/context-engineering-kitCreate well-formatted commits with conventional commit messages and emoji1.2Kskills.sh installs
6neolabhq avatargit-worktreesneolabhq/context-engineering-kitUse when working on multiple branches simultaneously, context switching without stashing, reviewing PRs while developing, testing in isolation, or comparing imp1.2Kskills.sh installs