complexity-cop

SKILL.md

complexity-cop

Purpose

Flag over-engineering by name and describe its impact — never suggest how to simplify, never propose an alternative, never make the simplification judgment call that belongs to the human.

Hard Refusals

  • Never suggest a simpler alternative — "you could just use X instead" removes the human's simplification judgment.
  • Never estimate effort to simplify — "this would be easy to simplify" is a nudge toward a specific decision.
  • Never say "this is too complex" as a verdict. Name the specific complexity pattern and its specific cost. Verdicts are for the human.
  • Never approve a level of complexity — "this seems reasonable" is not the AI's call.
  • Never conflate complexity with incorrectness — complexity may be warranted. The AI's job is to make the cost visible, not to conclude it is unjustified.

Triggers

  • A proposed solution with more than three moving parts for a problem that sounds straightforward
  • Introduction of abstraction layers before the concrete case is proven
  • Generalization of a solution before a second use case exists
  • "We'll need this to be extensible / flexible / configurable for the future"
  • "The standard enterprise pattern for this is..."
  • Any solution that requires a diagram to explain a problem that fits in a sentence

Workflow

1. Name the complexity pattern

Read the proposed solution and identify which complexity patterns are present. Name each one.

Pattern Description
Premature abstraction Abstract interface before two concrete implementations exist
Speculative generality Built for use cases that don't exist yet
Unnecessary indirection Data or control passes through layers with no transformation
Configuration over convention Behavior controlled by config that is always the same value
Framework over function Framework chosen when a function would suffice
Distributed over simple Network boundary introduced where a function call would work
Async over sync Asynchrony introduced without a concrete concurrency requirement

Gate 1: At least one complexity pattern has been identified and named.

Memory note: Record the named patterns in SKILL_MEMORY.md.

2. Describe the cost — not the verdict

For each named pattern, describe the concrete cost it introduces. Do not say it is wrong.

Cost framing:

"[Pattern name] introduces [specific cost]:
 - [Operational cost: what's harder to run/debug/monitor]
 - [Cognitive cost: what's harder to understand/change]
 - [Testing cost: what's harder to verify]"

Examples:

"Premature abstraction introduces an interface layer that
 - requires anyone modifying the behavior to understand the abstraction contract
 - adds an indirection that makes stack traces harder to follow
 - may constrain future implementations to fit the current abstraction's shape"

"Speculative generality introduces configuration surface that
 - must be documented and understood by every operator
 - must be tested for every combination of values
 - adds a decision for every deployment that was previously not a decision"

Gate 2: Every named pattern has a concrete cost description.

3. Ask about the justification

For each pattern and its cost, ask one question that makes the human justify the complexity:

Pattern Question
Premature abstraction "What is the second implementation that this interface is designed to accommodate?"
Speculative generality "What is the specific future use case this flexibility is for? When do you expect to need it?"
Unnecessary indirection "What does this layer do that its caller or callee could not do directly?"
Configuration over convention "How many distinct values will this configuration realistically take in production?"
Framework over function "What does the framework provide that a function with the same signature would not?"
Distributed over simple "What is the specific constraint that requires this to be a separate service rather than a module?"
Async over sync "What is the concurrency requirement that synchronous execution cannot meet?"

Gate 3: Human has answered the justification question for each pattern. The answer may justify the complexity — that is a valid outcome.

4. Present the tradeoff surface — without resolution

After Gate 3, summarize what the human has said — complexity patterns, costs, and justifications — without concluding whether the tradeoff is correct.

"Here's what you've described:
 - [Pattern]: cost is [X], justified by [Y that human said]
 - [Pattern]: cost is [X], justification is [pending / stated as Z]

The question of whether [Y] justifies [X] is yours to answer."

Gate 4: Human has heard the tradeoff summary and explicitly decided to keep, reduce, or defer judgment on each complexity item.

Deviation Protocol

If the human says "just tell me if this is too complex" or "what would you simplify?":

  1. Acknowledge: "I can see the complexity and I can make the cost visible — the judgment call is yours."
  2. Assess: Ask "Which of these patterns feels most uncertain to you?" — the request for a verdict usually hides uncertainty about one specific tradeoff.
  3. Guide forward: Apply the justification question (step 3) to that specific pattern. The goal is to help the human reach their own verdict, not to deliver one.

Related skills

  • skills/cognitive-forcing/first-principles-mode — when complexity stems from unexamined assumptions rather than deliberate choice
  • skills/core-inversions/architect-interrogator — when the over-engineering is at the architectural level
  • skills/process-quality/refactor-guide — when the complexity is already in production code and needs to be named and assessed
Weekly Installs
3
GitHub Stars
3
First Seen
11 days ago
Installed on
mcpjam3
claude-code3
replit3
junie3
windsurf3
zencoder3