スキル一覧に戻る
mcart13

coderabbit

by mcart13

0🍴 0📅 2026年1月14日
GitHubで見るManusで実行

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:

IDSeverityFileStatusNotes
S1HIGHdb/schema.sqlpendingRLS
#1CRITapps/api/...pendingAuth

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.md
  • IMPLEMENTATION_PLAN.md

4) Skip rules

Always skip:

  • Comments about .md files (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_id from auth context; never trust tenant_id from request body
  • Auth: respect Keycloak/JWT or X-API-Key flows; never weaken authz checks
  • Audit: preserve audit_events_hash_chain_trg behavior; don't bypass audit logging
  • Evidence packs: never mutate evidence after creation; preserve signed manifests
  • Telemetry: never store call content, transcripts, or PHI

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

  1. Quick status table (ID, Severity, Status, File, Action)
  2. Summary: Total | Fixed | Skipped | Deferred
  3. Files changed list
  4. Verification commands run (typecheck/lint/build)
  5. Fixed issues with details
  6. Skipped issues with reasons
  7. 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

レビュー

💬

レビュー機能は近日公開予定です