skills/diversioteam/process-code-review/SKILL.md
Process code review findings interactively - fix or skip issues from monty-code-review output. Presents issues in severity order, applies fixes, runs quality checks, and updates review documents with status markers.
npx skillsauth add aiskillstore/marketplace process-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/monty-code-review:code-review to generate a review document.*_review.md file with severity-tagged issues to process.This skill is the second step in the code review workflow:
Step 1: /monty-code-review:code-review → Creates *_review.md
Step 2: /process-code-review:process-review *_review.md → Fix/skip issues
Step 3: /backend-atomic-commit:pre-commit → Run pre-commit checks and fix issues
/process-code-review:process-review myfile_review.md - Interactive mode (default)/process-code-review:process-review --dry-run myfile_review.md - Preview only, no changes/process-code-review:process-review --auto myfile_review.md - Auto-fix all issues/process-code-review:process-review --auto --severity=NIT myfile_review.md - Auto-fix only NITs/process-code-review:process-review --severity=BLOCKING api_review.md - Process only BLOCKING issuesWhen this skill is active and you are asked to process a review document:
Read the review file and extract all issues. Look for:
[BLOCKING], [SHOULD_FIX], [NIT]Common patterns to look for:
### [BLOCKING] Issue Title
**Location:** path/to/file.py:L120-L145
**Current code:**
...
**Problem:**
...
**Proposed fix:**
...
Use TodoWrite to track all issues:
Example todo list structure:
[BLOCKING] C1. N+1 Query Pattern - pending
[BLOCKING] C2. Missing Org Scoping - pending
[SHOULD_FIX] S1. Performance Issue - pending
[NIT] N1. Docstring Missing - pending
For each issue, starting with highest severity, display:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[SEVERITY] Issue Title (N of M)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Location: file.py:L120-L145
Current Code:
<code snippet from review>
Problem:
<description of issue>
Proposed Fix:
<suggested code or approach>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Then ask: Fix this issue or skip it?
Wait for user response before proceeding.
Read the source file to understand current state
Apply the proposed fix using Edit tool
Run quality checks on the modified file:
.bin/ruff check <file> --fix.bin/ruff format <file>Update the review document to mark the issue as FIXED:
### [BLOCKING] Issue Title
**Status:** ✅ FIXED (YYYY-MM-DD)
Update TodoWrite to mark as completed
Move to the next issue
Do NOT modify the source file
Ask for optional reason (or use "Deferred")
Update the review document to mark the issue as IGNORED:
### [BLOCKING] Issue Title
**Status:** ⏭️ IGNORED (YYYY-MM-DD)
**Reason:** [User's reason or "Deferred"]
Update TodoWrite to mark as completed (skipped)
Move to the next issue
After each fix, run quality checks:
ruff check <file> --fix - Auto-fix linting issuesruff format <file> - Format codety check <file> - Type check (baseline acceptable)python manage.py check - Django system checks (if applicable)If quality checks reveal additional issues, fix them before moving on.
When all issues are processed, provide a summary:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Review Processing Complete
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total Issues: 13
✅ Fixed: 8
⏭️ Skipped: 3
📅 Deferred: 2
Files Modified:
- optimo_core/services/wellbeing_service.py
- optimo_core/schemas/wellbeing.py
Next Steps:
Run /backend-atomic-commit:pre-commit to run pre-commit checks and fix issues.
Review document remains uncommitted (working documentation).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use these markers when updating review documents:
| Status | Marker | Meaning | |--------|--------|---------| | Open | (no marker) | Issue not yet addressed | | Fixed | ✅ FIXED | Issue has been resolved in code | | Ignored | ⏭️ IGNORED | Issue intentionally skipped | | Won't Fix | 🚫 WON'T FIX | Issue acknowledged but will not be fixed | | Deferred | 📅 DEFERRED | Issue to be addressed in future work |
Always include the date: **Status:** ✅ FIXED (2025-01-15)
Process issues in this order:
[BLOCKING] - Must fix before merge
[SHOULD_FIX] - Important but not blocking
[NIT] - Minor style/structure issues
Before marking a review as complete, verify:
.bin/ruff check --fix.bin/ruff format.bin/ty checkParse arguments to adjust behavior:
| Flag | Description |
|------|-------------|
| --dry-run | Show all issues and proposed fixes without modifying any files |
| --auto | Apply all fixes without prompting (use with caution) |
| --severity=<LEVEL> | Filter to only process issues of specified severity |
| (no flags) | Interactive mode - prompt for each issue (default) |
--severity=BLOCKING - Only process BLOCKING issues--severity=SHOULD_FIX - Only process SHOULD_FIX issues--severity=NIT - Only process NIT issues# Preview all issues without making changes
/process-code-review:process-review --dry-run api_review.md
# Auto-fix everything (careful!)
/process-code-review:process-review --auto api_review.md
# Auto-fix only minor issues, prompt for important ones
/process-code-review:process-review --auto --severity=NIT api_review.md
# Focus on critical issues only
/process-code-review:process-review --severity=BLOCKING api_review.md
# Dry-run to see only BLOCKING issues
/process-code-review:process-review --dry-run --severity=BLOCKING api_review.md
Flags can be combined:
--dry-run --severity=BLOCKING: Preview only BLOCKING issues--auto --severity=NIT: Auto-fix only NITs (safe for minor style fixes)/backend-atomic-commit:pre-commit to run pre-commit checks on staged changesThis skill integrates with:
The three-step workflow ensures:
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.