Skip to content
Back to skills

Speq Design Philosophy

ASecurity

Design principles for complexity (deep modules, information hiding, dependency direction) used by /speq-plan, /speq-implement, and the plan and code reviewers. Not for general design work.

  • 56 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 9, 2026
ai-agentsaws

Works with

  • cli

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add marconae/speq-skill --skill speq-design-philosophy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speq Design Philosophy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Speq Design Philosophy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/marconae-speq-design-philosophy/badge)](https://www.skillsdirectory.com/skills/marconae-speq-design-philosophy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: speq-design-philosophy
description: "Design principles for complexity (deep modules, information hiding, dependency direction) used by /speq-plan, /speq-implement, and the plan and code reviewers. Not for general design work."
---

# Design Philosophy

Judge a design by whether it adds or removes complexity, not by line count or named patterns. Draws on J. Ousterhout (*A Philosophy of Software Design*) and R. Martin (*Clean Architecture*).

## Principles

- **Deep modules.** A module's interface is far easier to use than its internals would be to rebuild. Merge shallow pass-through modules.
- **Information hiding.** Each significant design decision (a format, a protocol, an execution-order split) has one owning module. The same decision in two modules is coupling: merge them, or give the decision its own module.
- **No needless configuration.** A parameter is a decision the module declined to make. Prefer a sensible default.
- **Dependencies point inward.** Business logic names no delivery mechanism, storage engine, or framework, performs no I/O, and reads no ambient state. The consumer defines the abstraction in its own vocabulary. Concrete implementations are built only at the entry point. No dependency cycles.

## Quick Diagnostic

When a change introduces a module, interface, or boundary, answer each question. A "no" names the fix.

| Question | If no |
|----------|-------|
| Does one sentence capture what the module is responsible for? | Split it, or merge it into the module it serves |
| Is calling it clearly easier than reimplementing it? | Hide more, expose less |
| Can its internals change without an edit outside it? | Pull the leaked decision into one owner |
| Does business logic depend only inward? | Invert the dependency |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.