forge-workflow 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/.claude/commands/plan.md +93 -4
  2. package/.cline/workflows/dev.md +311 -0
  3. package/.cline/workflows/plan.md +475 -0
  4. package/.cline/workflows/premerge.md +176 -0
  5. package/.cline/workflows/research.md +39 -0
  6. package/.cline/workflows/review.md +439 -0
  7. package/.cline/workflows/rollback.md +718 -0
  8. package/.cline/workflows/ship.md +131 -0
  9. package/.cline/workflows/sonarcloud.md +146 -0
  10. package/.cline/workflows/status.md +74 -0
  11. package/.cline/workflows/validate.md +234 -0
  12. package/.cline/workflows/verify.md +218 -0
  13. package/.codex/config.toml +11 -0
  14. package/.codex/skills/dev/SKILL.md +314 -0
  15. package/.codex/skills/plan/SKILL.md +478 -0
  16. package/.codex/skills/premerge/SKILL.md +179 -0
  17. package/.codex/skills/research/SKILL.md +42 -0
  18. package/.codex/skills/review/SKILL.md +442 -0
  19. package/.codex/skills/rollback/SKILL.md +721 -0
  20. package/.codex/skills/ship/SKILL.md +134 -0
  21. package/.codex/skills/sonarcloud/SKILL.md +149 -0
  22. package/.codex/skills/status/SKILL.md +77 -0
  23. package/.codex/skills/validate/SKILL.md +237 -0
  24. package/.codex/skills/verify/SKILL.md +221 -0
  25. package/.cursor/commands/dev.md +311 -0
  26. package/.cursor/commands/plan.md +475 -0
  27. package/.cursor/commands/premerge.md +176 -0
  28. package/.cursor/commands/research.md +39 -0
  29. package/.cursor/commands/review.md +439 -0
  30. package/.cursor/commands/rollback.md +718 -0
  31. package/.cursor/commands/ship.md +131 -0
  32. package/.cursor/commands/sonarcloud.md +146 -0
  33. package/.cursor/commands/status.md +74 -0
  34. package/.cursor/commands/validate.md +234 -0
  35. package/.cursor/commands/verify.md +218 -0
  36. package/.cursor/rules/permissions-guidance.mdc +37 -0
  37. package/.github/prompts/dev.prompt.md +316 -0
  38. package/.github/prompts/plan.prompt.md +480 -0
  39. package/.github/prompts/premerge.prompt.md +181 -0
  40. package/.github/prompts/research.prompt.md +44 -0
  41. package/.github/prompts/review.prompt.md +444 -0
  42. package/.github/prompts/rollback.prompt.md +723 -0
  43. package/.github/prompts/ship.prompt.md +136 -0
  44. package/.github/prompts/sonarcloud.prompt.md +151 -0
  45. package/.github/prompts/status.prompt.md +79 -0
  46. package/.github/prompts/validate.prompt.md +239 -0
  47. package/.github/prompts/verify.prompt.md +223 -0
  48. package/.kilocode/workflows/dev.md +315 -0
  49. package/.kilocode/workflows/plan.md +479 -0
  50. package/.kilocode/workflows/premerge.md +180 -0
  51. package/.kilocode/workflows/research.md +43 -0
  52. package/.kilocode/workflows/review.md +443 -0
  53. package/.kilocode/workflows/rollback.md +722 -0
  54. package/.kilocode/workflows/ship.md +135 -0
  55. package/.kilocode/workflows/sonarcloud.md +150 -0
  56. package/.kilocode/workflows/status.md +78 -0
  57. package/.kilocode/workflows/validate.md +238 -0
  58. package/.kilocode/workflows/verify.md +222 -0
  59. package/.opencode/commands/dev.md +314 -0
  60. package/.opencode/commands/plan.md +478 -0
  61. package/.opencode/commands/premerge.md +179 -0
  62. package/.opencode/commands/research.md +42 -0
  63. package/.opencode/commands/review.md +442 -0
  64. package/.opencode/commands/rollback.md +721 -0
  65. package/.opencode/commands/ship.md +134 -0
  66. package/.opencode/commands/sonarcloud.md +149 -0
  67. package/.opencode/commands/status.md +77 -0
  68. package/.opencode/commands/validate.md +237 -0
  69. package/.opencode/commands/verify.md +221 -0
  70. package/.roo/commands/dev.md +315 -0
  71. package/.roo/commands/plan.md +479 -0
  72. package/.roo/commands/premerge.md +180 -0
  73. package/.roo/commands/research.md +43 -0
  74. package/.roo/commands/review.md +443 -0
  75. package/.roo/commands/rollback.md +722 -0
  76. package/.roo/commands/ship.md +135 -0
  77. package/.roo/commands/sonarcloud.md +150 -0
  78. package/.roo/commands/status.md +78 -0
  79. package/.roo/commands/validate.md +238 -0
  80. package/.roo/commands/verify.md +222 -0
  81. package/LICENSE +21 -21
  82. package/docs/ENHANCED_ONBOARDING.md +2 -2
  83. package/docs/TOOLCHAIN.md +15 -234
  84. package/install.sh +32 -36
  85. package/lib/commands/plan.js +11 -15
  86. package/lib/commands/recommend.js +2 -2
  87. package/lib/dep-guard/analyzer.js +294 -0
  88. package/lib/dep-guard/behavior-detector.js +98 -0
  89. package/lib/dep-guard/contract-detector.js +162 -0
  90. package/lib/dep-guard/import-detector.js +498 -0
  91. package/lib/dep-guard/path-utils.js +13 -0
  92. package/lib/dep-guard/rubric.js +120 -0
  93. package/lib/dep-guard/task-parser.js +318 -0
  94. package/lib/plugin-catalog.js +18 -28
  95. package/lib/workflow-profiles.js +5 -11
  96. package/package.json +15 -4
  97. package/skills/parallel-deep-research/SKILL.md +108 -0
  98. package/skills/parallel-deep-research/evals/README.md +27 -0
  99. package/skills/parallel-deep-research/evals/evals.json +62 -0
  100. package/skills/sonarcloud-analysis/SKILL.md +171 -0
  101. package/skills/sonarcloud-analysis/evals/README.md +27 -0
  102. package/skills/sonarcloud-analysis/evals/evals.json +50 -0
  103. package/skills/sonarcloud-analysis/references/api-reference.md +466 -0
  104. package/docs/planning/PROGRESS.md +0 -396
  105. package/docs/plans/.gitkeep +0 -0
  106. package/docs/plans/2026-02-27-forge-test-suite-v2-decisions.md +0 -21
  107. package/docs/plans/2026-02-27-forge-test-suite-v2-design.md +0 -362
  108. package/docs/plans/2026-02-27-forge-test-suite-v2-tasks.md +0 -343
  109. package/docs/plans/2026-03-02-superpowers-gaps-decisions.md +0 -26
  110. package/docs/plans/2026-03-02-superpowers-gaps-design.md +0 -239
  111. package/docs/plans/2026-03-02-superpowers-gaps-tasks.md +0 -260
  112. package/docs/plans/2026-03-04-agent-command-parity-design.md +0 -163
  113. package/docs/plans/2026-03-04-verify-worktree-cleanup-decisions.md +0 -7
  114. package/docs/plans/2026-03-04-verify-worktree-cleanup-design.md +0 -165
  115. package/docs/plans/2026-03-05-forge-uto-decisions.md +0 -6
  116. package/docs/plans/2026-03-05-forge-uto-design.md +0 -116
  117. package/docs/plans/2026-03-05-forge-uto-tasks.md +0 -244
  118. package/docs/plans/2026-03-10-command-creator-and-eval-decisions.md +0 -52
  119. package/docs/plans/2026-03-10-command-creator-and-eval-design.md +0 -350
  120. package/docs/plans/2026-03-10-command-creator-and-eval-tasks.md +0 -426
  121. package/docs/plans/2026-03-10-stale-workflow-refs-decisions.md +0 -8
  122. package/docs/plans/2026-03-10-stale-workflow-refs-design.md +0 -80
  123. package/docs/plans/2026-03-10-stale-workflow-refs-tasks.md +0 -90
  124. package/docs/plans/2026-03-14-beads-plan-context-decisions.md +0 -9
  125. package/docs/plans/2026-03-14-beads-plan-context-design.md +0 -171
  126. package/docs/plans/2026-03-14-beads-plan-context-tasks.md +0 -160
  127. package/docs/plans/2026-03-14-skill-eval-loop-decisions.md +0 -33
  128. package/docs/plans/2026-03-14-skill-eval-loop-design.md +0 -118
  129. package/docs/plans/2026-03-14-skill-eval-loop-results.md +0 -78
  130. package/docs/plans/2026-03-14-skill-eval-loop-tasks.md +0 -160
  131. package/docs/plans/2026-03-15-agent-command-parity-v2-decisions.md +0 -11
  132. package/docs/plans/2026-03-15-agent-command-parity-v2-design.md +0 -145
  133. package/docs/plans/2026-03-15-agent-command-parity-v2-tasks.md +0 -211
  134. package/docs/research/TEMPLATE.md +0 -292
  135. package/docs/research/advanced-testing.md +0 -297
  136. package/docs/research/agent-permissions.md +0 -167
  137. package/docs/research/dependency-chain.md +0 -328
  138. package/docs/research/forge-workflow-v2.md +0 -550
  139. package/docs/research/plugin-architecture.md +0 -772
  140. package/docs/research/pr4-cli-automation.md +0 -326
  141. package/docs/research/premerge-verify-restructure.md +0 -205
  142. package/docs/research/skills-restructure.md +0 -508
  143. package/docs/research/sonarcloud-perfection-plan.md +0 -166
  144. package/docs/research/sonarcloud-quality-gate.md +0 -184
  145. package/docs/research/superpowers-integration.md +0 -403
  146. package/docs/research/superpowers.md +0 -319
  147. package/docs/research/test-environment.md +0 -519
