feat(workflow): DLT-3290 add plan for review rules sync automation#1191
feat(workflow): DLT-3290 add plan for review rules sync automation#1191belumontoya wants to merge 1 commit intostagingfrom
Conversation
Add plan document for syncing review rules across .claude/rules/, .coderabbit.yaml, and the claude-code-review workflow prompt. This PR also serves as a test to verify that both Claude Code Review and CodeRabbit run correctly with the new configurations from #1189.
WalkthroughA planning document is added that outlines a feature to synchronize review rules across three independent locations—Claude Code rules, Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/plans/2026-04-10-review-rules-sync.md`:
- Line 11: The source-list at the top (the list including
`.claude/rules/code-review.md`, `vue-components.md`, `css-utilities.md`,
`design-tokens.md`) is missing `.claude/rules/icons.md` while the sync mapping
table later references `.claude/rules/icons.md` on Lines 29-30; make these
consistent by either adding `.claude/rules/icons.md` to the source-list or
removing it from the mapping table so the automation triggers are unambiguous,
and ensure both the source list and the mapping table reference the exact same
set of filenames (e.g., `.claude/rules/icons.md`,
`.claude/rules/code-review.md`) to avoid mismatch.
🪄 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: Repository YAML (base), Central YAML (inherited), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: 83523cb1-2dfa-47bf-b05e-1564a1a2d245
📒 Files selected for processing (1)
docs/plans/2026-04-10-review-rules-sync.md
|
|
||
| Review rules now live in three places that drift independently: | ||
|
|
||
| 1. `.claude/rules/code-review.md` (+ `vue-components.md`, `css-utilities.md`, `design-tokens.md`) — source of truth for Claude Code local development |
There was a problem hiding this comment.
Align source-file scope across sections
Line 11 omits .claude/rules/icons.md, but Lines 29-30 include it in the sync mapping. Please keep the source list and mapping table consistent so automation triggers are unambiguous.
Also applies to: 29-30
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/plans/2026-04-10-review-rules-sync.md` at line 11, The source-list at
the top (the list including `.claude/rules/code-review.md`, `vue-components.md`,
`css-utilities.md`, `design-tokens.md`) is missing `.claude/rules/icons.md`
while the sync mapping table later references `.claude/rules/icons.md` on Lines
29-30; make these consistent by either adding `.claude/rules/icons.md` to the
source-list or removing it from the mapping table so the automation triggers are
unambiguous, and ensure both the source list and the mapping table reference the
exact same set of filenames (e.g., `.claude/rules/icons.md`,
`.claude/rules/code-review.md`) to avoid mismatch.
🛠️ Type Of Change
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DLT-3290
📖 Description
Adds plan document for automating review rules sync across
.claude/rules/,.coderabbit.yaml, and the claude-code-review workflow prompt.This PR also serves as a test run to verify that both Claude Code Review and CodeRabbit work correctly with the new configurations from #1189:
error_max_turns(0 permission denials).coderabbit.yaml💡 Context
After merging #1189, review rules live in three places. This ticket tracks building the automation to keep them in sync using the existing doc-sync pattern (edit tracker hook → pre-push guard → enforcer skill).
📝 Checklist
🔮 Next Steps
Adds a plan document for automating review rules synchronization (DLT-3290). Proposes extending the existing doc-sync mechanism to keep review rules synchronized across
.claude/rules/,.coderabbit.yaml, and the workflow prompt when source files are edited. Includes a mapping table of rule file associations.