architectural-analysis

Identify dead code, duplication, anti-patterns, and type confusion in codebases.

1|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill architectural-analysis-rodrigobranas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architectural-analysis
Source: https://github.com/rodrigobranas/formacao_ia_arq_t1_4/tree/main/mastra-rag/.agents/skills/architectural-analysis
Command: npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill architectural-analysis-rodrigobranas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architectural audits are time-consuming and error-prone; this Skill automates deep architectural analysis to uncover dead code, duplicated functionality, anti-patterns, and type confusion, helping teams assess and improve codebase health.

Core Features & Use Cases

  • Phase-driven analysis: performs discovery, dead code detection, duplication checks, anti-pattern identification, and a comprehensive report.
  • Actionable insights: identifies structural issues with concrete recommendations and risk assessments.
  • Use Case: when maintaining a large codebase, run the audit to reveal dead exports, duplicated logic, and architectural bottlenecks to guide refactoring priorities.

Quick Start

Analyze a codebase to reveal architectural issues and generate a structured report.

Frequently Asked Questions about architectural-analysis

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

FAQPage Schema
How do I identify dead code and code duplication in a large codebase?

Architectural analysis detects code smells and anti-patterns by executing a phase-driven workflow that evaluates codebase structure. It identifies type confusion and structural flaws, generating a report with concrete recommendations and risk assessments to improve overall code health.

How do I run an architectural audit for codebase health checks and refactoring planning?

Yes, architectural analysis suits mid-size and large codebases for health checks and governance reviews. It systematically uncovers structural issues like dead code, duplicated functionality, and type confusion, making it highly effective for maintaining extensive codebases and planning large-scale refactoring.

What is the best way to detect type confusion and architectural bottlenecks in my code?

The best way to detect type confusion and architectural bottlenecks is to perform an automated deep architectural analysis. It scans your codebase to uncover these specific structural issues, providing an executive summary with risk assessments and concrete recommendations to resolve them.

Why should I run an automated architectural analysis instead of manual code reviews for governance?

Automated architectural analysis replaces manual code reviews for governance because audits are time-consuming and error-prone. It systematically evaluates large codebases to accurately uncover anti-patterns, dead code, and type confusion, delivering structured reports with actionable insights much faster than manual review.