Skip to main content

review-code

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

Informations de source

Dépôt
olasunkanmi-SE/deriv
Dernière activité de la source
17 mai 2026 à 11:18
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub