analyze-code

Community

Uncover code insights, save tokens, debug faster.

Authoryangsi7
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill performs efficient, intelligence-first code analysis to diagnose bugs, understand architecture, identify performance bottlenecks, and assess security. By querying metadata before reading files, it drastically reduces token usage and speeds up investigation.

Core Features & Use Cases

  • Intelligence-First Approach: Utilizes project-intel.mjs to search for relevant files, analyze symbols, and trace dependencies, achieving 80-95% token savings compared to direct file reading.
  • Comprehensive Analysis Types: Supports bug diagnosis (e.g., infinite re-renders), architecture analysis (e.g., circular dependencies), and performance analysis (e.g., N+1 queries).
  • MCP Verification & CoD^Σ Trace: Verifies findings against authoritative sources (e.g., React docs) and generates a complete Chain-of-Thought (CoD^Σ) trace for transparent, evidence-backed conclusions.
  • Use Case: If a user reports "LoginForm re-renders infinitely," this Skill will efficiently pinpoint the root cause (e.g., an incomplete useEffect dependency array at src/components/LoginForm.tsx:47), provide evidence, and recommend a fix, all while minimizing token cost.

Quick Start

Use the analyze-code skill to investigate why 'src/components/UserList.tsx' is loading slowly.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: analyze-code
Download link: https://github.com/yangsi7/fine-tuning-exercise-generation/archive/main.zip#analyze-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.