← スキル一覧に戻る

coderabbit
by mcart13
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: coderabbit description: Process CodeRabbit AI PR review suggestions from CODERABBIT.md in the TCC repo; triage, validate against code/specs, and implement safe, production-ready fixes.
CodeRabbit
Process CodeRabbit suggestions when CODERABBIT.md has new review comments. Validate before fixing; line numbers drift.
Workflow
1) Build issue index
Read CODERABBIT.md and create a tracking table:
| ID | Severity | File | Status | Notes |
|---|---|---|---|---|
| S1 | HIGH | db/schema.sql | pending | RLS |
| #1 | CRIT | apps/api/... | pending | Auth |
2) Validate using snippets (not line numbers)
Search for the exact pattern referenced in the comment:
rg "<snippet>" apps api db
Verify:
- Pattern exists in the current code
- Issue not already fixed
- No ADR or spec explicitly mandates the pattern
3) Decision sweep before fixes
Check decisions before touching core systems (auth, RLS, telemetry, evidence, audit):
docs/ADRs/ENGINEERING_SPEC.mdIMPLEMENTATION_PLAN.md
4) Skip rules
Always skip:
- Comments about
.mdfiles (docs-only) - Suggestions that conflict with ADRs/specs
- Style/formatting preferences
- Test-only issues unless they affect reliability
5) Production guardrails
- RLS: use
app.tenant_idfrom auth context; never trust tenant_id from request body - Auth: respect Keycloak/JWT or
X-API-Keyflows; never weaken authz checks - Audit: preserve
audit_events_hash_chain_trgbehavior; don't bypass audit logging - Evidence packs: never mutate evidence after creation; preserve signed manifests
- Telemetry: never store call content, transcripts, or PHI
Related skills
code-simplifier
After fixes, use code-simplifier if:
- Fixes introduced duplication
- Control flow became deeply nested
- Multiple similar patterns could share a helper
Common false positives
- "Missing null check" - may be guaranteed by types or upstream validation
- "Hardcoded value" - may be required by spec or ADR
- "No error handling" - may be handled by outer middleware
- "RLS missing" - check if RLS is enforced at the transaction/session layer
Output format
- Quick status table (ID, Severity, Status, File, Action)
- Summary: Total | Fixed | Skipped | Deferred
- Files changed list
- Verification commands run (typecheck/lint/build)
- Fixed issues with details
- Skipped issues with reasons
- Deferred issues needing user input
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です