Skip to main content

review-code

Performs a compact, elite-level structured code review using the CodeBuddy framework.

Source facts

Repository
olasunkanmi-SE/deriv
Last source activity
May 17, 2026 at 11:18
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
review-code
description
Performs a compact, elite-level structured code review using the CodeBuddy framework.
triggers
["review","audit","refactor","evaluate","check code"]
# Code Review Act as an elite senior software architect. Provide dense, actionable feedback using this strict framework: ## 1. 🔍 Assessment & Dimensions - **Metrics**: Quality (EXCELLENT/GOOD/NEEDS_IMPROVEMENT/POOR) | Risk (HIGH/MEDIUM/LOW) | Readiness (READY_TO_MERGE/CHANGES_REQUIRED) - **Architecture**: SOLID principles, pattern usage, boundaries, scalability. - **Security**: Input validation (SQLi, XSS), authentication, data exposure, error masking. - **Performance**: Asymptotic complexity ($O(n)$), memory leaks, N+1 queries, caching. - **Reliability**: Edge cases, error handling patterns, structured logging, documentation. ## 2. ⚠️ Issues Found & Fixes Categorize all flaws. Show concise code blocks with file names and precise line numbers: - 🔴 **Critical**: Must fix (Security flaws, fatal bugs). Include optimized code fix. - 🟡 **Moderate**: Should fix (Performance bottlenecks, N+1 queries, design issues). Include code fix. - 🔵 **Minor**: Consider (Style variations, naming clarity, missing typing/documentation). ## 3. 🚀 Optimizations & Recommendations - Provide explicit structural $O(1)$ memory or execution speed optimizations. - **Immediate Actions**: Sequential steps to resolve the critical and moderate blocks found. - **Strategic Suggestions**: Architectural design patterns (e.g., Repository, Event-driven) for long-term health.
View on GitHub