xiaohongshu
xiaohongshu
clavix-review
Review code changes with criteria-driven analysis (Security, Architecture, Standards, Performance). Use when reviewing PRs or code changes.
Full skill instructions
Review code changes (PRs, branches) with criteria-driven analysis and structured feedback.
.clavix/outputs/reviews/ for referenceThis is about analysis, not fixing. I report issues for you to address.
Before starting review, output:
**CLAVIX MODE: PR Review**
Mode: analysis
Purpose: Criteria-driven code review generating actionable feedback
Implementation: BLOCKED - I will analyze and report, not modify code
DETECT: If you find yourself doing any of these 6 mistake types:
| Type | What It Looks Like |
|---|---|
| 1. Skipping Diff Analysis | Reviewing without actually reading the changed code |
| 2. Ignoring User Criteria | Checking all dimensions when user specified focus areas |
| 3. Vague Feedback | "Code could be better" instead of specific file:line issues |
| 4. False Positives | Flagging issues that follow existing project patterns |
| 5. Missing Context | Not considering existing conventions before flagging |
| 6. Implementation Mode | Starting to fix issues instead of just reporting them |
STOP: Immediately halt the incorrect action
CORRECT: Output: "I apologize - I was [describe mistake]. Let me return to the review workflow."
RESUME: Return to the review workflow with correct approach.
What PR would you like me to review?
Options:
- Provide a branch name (I'll diff against main/master)
- Describe the feature/change and I'll help locate it
Example: "feature/user-authentication" or "the payment integration branch"
If branch provided: Confirm target branch for diff (default: main or master)
If unclear: Ask clarifying questions to identify the correct branch
What aspects should I focus on?
Presets:
🔒 Security - Auth, validation, secrets, XSS/CSRF, injection
🏗️ Architecture - Design patterns, SOLID, separation of concerns
📏 Standards - Code style, naming, documentation, testing
⚡ Performance - Efficiency, caching, query optimization
🔄 All-Around - Balanced review across all dimensions
Or describe specific concerns (e.g., "error handling and input validation")
CHECKPOINT: Criteria selected: [list criteria]
Any team conventions or specific concerns I should know about?
Examples:
- "We use Repository pattern for data access"
- "All endpoints must have input validation"
- "Check for proper error handling"
- "We require 80% test coverage"
(Press Enter to skip)
CHECKPOINT: Context gathered, ready to analyze
git diff <target-branch>...<source-branch>
Or if on the feature branch:
git diff <target-branch>
git branch -a | grep <branch-name>.ts, .js, .py, etc.*.test.*, *.spec.*.json, .yaml, .env.*.md, .txtPrioritize based on selected criteria (e.g., security → auth files first)
CHECKPOINT: Retrieved diff with [N] changed files
For each selected criterion, systematically check the diff:
IMPORTANT:
CHECKPOINT: Analysis complete for [criteria list]
Generate the review report following this exact structure:
# PR Review Report
**Branch:** `{source-branch}` → `{target-branch}`
**Files Changed:** {count}
**Review Criteria:** {selected criteria}
**Date:** {YYYY-MM-DD}
---
## 📊 Executive Summary
| Dimension | Rating | Key Finding |
|-----------|--------|-------------|
| {Criterion 1} | 🟢 GOOD | {one-line summary} |
| {Criterion 2} | 🟡 FAIR | {one-line summary} |
| {Criterion 3} | 🔴 NEEDS WORK | {one-line summary} |
**Overall Assessment:** {Approve / Approve with Minor Changes / Request Changes}
---
## 🔍 Detailed Findings
### 🔴 Critical (Must Fix)
| ID | File | Line | Issue |
|:--:|:-----|:----:|:------|
| C1 | `{file}` | {line} | {specific issue description} |
{If none: "No critical issues found."}
### 🟠 Major (Should Fix)
| ID | File | Line | Issue |
|:--:|:-----|:----:|:------|
| M1 | `{file}` | {line} | {specific issue description} |
{If none: "No major issues found."}
### 🟡 Minor (Nice to Fix)
| ID | File | Line | Issue |
|:--:|:-----|:----:|:------|
| N1 | `{file}` | {line} | {specific issue description} |
{If none: "No minor issues found."}
### ✅ Positive Notes
- {Good practice observed in file:line}
- {Pattern worth highlighting}
---
## 💡 Recommendations
1. **Immediate:** {Critical fixes needed before merge}
2. **Before merge:** {Major improvements to address}
3. **Consider:** {Minor enhancements for code quality}
| Level | Symbol | Meaning |
|---|---|---|
| Critical | 🔴 | Must fix before merge, security/data risk |
| Major | 🟠 | Should fix, significant issue |
| Minor | 🟡 | Nice to fix, quality improvement |
| Positive | ✅ | Good practices worth noting |
Review reports: .clavix/outputs/reviews/{branch}-{YYYY-MM-DD}.md
| /clavix-verify | /clavix-review |
|---|---|
| Checks YOUR code against YOUR PRD | Reviews code changes against criteria |
| Requirement-focused | Code quality-focused |
| Pass/fail on features | Severity-based findings |
| Self-verification | Peer review |
What I'll do:
What I won't do:
We're reviewing code, not modifying it.
Solution: Run git fetch origin, check spelling with git branch -a | grep <name>
Solution: Confirm correct branches, check if already merged
Solution: Read more context, check project patterns, ask about team conventions
Solution: Remind this is review mode; suggest separate session to implement fixes
After review: Share report with team, track critical/major fixes, re-review after changes
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience