skills/seam-ripper/SKILL.md
Ruthlessly analyze architectural seams—the interfaces, boundaries, and contracts between system components—to expose coupling problems, abstraction leaks, and design failures. Use when asked to review architecture, analyze coupling, find interface problems, improve module boundaries, audit dependencies, or redesign system structure. Produces uncompromising redesign proposals that prioritize correctness over backwards compatibility.
npx skillsauth add petekp/agent-skills seam-ripperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically dissect a codebase's internal architecture to expose where it's wrong and propose what's right.
No sacred cows. Existing patterns are evidence of past decisions, not correct ones.
Seams reveal truth. How components connect exposes what the system actually is, not what documentation claims.
Backwards compatibility is not a constraint. The goal is correct architecture. Migration is a separate problem.
Complexity is guilt until proven innocent. Every abstraction, indirection, and interface must justify its existence.
Build a complete picture of the system's internal structure before judging it.
Output a dependency map showing:
For every boundary identified, answer these questions:
Interface Clarity
Dependency Direction
Coupling Assessment
Abstraction Integrity
Contract Stability
Look for these systemic problems:
| Pattern | Symptoms | What's Actually Wrong | |---------|----------|----------------------| | God Module | Everything imports it, huge public API | Missing domain boundaries | | Shotgun Surgery | One change requires edits across many modules | Responsibility scattered | | Feature Envy | Module A constantly reaches into Module B's data | Wrong ownership of data/behavior | | Inappropriate Intimacy | Two modules share private details | Should be one module or have explicit contract | | Middle Man | Module just delegates to another | Unnecessary indirection | | Parallel Hierarchies | Adding X requires adding Y in another module | Missing abstraction | | Speculative Generality | Interfaces for flexibility never used | Premature abstraction | | Dead Abstraction | Interface with one implementation forever | Abstraction without purpose |
For each significant problem, provide:
1. The Indictment State clearly what is wrong and why it matters. Be specific:
core but has fields only used by billing"2. The Correct Architecture Describe what it should look like:
3. The Transformation Concrete steps to get from wrong to right:
4. The Evidence Explain why this is better:
# Seam Analysis: [System/Area Name]
## Dependency Map
[Visual or textual representation of module dependencies]
## Critical Findings
### Finding 1: [Problem Name]
**Location:** [modules/files involved]
**Severity:** Critical | High | Medium
**Pattern:** [which failure pattern]
**Evidence:**
[Specific code/structure references]
**Indictment:**
[Clear statement of what's wrong]
**Redesign:**
[Proposed correct architecture]
**Transformation:**
1. [Step]
2. [Step]
...
### Finding 2: ...
## Recommended Architecture
[Overall vision for how the system should be structured]
## Transformation Sequence
[Ordered list of changes, grouped by logical phases]
Refuse to:
Always:
development
Compile a plain-language task into a concise, auditable Codex or Claude Code `/goal`, or explain why a normal prompt fits better. Use when the user asks to draft, formulate, rewrite, tighten, or create a goal for multi-step work that needs a durable objective, transcript-visible proof, constraints, bounded stop conditions, host-aware operation, and risk-based review depth.
tools
Expert Unix and macOS systems engineer for shell scripting, system administration, command-line tools, launchd, Homebrew, networking, and low-level system tasks. Use when the user asks about Unix commands, shell scripts, macOS system configuration, process management, or troubleshooting system issues.
testing
Apply professional typography principles to create readable, hierarchical, and aesthetically refined interfaces. Use when setting type scales, choosing fonts, adjusting spacing, designing text-heavy layouts, implementing dark mode typography, or when asked about readability, font pairing, line height, measure, typographic hierarchy, variable fonts, font loading, or OpenType features.
development
Create visual parameter tuning panels for iterative adjustment of animations, layouts, colors, typography, physics, or any numeric/visual values. Use when the user asks to "create a tuning panel", "add parameter controls", "build a debug panel", "tweak parameters visually", "fine-tune values", "dial in the settings", or "adjust parameters interactively". Also triggers on mentions of "leva", "dat.GUI", or "tweakpane".