Back to skills
SKILL.md
Code Analyzer 3
ASecurityStatic code analysis and complexity metrics
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100Pro scans all 6 files and shows the line behind each finding
npx -y skills add David-Li0406/meta-skill-evloving --skill code-analyzer-3 --agent claude-codeAre you the author of Code Analyzer 3?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-code-analyzer-3)---
name: code-analyzer
description: Static code analysis and complexity metrics
version: 1.0.0
model: sonnet
invoked_by: both
user_invocable: true
tools: [Bash, Read, Glob, Grep]
best_practices:
- Analyze before refactoring
- Track complexity over time
- Focus on hotspots first
error_handling: graceful
streaming: supported
---
# Code Analyzer Skill
## Overview
Static code analysis and metrics. 90%+ context savings.
## Tools (Progressive Disclosure)
### Analysis
| Tool | Description |
| --------------- | ---------------------------- |
| analyze-file | Analyze single file |
| analyze-project | Analyze entire project |
| complexity | Calculate complexity metrics |
### Metrics
| Tool | Description |
| --------------- | --------------------- |
| loc | Lines of code |
| cyclomatic | Cyclomatic complexity |
| maintainability | Maintainability index |
| duplicates | Find duplicate code |
### Reporting
| Tool | Description |
| -------- | ------------------------ |
| summary | Get analysis summary |
| hotspots | Find complexity hotspots |
| trends | Analyze metric trends |
## Agent Integration
- **code-reviewer** (primary): Code review
- **refactoring-specialist** (primary): Tech debt analysis
- **architect** (secondary): Architecture assessment
## Memory Protocol (MANDATORY)
**Before starting:**
Read `.claude/context/memory/learnings.md`
**After completing:**
- New pattern -> `.claude/context/memory/learnings.md`
- Issue found -> `.claude/context/memory/issues.md`
- Decision made -> `.claude/context/memory/decisions.md`
> ASSUME INTERRUPTION: If it's not in memory, it didn't happen.
Files in this skill
- SKILL.md
- hooks/post-execute.cjs
- hooks/pre-execute.cjs
- schemas/input.schema.json
- schemas/output.schema.json
- scripts/main.cjs
Attribution
Comments
Loading comments…