sc-analyze
Code Analysis
Execute comprehensive code analysis across quality, security, performance, and architecture domains.
When to use
- User asks to analyze code quality or technical debt
- Security audit or vulnerability assessment needed
- Performance analysis or bottleneck identification required
- Architecture review or structural analysis requested
- Code health check or quality metrics needed
Instructions
Usage
/sc:analyze [target] [--focus quality|security|performance|architecture] [--depth quick|deep]
Arguments
target- Files, directories, or project to analyze--focus- Analysis focus area (quality, security, performance, architecture)--depth- Analysis depth (quick, deep)--format- Output format (text, json, report)
Execution
- Discover and categorize files for analysis
- Apply appropriate analysis tools and techniques
- Generate findings with severity ratings
- Create actionable recommendations with priorities
- Present comprehensive analysis report
Claude Code Integration
- Uses Glob for systematic file discovery
- Leverages Grep for pattern-based analysis
- Applies Read for deep code inspection
- Maintains structured analysis reporting
More from htlin222/dotfiles
cpp
Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.
130refactor
Refactor code for quality and maintainability. Use for cleanup and tech debt reduction.
74data-science
Data analysis, SQL queries, BigQuery operations, and data insights. Use for data analysis tasks and queries.
52c-lang
Write efficient C code with proper memory management and system calls. Use for C optimization, memory issues, or system programming.
46quarto-book
Generate Quarto Book project structure with chapters, configuration, and output settings. Use when user wants to create a book, multi-chapter document, technical manual, or asks about Quarto book setup.
45scientific-figure-assembly
Assemble multi-panel scientific figures with panel labels (A, B, C) at publication quality (300 DPI) using R. Use when combining individual plots into journal-ready figures.
43