You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
Warnings provide actionable optimization suggestions
Customization Features:
Add project-specific patterns via MCP tool or .cortex/performance.json
Disable noisy patterns without removing them
Override severity levels per pattern
File pattern matching for targeted analysis (e.g., only *.tsx files)
Context-aware matching (e.g., only flag in loops)
Example Patterns Detected:
// N+1 Query (ERROR)for(constuserofusers){awaitdb.findOne({id: user.id});// 🚨 Database query in loop}// Missing Cleanup (ERROR)useEffect(()=>{window.addEventListener('resize',handleResize);// ❌ No cleanup function!},[]);// Inline Function (INFO)<ButtononClick={()=>console.log('click')}/>// ℹ️ Creates new function on every render
Activity
gloomcheng commentedon Dec 25, 2025
✅ Issue #7 Completed: Performance Pattern Detection
Successfully implemented static performance anti-pattern detection system.
What was implemented:
PerformanceAnalyzer Service - Pattern-based performance analysis
PerformanceAnalysisHandler - MCP tool interface
performance-analyze,performance-list-patterns,performance-add-pattern,performance-disable-pattern,performance-enable-patternBuilt-in Pattern Detection - Comprehensive coverage
Integration:
Customization Features:
.cortex/performance.json*.tsxfiles)Example Patterns Detected:
Validation Flow:
This completes the second Analysis Layer feature, giving AI the ability to:
Committed in: 0dc2e9d
feat: add performance anti-pattern detection and analysis (Issue #7)