anti-spaghetti

Detect architectural anti-patterns by locating parallel-infrastructure duplications in codebases.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Jennyfirrr/workspace-template --skill anti-spaghetti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anti-spaghetti
Source: https://github.com/Jennyfirrr/workspace-template/tree/main/claude-skills/anti-spaghetti
Command: npx skills add https://github.com/Jennyfirrr/workspace-template --skill anti-spaghetti

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies and surfaces architectural anti-patterns where parallel infrastructure is introduced despite canonical sister patterns existing, enabling teams to spot and plan structural health improvements at the architecture level.

Core Features & Use Cases

  • Structural-audit of codebases to locate duplication at framework boundaries (registries, dispatch tables, sidecars).
  • Generates a prioritized findings report detailing where canonical patterns are missing and how to consolidate.
  • Supports planning reviews by aligning with design-specs catalogs and anti-pattern registries to guide remediation.

Quick Start

Run the anti-spaghetti scan on your project to produce a structural findings report and remediation options.

Frequently Asked Questions about anti-spaghetti

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

FAQPage Schema
How do I detect parallel-infrastructure duplications in a large monorepo?

To detect parallel-infrastructure duplications in a large monorepo, run a structural audit scan that locates framework boundary duplications where canonical sister patterns are missing. The scan outputs a prioritized findings report detailing structural anti-patterns for architecture reviews.

What are architectural anti-patterns and how do I scan a codebase for them?

Architectural anti-patterns occur when parallel infrastructure is introduced despite canonical sister patterns existing. You scan a codebase for them by analyzing framework boundaries like registries and dispatch tables, generating a formatted findings report to guide structural remediation.

Can I use this structural audit during planning gates and architecture reviews for multi-repo projects?

Yes, you can use this structural audit during planning gates and architecture reviews for multi-repo projects. It aligns with design-specs catalogs and anti-pattern registries to identify missing canonical patterns and prioritize structural health improvements.

Do I need a design-specs catalog and debt ledger to audit codebase architecture?

Yes, auditing codebase architecture requires access to the design-specs catalog, anti-pattern catalog, and debt ledger. These inputs enable the scanner to locate duplications at framework boundaries and output a formatted findings report to the configured REPORT_DIR.

What is the best way to consolidate parallel infrastructure in a codebase?

The best way to consolidate parallel infrastructure is to run a structural audit that locates duplications where canonical patterns are missing. The resulting findings report provides prioritized remediation options to align the codebase with the design-specs catalog.

Why does my codebase have parallel infrastructure instead of canonical sister patterns?

Parallel infrastructure appears when teams introduce duplicate frameworks or sidecars despite canonical sister patterns existing. A structural audit identifies these anti-patterns by scanning registries and dispatch tables, then outputs a prioritized findings report for consolidation planning.