typescript-code-review-skill
TypeScript/React向けコードレビュースキル。命名規則、テストコード品質のレビューを実施。TypeScriptコードのレビュー、PRレビューを依頼された際に使用。
When & Why to Use This Skill
This Claude skill automates the code review process for TypeScript and React projects, focusing on enforcing naming conventions and ensuring high-quality test code. By leveraging industry standards like the FIRST principles and AAA pattern, it helps developers maintain clean, scalable, and well-tested codebases during the Pull Request (PR) process.
Use Cases
- Automated Pull Request Reviews: Streamline the PR process by automatically checking TypeScript code for naming convention compliance and structural integrity.
- Test Quality Assurance: Evaluate test suites against FIRST principles (Fast, Independent, Repeatable, Self-Validating, Timely) and the AAA (Arrange, Act, Assert) pattern to improve reliability.
- Technical Debt Reduction: Identify and categorize code issues into 'Blocking', 'Should Fix', or 'Nice to Have' to help teams prioritize refactoring efforts in React applications.
- Onboarding and Standardization: Ensure new team members adhere to project-specific coding standards and best practices through consistent, automated feedback.
| name | typescript-code-review-skill |
|---|---|
| description | TypeScript/React向けコードレビュースキル。命名規則、テストコード品質のレビューを実施。TypeScriptコードのレビュー、PRレビューを依頼された際に使用。 |
TypeScript Code Review Skill
TypeScript/Reactプロジェクト向けのコードレビューを実施する。
レビュー観点
| 観点 | 説明 | 参照 |
|---|---|---|
| 命名規則 | TypeScript命名規則の準拠 | naming-review.md |
| テストコード | FIRST原則、AAA、網羅性の確認 | test-review.md |
使用方法
- レビュー対象のコードを受け取る
- 該当する観点のreferenceを読み込む
- 各referenceの出力形式に従ってレビュー結果を出力
重要度分類
- Blocking: 即修正必須
- Should Fix: 修正推奨
- Nice to Have: 改善提案