@@ -0,0 +1,442 @@
1
+ ---
2
+ description: Address ALL PR issues (GitHub Actions, Greptile, SonarCloud, CI/CD)
3
+ ---
4
+
5
+ Process ALL pull request issues including GitHub Actions failures, Greptile inline comments, SonarCloud analysis, and other CI/CD checks.
6
+
7
+ # Review
8
+
9
+ This command handles ALL issues that arise after creating a pull request.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ /review <pr-number>
15
+ ```
16
+
17
+ ## What This Command Does
18
+
19
+ ### Step 1: Fetch Complete PR Status
20
+ ```bash
21
+ # Get full PR details including all checks
22
+ gh pr view <pr-number> --json number,url,isDraft,reviews,statusCheckRollup,comments
23
+
24
+ # Check individual status checks
25
+ gh pr checks <pr-number>
26
+ ```
27
+
28
+ Review ALL status checks:
29
+ - GitHub Actions workflows
30
+ - Greptile code review (inline comments + summary)
31
+ - SonarCloud quality gate
32
+ - Any other CI/CD integrations
33
+ - Vercel deployments
34
+ - Security scanners
35
+
36
+ ### Step 2: Address GitHub Actions Failures
37
+
38
+ If any GitHub Actions workflows fail:
39
+
40
+ ```bash
41
+ # View failed workflow logs
42
+ gh run view <run-id> --log-failed
43
+
44
+ # Identify failure cause:
45
+ # - Build failures
46
+ # - Test failures
47
+ # - Lint/type check failures
48
+ # - Deployment failures
49
+ # - Security scan failures
50
+ ```
51
+
52
+ **For each failure**:
53
+ 1. **Analyze the error**: Read logs to understand root cause
54
+ 2. **Fix the issue**: Make necessary code changes
55
+ 3. **Re-run checks**: GitHub Actions will auto-rerun on push
56
+ 4. **Document fix**: Note what was fixed in commit message
57
+
58
+ **Common GitHub Actions Issues**:
59
+ - Build failures: Missing dependencies, compilation errors
60
+ - Test failures: Failing test cases (should not happen if /validate passed)
61
+ - Lint failures: Code style violations
62
+ - Type failures: TypeScript type errors
63
+ - Deployment failures: Env vars, configuration issues
64
+
65
+ ### Step 3: Process Greptile Review
66
+
67
+ Greptile provides TWO types of feedback:
68
+ 1. **Inline comments** on specific code lines
69
+ 2. **Summary** with overall recommendations
70
+
71
+ **IMPORTANT**: Use the **systematic Greptile resolution process** documented in `.claude/rules/greptile-review-process.md`. This process has been standardized to ensure:
72
+ - All threads are replied to directly (not as separate PR comments)
73
+ - All threads are marked as resolved after fixing
74
+ - No manual tracking overhead for maintainers
75
+
76
+ #### 3A. Check Greptile Inline Comments (Use Systematic Process)
77
+
78
+ **Step 1: List all unresolved threads**
79
+ ```bash
80
+ bash .claude/scripts/greptile-resolve.sh list <pr-number> --unresolved
81
+ ```
82
+
83
+ This shows:
84
+ - Thread ID (for resolving)
85
+ - Comment ID (for replying)
86
+ - File path and line number
87
+ - Issue description
88
+
89
+ **Step 2: For EACH unresolved thread:**
90
+
91
+ 1. **Understand the issue**
92
+ - Read the comment carefully
93
+ - Check the file and line number
94
+
95
+ 2. **Categorize the comment**:
96
+ - **Valid**: Should be implemented (security issue, bug, clear improvement)
97
+ - **Invalid**: Greptile misunderstood context
98
+ - **Conflicting**: Contradicts research decisions with good reason
99
+ - **Out of scope**: Valid but not for this PR
100
+
101
+ 3. **Fix the issue** (if valid)
102
+ - Make code changes
103
+ - Commit with clear message
104
+
105
+ 4. **Reply and resolve** (for ALL comments, even invalid ones)
106
+ ```bash
107
+ # For valid issues (fixed):
108
+ bash .claude/scripts/greptile-resolve.sh reply-and-resolve <pr-number> <comment-id> <thread-id> \
109
+ "✅ Fixed: [description]
110
+
111
+ Changed: [what was changed]
112
+ Reason: [why this fixes the issue]
113
+ Commit: [commit-sha]"
114
+
115
+ # For invalid/conflicting issues:
116
+ bash .claude/scripts/greptile-resolve.sh reply-and-resolve <pr-number> <comment-id> <thread-id> \
117
+ "This approach is correct because:
118
+ - Reasoning: [from design doc]
119
+ - Evidence: [link to source]
120
+ - Alternative considered: [what Greptile suggested]
121
+ - Why rejected: [specific reason]
122
+
123
+ See: docs/plans/YYYY-MM-DD-<slug>-design.md (Decision #X)"
124
+ ```
125
+
126
+ **Step 3: Verify all resolved**
127
+ ```bash
128
+ bash .claude/scripts/greptile-resolve.sh stats <pr-number>
129
+ ```
130
+ Should show: "✓ All Greptile threads resolved!"
131
+
132
+ **See complete process**: `.claude/rules/greptile-review-process.md`
133
+
134
+ #### 3B. Check Greptile Summary
135
+ ```bash
136
+ # Greptile usually posts a summary comment on the PR
137
+ # Review the overall assessment and recommendations
138
+ ```
139
+
140
+ The summary typically includes:
141
+ - Overall code quality assessment
142
+ - Key issues to address
143
+ - Security concerns
144
+ - Performance considerations
145
+ - Best practice violations
146
+
147
+ ### Step 4: Analyze SonarCloud (via sonarcloud skill)
148
+
149
+ ```bash
150
+ # Use sonarcloud skill to query PR-specific issues
151
+ /sonarcloud
152
+ ```
153
+
154
+ **What SonarCloud does**: Static code analysis for quality, security, and maintainability
155
+
156
+ **How it helps**:
157
+ - Identifies code smells and technical debt
158
+ - Finds security vulnerabilities (complementing OWASP Top 10)
159
+ - Calculates code coverage
160
+ - Tracks code duplication
161
+ - Assesses maintainability
162
+
163
+ **Query PR-specific data**:
164
+ - Quality gate status (pass/fail)
165
+ - New issues introduced in this PR
166
+ - Security hotspots
167
+ - Code coverage changes
168
+ - Technical debt added
169
+
170
+ **Prioritize issues**:
171
+ 1. **Blocker/Critical**: Must fix before merge
172
+ 2. **Major**: Should fix if valid
173
+ 3. **Minor/Info**: Optional improvements
174
+
175
+ ### Step 5: Check Other CI/CD Tools
176
+
177
+ Review any other automated checks:
178
+ - **Vercel**: Preview deployment successful?
179
+ - **Security scanners**: Any vulnerabilities detected?
180
+ - **Custom scripts**: Any failures?
181
+ - **Dependency checks**: Outdated or vulnerable packages?
182
+
183
+ ### Step 6: Categorize and Prioritize ALL Issues
184
+
185
+ Create a master list of all issues from:
186
+ - GitHub Actions failures
187
+ - Greptile inline comments
188
+ - Greptile summary recommendations
189
+ - SonarCloud issues
190
+ - Other CI/CD tool failures
191
+
192
+ Prioritize by:
193
+ 1. **Critical**: Blocks merge (failing tests, security vulnerabilities, build failures)
194
+ 2. **High**: Should address (valid bugs, important improvements)
195
+ 3. **Medium**: Optional but valuable (code quality, best practices)
196
+ 4. **Low**: Nice to have (minor refactorings, style suggestions)
197
+
198
+ ### Step 7: Address Issues Systematically
199
+
200
+ For **GitHub Actions failures** (Critical):
201
+ ```bash
202
+ # Fix the issue
203
+ # Commit with clear description
204
+ git add .
205
+ git commit -m "fix: resolve GitHub Actions failure in <workflow-name>
206
+
207
+ - Fixed: [specific issue]
208
+ - Root cause: [explanation]
209
+ - Solution: [what was changed]"
210
+
211
+ git push
212
+ # Actions will auto-rerun
213
+ ```
214
+
215
+ For **Greptile inline comments** (Use Systematic Script):
216
+ ```bash
217
+ # Use the standardized Greptile resolution script
218
+ # See .claude/rules/greptile-review-process.md for complete process
219
+
220
+ # For valid comments (fixed):
221
+ bash .claude/scripts/greptile-resolve.sh reply-and-resolve <pr-number> <comment-id> <thread-id> \
222
+ "✅ Fixed: [description]
223
+
224
+ Changed: [what was changed]
225
+ Reason: [why this fixes the issue]
226
+ Commit: [commit-sha]"
227
+
228
+ # For invalid/conflicting comments:
229
+ bash .claude/scripts/greptile-resolve.sh reply-and-resolve <pr-number> <comment-id> <thread-id> \
230
+ "This approach is correct because:
231
+ - Reasoning: [from design doc]
232
+ - Evidence: [link to source]
233
+ - Alternative considered: [what Greptile suggested]
234
+ - Why rejected: [specific reason]
235
+
236
+ See: docs/plans/YYYY-MM-DD-<slug>-design.md (Decision #X)"
237
+
238
+ # Verify all threads resolved:
239
+ bash .claude/scripts/greptile-resolve.sh stats <pr-number>
240
+ ```
241
+
242
+ For **Greptile summary recommendations**:
243
+ ```bash
244
+ # Add a PR comment addressing the summary
245
+ gh pr comment <pr-number> --body "## Greptile Summary Response
246
+
247
+ Addressed all key recommendations:
248
+ - [Recommendation 1]: ✓ Fixed in commit <sha>
249
+ - [Recommendation 2]: ✓ Explained (see inline response)
250
+ - [Recommendation 3]: ⏭️ Out of scope for this PR (created issue bd-xxx)
251
+
252
+ All critical and high-priority items resolved."
253
+ ```
254
+
255
+ For **SonarCloud issues** (via sonarcloud skill):
256
+ ```bash
257
+ # For critical/blocker issues: Fix immediately
258
+ # For security vulnerabilities: Fix immediately
259
+ # For code smells: Fix if valid, justify if not
260
+
261
+ # After fixes, SonarCloud will re-analyze on next push
262
+ ```
263
+
264
+ For **other CI/CD failures**:
265
+ ```bash
266
+ # Debug the specific tool's logs
267
+ # Fix the underlying issue
268
+ # Commit and push
269
+ # Verify the check passes
270
+ ```
271
+
272
+ ### Step 8: Commit ALL Fixes
273
+
274
+ ```bash
275
+ git add .
276
+ git commit -m "fix: address ALL PR review feedback
277
+
278
+ GitHub Actions:
279
+ - Fixed: [list of workflow failures resolved]
280
+
281
+ Greptile:
282
+ - Fixed: [list of valid inline comments addressed]
283
+ - Explained: [list of invalid comments with reasoning]
284
+ - Summary: [key recommendations addressed]
285
+
286
+ SonarCloud:
287
+ - Fixed: [security vulnerabilities and critical issues]
288
+ - Justified: [code smells that are intentional]
289
+
290
+ Other CI/CD:
291
+ - Fixed: [any other tool failures]
292
+
293
+ All review feedback resolved, all checks passing."
294
+
295
+ git push
296
+ ```
297
+
298
+ ### Step 9: Verify ALL Checks Pass
299
+
300
+ ```bash
301
+ # Wait for checks to complete
302
+ gh pr checks <pr-number>
303
+
304
+ # Ensure all status checks are green:
305
+ # ✓ GitHub Actions workflows
306
+ # ✓ Greptile review (no unresolved critical comments)
307
+ # ✓ SonarCloud quality gate
308
+ # ✓ Other CI/CD checks
309
+ ```
310
+
311
+ ### Step 10: Update Beads
312
+
313
+ ```bash
314
+ bd update <id> --comment "PR review complete: all issues addressed, all checks passing"
315
+ bd sync
316
+ ```
317
+
318
+ ## Example Output
319
+
320
+ ```
321
+ ✓ GitHub Actions: 3 workflows
322
+ - Build: ✓ Passing (was failing, fixed missing dependency)
323
+ - Tests: ✓ Passing
324
+ - Deploy Preview: ✓ Passing
325
+
326
+ ✓ Greptile Review:
327
+ Inline Comments: 8 total
328
+ - Valid: 5 → Fixed & replied inline
329
+ - Invalid: 2 → Explained with research evidence & replied inline
330
+ - Out of scope: 1 → Noted for future work & replied inline
331
+ - All marked resolved ✓
332
+
333
+ Summary:
334
+ - Key recommendations: 3/3 addressed
335
+ - Overall assessment: Ready for merge
336
+ - Posted summary response comment ✓
337
+
338
+ ✓ SonarCloud (via sonarcloud skill):
339
+ Quality Gate: ✓ Passing
340
+ Issues: 3 total
341
+ - Security: 1 → Fixed (SQL injection risk)
342
+ - Code smells: 2 → 1 fixed, 1 justified
343
+ - Coverage: Maintained at 85%
344
+
345
+ ✓ Vercel Preview: ✓ Deployed successfully
346
+ ✓ Security Scan: ✓ No vulnerabilities
347
+
348
+ ✓ All Issues Addressed:
349
+ - Critical: 2/2 fixed (GitHub Actions build, SonarCloud security)
350
+ - High: 5/5 fixed (Greptile valid comments)
351
+ - Medium: 3/3 addressed (1 fixed, 2 explained)
352
+ - Low: 0 (none found)
353
+
354
+ ✓ Fixes committed: 3c4d5e6
355
+ ✓ All checks passing: ✓
356
+ ✓ Beads updated: Ready for merge
357
+
358
+ Next: /premerge <pr-number>
359
+ ```
360
+
361
+ ```
362
+ <HARD-GATE: /review exit>
363
+ Do NOT declare /review complete until:
364
+ 1. bash .claude/scripts/greptile-resolve.sh stats <pr-number> shows "All Greptile threads resolved"
365
+ 2. ALL human reviewer comments are either resolved or have a reply with explanation
366
+ 3. gh pr checks <pr-number> shows all checks passing
367
+ 4. Stage transition: Run `bash scripts/beads-context.sh stage-transition <id> review premerge` → exit 0 confirmed
368
+ </HARD-GATE>
369
+ ```
370
+
371
+ ## Integration with Workflow
372
+
373
+ ```
374
+ Utility: /status → Understand current context before starting
375
+ Stage 1: /plan → Design intent → research → branch + worktree + task list
376
+ Stage 2: /dev → Implement each task with subagent-driven TDD
377
+ Stage 3: /validate → Type check, lint, tests, security — all fresh output
378
+ Stage 4: /ship → Push + create PR
379
+ Stage 5: /review → Address GitHub Actions, Greptile, SonarCloud (you are here)
380
+ Stage 6: /premerge → Update docs, hand off PR to user
381
+ Stage 7: /verify → Post-merge CI check on main
382
+ ```
383
+
384
+ ## Understanding the Tools
385
+
386
+ ### Greptile
387
+ - **What it is**: AI-powered code review bot
388
+ - **How it helps**:
389
+ - Context-aware code analysis
390
+ - Catches bugs and security issues
391
+ - Suggests improvements and best practices
392
+ - Provides inline comments and summary
393
+ - **How to use feedback**:
394
+ - Inline comments: Address specific code issues
395
+ - Summary: Get overall assessment and key recommendations
396
+ - Reply directly to each comment (not separate)
397
+ - Mark resolved after addressing
398
+
399
+ ### SonarCloud (via sonarcloud skill)
400
+ - **What it is**: Static code analysis platform
401
+ - **How it helps**:
402
+ - Quality gate enforcement
403
+ - Security vulnerability detection
404
+ - Code smell identification
405
+ - Technical debt tracking
406
+ - Test coverage analysis
407
+ - **How to use the skill**:
408
+ - Query PR-specific issues
409
+ - Get quality metrics
410
+ - Identify security hotspots
411
+ - Track code coverage changes
412
+ - **Prioritization**:
413
+ - Blocker/Critical: Must fix
414
+ - Major: Should fix if valid
415
+ - Minor/Info: Optional
416
+
417
+ ### GitHub Actions
418
+ - **What it is**: CI/CD automation platform
419
+ - **How it helps**:
420
+ - Automated testing
421
+ - Build verification
422
+ - Deployment automation
423
+ - Security scanning
424
+ - Quality checks
425
+ - **Common failures**:
426
+ - Build: Dependencies, compilation
427
+ - Tests: Failing test cases
428
+ - Lint: Code style violations
429
+ - Deploy: Configuration issues
430
+
431
+ ## Tips
432
+
433
+ - **Address ALL issues**: Not just Greptile and SonarCloud
434
+ - **Prioritize critical**: Fix blockers first (GitHub Actions failures, security issues)
435
+ - **Reply inline to Greptile**: Respond to each comment directly
436
+ - **Post summary response**: Address Greptile's overall assessment
437
+ - **Use sonarcloud skill**: Don't just check the web UI
438
+ - **Verify all checks**: Ensure everything is green before /premerge
439
+ - **Update Beads**: Keep issue status current
440
+ - **Research if needed**: Use WebSearch for unclear suggestions
441
+ - **Document fixes**: Clear commit messages for all fixes
442
+ - **Don't leave unresolved**: Address every comment and check