analyze-code

Analyze codebases for structural issues and generate prioritized markdown reports.

9|3|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/indoor47/memfun --skill analyze-code-indoor47
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-code
Source: https://github.com/indoor47/memfun/tree/main/skills/analyze-code
Command: npx skills add https://github.com/indoor47/memfun --skill analyze-code-indoor47

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the in-depth analysis of codebases, identifying structural issues, code smells, anti-patterns, and potential improvements to enhance code quality and maintainability.

Core Features & Use Cases

  • Comprehensive Code Review: Analyzes structure, imports, classes, functions, and error handling.
  • Quality & Pattern Identification: Detects common code smells, anti-patterns, and design patterns.
  • Actionable Suggestions: Provides prioritized, concrete recommendations for code improvement.
  • Use Case: A development team can use this Skill to get an automated, objective assessment of a new module before merging, ensuring adherence to best practices and identifying potential technical debt early.

Quick Start

Use the analyze-code skill to analyze the entire 'src' directory.

Frequently Asked Questions about analyze-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform static analysis to identify code smells and anti-patterns in my project?

Static analysis identifies structural issues, code smells, and anti-patterns by examining your codebase structure, imports, and functions. It helps detect potential technical debt early and ensures adherence to best practices before merging new modules.

Can I analyze code quality across multiple programming languages using glob patterns?

Code quality analysis supports individual files, directories, and glob patterns across multiple programming languages. You can scan an entire source directory to get an objective assessment of structural issues and design patterns within diverse codebases.

What is the best way to generate a code review report with prioritized refactoring suggestions?

The best way to generate a code review report is using automated analysis that produces a structured markdown document with quality metrics and prioritized improvement suggestions. This provides concrete recommendations for refactoring and enhancing maintainability.

Does automated code analysis detect software architecture design patterns?

Automated code analysis detects common design patterns alongside anti-patterns and code smells. It evaluates your software architecture by reviewing classes, functions, and error handling to identify structural improvements and potential technical debt.

When do I need to run a codebase analysis for technical debt management?

You need to run codebase analysis before merging new modules to identify technical debt early. It provides an objective assessment of code quality, ensuring adherence to best practices and maintaining software maintainability throughout development.