Analyzes code complexity and technical debt metrics to provide actionable insights before refactoring or editing symbols.
The Context skill empowers Claude with deep code intelligence by calculating cyclomatic and cognitive complexity scores for specific files or symbols. By identifying high-risk areas, technical debt markers like TODOs and FIXMEs, and overall code health, it ensures that AI-driven modifications are made with full awareness of existing architectural challenges. This skill is essential for evaluating whether a function should be refactored before adding new logic or identifying potential hotspots that could introduce regressions or security vulnerabilities.
主要功能
01Symbol-specific analysis for targeted code intelligence
02Technical debt identification for TODO, FIXME, and HACK markers
039 GitHub stars
04Automated cyclomatic and cognitive complexity scoring per function
05Actionable refactoring recommendations based on real-time metrics
06Risk assessment thresholds for safe, warning, and danger levels
使用场景
01Identifying security or bug-related technical debt prior to code modifications
02Determining if a legacy file is too complex to modify safely without prior simplification
03Evaluating a complex function's health before performing a major refactor