docs: add accessibility rules and refine coding-style, testing, and AGENTS guidelines#3529
Conversation
…GENTS guidelines Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough開発ガイドラインとエージェント指示書を更新。アクセシビリティ規則(新規)、TSDoc ガイダンス、テスト駆動開発の例外処理、カバレッジ目標、ライティングプランの優先順付けを整備。コード変更なし。 Changesアクセシビリティとコーディング規則の整備
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.claude/rules/accessibility.md:
- Around line 38-40: 修正対象の記述は Button の挙動誤記で、`color` 未指定が `aria-label`
を剥奪するかのように書かれている点を直してください。具体的には `.claude/rules/accessibility.md`
の該当箇所を「`icon-only` バリアントでは `aria-label`
はコンポーネントが自動生成せずユーザーが明示指定する必要がある(必須)」「`color` を省略しても Button はデフォルトで 'primary'
を適用するため、`color` の省略が `aria-label` に影響を与えるわけではない」といった正確な表現に書き換え、参照する識別子として
Button、aria-label、color、icon-only variants を明記してください。
In @.claude/rules/coding-style.md:
- Line 35: ファイル内の TSDoc 方針が矛盾しているのでどちらかに統一してください:TSDoc
を「非自明な場合のみ必要」とするルール(現在の箇所にある “TSDoc: add when behavior…” の文言)か、もう一方の「全 export
に対して必須」とするルールのどちらか一方に確定し、もう一方の箇所をその選択に合わせて差し替えてください(該当するテキストはファイル中の “TSDoc: add
when behavior, constraints, or params…” と “全 export 必須”
を含む文言です)。併せてファイル内の同様の記述がないか確認して一貫した表現に統一し、コミットメッセージでどちらの方針を採用したか明記してください。
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 6fd24dad-dd70-4b19-9a68-8128a44ccf74
📒 Files selected for processing (4)
.claude/rules/accessibility.md.claude/rules/coding-style.md.claude/rules/testing.mdAGENTS.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
close #3528
Summary by CodeRabbit