docs(tooling): add PR review and component pattern learnings to agent guides#387
docs(tooling): add PR review and component pattern learnings to agent guides#387
Conversation
- handle-pr-review: add guidance on checking all GitHub API surfaces for CodeRabbit reviews and verifying bot suggestions against installed packages before applying - apps/web/AGENTS.md: add component patterns for base-ui Button render prop, shadcn generated code gotchas, and string fallback operators - apps/cms/AGENTS.md: add seed script idempotency note for nested components Made-with: Cursor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughDocumentation updates: expanded PR review guidance in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 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)
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 the current code and only fix it if needed.
Inline comments:
In @.cursor/skills/handle-pr-review/SKILL.md:
- Around line 39-49: Update the primary workflow's Step 1 so it fetches all
three GitHub surfaces and the GraphQL reviewThreads instead of only
get_review_comments and get_reviews: replace the single-line instruction that
calls get_review_comments and get_reviews with a directive to call GET
/repos/{owner}/{repo}/pulls/{n}/reviews (get_reviews), GET
/repos/{owner}/{repo}/pulls/{n}/comments (get_review_comments), GET
/repos/{owner}/{repo}/issues/{n}/comments (get_issue_comments or issues
comments), and the GraphQL reviewThreads query to surface thread IDs and
resolution status, and retain the "Currently processing new changes" wait/retry
guidance used elsewhere in the doc.
In `@apps/web/AGENTS.md`:
- Around line 26-27: Remove the stale "known issue" bullet about carousel.tsx in
AGENTS.md: update the documentation to delete or reword the sentence claiming
the generated carousel subscribes to Embla's reInit without unsubscribing, since
apps/web/src/components/ui/carousel.tsx now unsubscribes both reInit and select
in its cleanup; reference the carousel component name (carousel.tsx) and the
cleanup/unsubscribe behavior (reInit, select) when editing the doc to avoid
sending future contributors to chase a fixed bug.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 3cfedeca-d0b2-40bc-8579-fff4e9a8511d
📒 Files selected for processing (3)
.cursor/skills/handle-pr-review/SKILL.mdapps/cms/AGENTS.mdapps/web/AGENTS.md
- Update Step 1 in handle-pr-review skill to reference all three GitHub API surfaces and GraphQL reviewThreads query - Replace stale carousel.tsx known-issue with generic verification guidance (cleanup bug was already fixed) Made-with: Cursor
Review feedback addressed (7ba2b6d)Fixed:
Not changed:
|
Summary
handle-pr-reviewskill with guidance on checking all GitHub API surfaces for CodeRabbit reviews and verifying bot suggestions against installed packagesapps/web/AGENTS.md: base-ui Button render prop behavior, shadcn generated code gotchas, string fallback operatorsapps/cms/AGENTS.mdfor nested component arraysContracts Changed
None
Regeneration Required: no
Validation
Resolves #386
Made with Cursor
Summary by CodeRabbit