spaghetti-code-detection

Installation
SKILL.md

Activation Contract

Load this skill when reviewing refactor plans for: spaghetti code, temporal coupling, hidden side effects.

Hard Rules

  • Flag tangled branches, implicit execution order, hidden side effects, and temporal coupling.
  • Recommend guard clauses, Split Phase, Extract Method, or explicit state transitions.
  • Never recommend a Big Bang rewrite.
  • Preserve observable behavior; label functional changes as follow-up.
  • Require evidence for every recommendation, or mark it as a hypothesis.

Decision Gates

Signal Action
Concrete evidence exists Create a finding with file, lines, symbol, benefit, validation, and rollback.
Evidence is incomplete Mark as hypothesis and lower confidence.
Recommendation is cosmetic or speculative Omit it unless maintainability benefit is clear.
Installs
4
First Seen
Jul 12, 2026
spaghetti-code-detection — andresnator/agents-orchestrator