Skip to content
Back to skills

Code Analyzer 3

ASecurity

Static code analysis and complexity metrics

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitybashrefactoringcode-review

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-analyzer-3 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Analyzer 3?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Analyzer 3
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-analyzer-3/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-analyzer-3)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.7 KB
  • hooks/post-execute.cjs756 B
  • hooks/pre-execute.cjs759 B
  • schemas/input.schema.json263 B
  • schemas/output.schema.json624 B
  • scripts/main.cjs1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…