architecture-audit

Analyze codebases to identify shallow modules and prepare RFC GitHub issues.

161|21|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/softspark/ai-toolkit --skill architecture-audit-softspark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-audit
Source: https://github.com/softspark/ai-toolkit/tree/main/app/skills/architecture-audit
Command: npx skills add https://github.com/softspark/ai-toolkit --skill architecture-audit-softspark

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill uncovers architectural friction in a codebase by identifying shallow modules, tight coupling, and areas that resist comprehension or testing, then frames practical refactoring options as actionable RFCs.

Core Features & Use Cases

  • Organic exploration: Navigate the repository to surface friction points where understanding requires bouncing across many small files.
  • Candidate presentation: Produce a ranked list of deepening candidates with dependency categories and test impact.
  • Parallel interface design: Spawn multiple sub-agents to generate contrasting interface designs, compare trade-offs, and recommend a direction.
  • RFC automation: Prepare and file a GitHub issue RFC with problem framing, proposed interface signature, dependency strategy, and testing recommendations.

Quick Start

Run /architecture-audit full codebase to discover shallow modules, generate alternative interface designs, and file an RFC issue proposing a deepening refactor.

Frequently Asked Questions about architecture-audit

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

FAQPage Schema
How do I identify shallow modules and tight coupling during a codebase refactor?

To identify shallow modules and tight coupling during a codebase refactor, analyze architectural friction by navigating the repository to surface areas where comprehension requires bouncing across many small files. This produces a ranked list of deepening candidates with dependency categories and test impact.

What is the best way to generate alternative interface designs for poorly coupled modules?

The best way to generate alternative interface designs for poorly coupled modules is to spawn parallel design sub-agents. These agents create contrasting interface designs, compare trade-offs, and recommend a specific refactoring direction for the codebase.

How do I automate creating an RFC GitHub issue for a proposed module refactor?

To automate creating an RFC GitHub issue for a proposed module refactor, use an architecture audit tool that prepares and files issues automatically. It populates the GitHub issue with problem framing, proposed interface signatures, dependency strategy, and testing recommendations.

Can I run a focused architecture audit on a specific directory instead of the full repository?

Yes, you can run a focused architecture audit on a specific directory instead of the full repository. The analysis applies to both full repository audits and focused area reviews to surface friction points and propose interface designs.

Do I need GitHub repository write access to file RFC issues from a code audit?

Yes, you need GitHub repository write access to file RFC issues from a code audit. The process requires repository read access to analyze the codebase and permission to create GitHub issues to submit the finalized refactoring proposals.