architectural-analysis

Community

Uncover hidden code issues, boost codebase health.

AuthorCygnusfear
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Codebases inevitably accumulate dead code, duplicated functionality, architectural anti-patterns, and type issues, leading to increased technical debt and reduced maintainability. This skill performs a deep architectural audit to systematically identify and quantify these problems.

Core Features & Use Cases

  • Dead Code Detection: Identifies unused exports, functions, and files for removal, reducing codebase bloat.
  • Duplication Analysis: Flags exact, similar, and conceptual code duplication, highlighting areas for consolidation.
  • Anti-Pattern & Type Issue Identification: Detects God objects, circular dependencies, tight coupling, any usage, and unsafe type assertions.
  • Use Case: Conduct a quarterly health check on a large application to identify and quantify technical debt, providing a clear roadmap for refactoring initiatives and improving long-term maintainability.

Quick Start

Get directory structure

find . -type d -not -path "/node_modules/" -not -path "/.git/"

Find large files (potential God objects)

find . -name "*.ts" -exec wc -l {} + | sort -rn | head -20

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: architectural-analysis
Download link: https://github.com/Cygnusfear/claude-stuff/archive/main.zip#architectural-analysis

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