Skip to content

Commit 99803b4

Browse files
committed
feat(specs): add coderabbit-pr-fixes spec for addressing PR review comments
1 parent a81ed0f commit 99803b4

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

specs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@
3232
| [2026-02-02-dead-code-cleanup](./2026-02-02-dead-code-cleanup.md) | Remove ~720 lines of dead code: unused files, legacy methods, orphaned helpers | 2026-02-02 |
3333
| [sidebar-toggle](./sidebar-toggle.md) | Ctrl+x b toggles sidebar visibility, persists preference, responsive behavior | 2026-02-02 |
3434
| [spec-command](./spec-command.md) | `iteratr spec` wizard with AI-assisted interview via opencode acp + custom MCP | 2026-02-02 |
35+
| [coderabbit-pr-fixes](./coderabbit-pr-fixes.md) | Fetch unresolved coderabbitai[bot] PR comments, create tasks, fix issues | 2026-02-04 |

specs/coderabbit-pr-fixes.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# CodeRabbit PR Fixes
2+
3+
## Overview
4+
5+
Check for open PR from current branch, fetch unresolved coderabbitai[bot] comments, create tasks, fix issues.
6+
7+
## User Story
8+
9+
Developer wants to quickly address all CodeRabbit review feedback without manually copying comments.
10+
11+
## Requirements
12+
13+
- Detect open PR from current git branch via `gh pr view`
14+
- Fetch all review comments from `coderabbitai[bot]`
15+
- Filter to unresolved comments only
16+
- Skip comments referencing deleted/non-existent code
17+
- Create actionable tasks from each comment
18+
- Fix each issue
19+
20+
## Technical Implementation
21+
22+
Use `gh` CLI:
23+
- `gh pr view --json number,state` - check PR exists
24+
- `gh api repos/{owner}/{repo}/pulls/{pr}/comments` - fetch comments
25+
- Filter by `user.login == "coderabbitai[bot]"` and unresolved state
26+
27+
## Tasks
28+
29+
### 1. Fetch and fix CodeRabbit comments
30+
- [ ] Check for open PR from current branch, fetch unresolved coderabbitai[bot] comments, create tasks for issues, fix them
31+
32+
## Out of Scope
33+
34+
- Creating PRs
35+
- Resolving comment threads automatically
36+
- Non-CodeRabbit review comments
37+
38+
## Open Questions
39+
40+
None

0 commit comments

Comments
 (0)