xiaohongshu
xiaohongshu
critical-code-review
Perform critical code review with automated fix suggestions. Use when reviewing code changes, pull requests, specific files, or branch diffs. Triggers on requests like "review this code", "critical review", "code review for PR #123", or "review changes in src/". Optionally uses Codex CLI for seco...
Full skill instructions
Perform context-aware critical code review with integrated fix execution.
src/main.tsmain..feature/new-apiHEAD~1..HEADsrc/#123git branch --show-currentgit diff <base>...HEADmcp__codex-cli__codex tool with context. If unavailable, explicitly note it.### 🔴/🟡/🟢 [Criterion Name]
**Issue**:
- Location (file:line)
- Detailed description
**Impact**:
- Technical: Bug/Performance degradation/Maintainability
- Business: User experience/Development velocity/Cost
**Fix**:
```[language]
// Specific fix code
```
After presenting review results, display:
## 🔧 Fix Options
Execute fixes? (y/n/select)
- y: Execute all
- n: Exit without fixing
- select: Choose items to fix
Selection:
## 🔧 Planned Fixes
### Auto-fix Items (🔴 Critical)
1. [Issue name] - file:line
- Issue: [Brief description]
- Fix: [What will be changed]
### Items Requiring Confirmation (🟡 Design / 🔵 Other)
2. [Issue name] - file:line
- Issue: [Brief description]
- Proposed fix: [Suggestion]
- Impact scope: [Other file impacts]
### Skip Items (🟢 Suggestions)
3. [Issue name] - file:line (Manual fix recommended)
Ensure every item is numbered so the user can select them easily.
select)Enter item numbers to fix (comma-separated):
Example: 1,2,4
## ✅ Fix Complete Report
### Successful Fixes
- ✅ [Issue name] - file:line
- Changes: [Actual changes made]
### Failed Fixes
- ❌ [Issue name] - file:line
- Error: [Failure reason]
- Workaround: [Manual fix instructions]
### Next Steps
1. **Run tests (Required)**: Verify all tests pass
2. Run lint/format if defined
3. Run type checks if applicable
4. Provide manual test steps for uncovered flows
5. Confirm changes with `git diff`
6. Check test coverage report
7. Restore with `git checkout -- <file>` if needed
When mcp__codex-cli__codex tool is available, request secondary review:
Perform critical code review on the following code changes.
Focus on: security risks, data integrity, design quality, and maintainability.
Provide specific issues with file:line locations and fix suggestions.
[Include code diff or file content]
If the tool is unavailable but the Codex CLI is available, use:
codex exec -m gpt-codex-5.2 -c reasoning_effort=xhigh "Perform critical code review on the following code changes. [Include diff or file content]"
Integrate Codex findings with self review, removing duplicates and prioritizing by severity.
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