← Back to list

code-review
by eug-subscription
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: code-review description: Validates TypeScript/React code against dev_instruction_v3.md standards. Checks for anti-patterns like export default, onClick usage, wrapper components, and any types. Use before committing or during code review.
Code Review Skill
Validates code against project standards from dev_instruction_v3.md.
Anti-Patterns to Detect
| Pattern | Violation | Correct |
|---|---|---|
export default | ❌ Forbidden | export function |
onClick on HeroUI | ❌ Use onPress | onPress={handler} |
| Wrapper imports | ❌ No wrappers | Import from @heroui/react |
any type | ❌ Strict typing | Define proper types |
"use client" | ❌ Not for Vite SPA | Remove directive |
How to Check
Run the standards check script:
.agent/skills/code-review/scripts/check-standards.sh src/
Manual Review Checklist
- Named exports only (
export function) - No
anytypes - No wrapper components
-
onPressfor HeroUI interactions - Mock data in
src/data/ - Logic extracted to
src/hooks/ - Data fetching uses
useQuery - Tested in both light and dark themes
Reference
See dev_instruction_v3.md for complete coding standards.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon