Loading...
Loading...
Use when the user asks to perform a code review, review code changes, analyze a diff, or audit code quality. Runs a structured review of git diff output covering security, correctness, performance, maintainability, and style. Produces a markdown report saved as a .md file named after the current branch.
npx skill4agent add folio-org/folio-eureka-ai-dev code-reviewmastergit --no-pager diff --name-only mastergit --no-pager diff --no-prefix --unified=100000 --minimal origin/master...HEADgit --no-pager diff --no-prefix --unified=100000 --minimal origin/master...HEAD -- <file><redacted>****git --no-pager rev-parse --abbrev-ref HEAD<BRANCH_NAME>-codereview.md/-references/folio-breaking-changes-rfc-0003-pinned.md# Code Review for <feature or branch description>
<2–4 sentences: what changed, why it exists, which files are involved.>
---
# Suggestions
## <emoji> <Short summary — include enough context to act on it>
* **Priority**: <🔥 Critical | ⚠️ High | 🟡 Medium | 🟢 Low>
* **File**: `relative/path/to/file.java` (line N)
* **Details**: <Concise explanation of the problem and why it matters.>
* **Example** *(if applicable, sanitized and minimal)*:
```java
// synthetic or redacted snippet only
// never include literal secret values// safe replacement pattern with redacted placeholdersrelative/path/to/file| Priority | Count |
|---|---|
| 🔥 Critical | N |
| ⚠️ High | N |
| 🟡 Medium | N |
| 🟢 Low | N |
| 📝 Probable FOLIO Breaking Changes | N |
## Emoji legend
| Emoji | Code | Meaning |
|-------|------|---------|
| 🔧 | `:wrench:` | Change required |
| ❓ | `:question:` | Genuine question needing a response |
| ⛏️ | `:pick:` | Nitpick — no action needed |
| ♻️ | `:recycle:` | Refactor suggestion |
| 💭 | `:thought_balloon:` | Concern or alternative worth considering |
| 👍 | `:+1:` | Something genuinely well done |
| 📝 | `:memo:` | Explanatory note or fun fact |
| 🌱 | `:seedling:` | Observation for future consideration |
Priority emoji prefix each suggestion title: 🔥 ⚠️ 🟡 🟢
## Constraints
- Suppress `#pragma warning disable` and similar suppression annotations — do not flag them.
- Do **not** overwhelm the developer: group related nitpicks, skip obvious ones, focus on what matters.
- Always use file paths in every suggestion.
- Never include secrets or secret-like values verbatim anywhere in the report.
- Keep examples short and sanitized; avoid pasting full raw diff hunks.
- If a diff line starts with `+` it is added; `-` it is removed; ` ` (space) it is unchanged; `@@` is a hunk header.
- Address every TODO/FIXME comment found in the diff.