Skip to content
SkillModel-led117 tokens in use

A Philosophy of Software Design

Ousterhout-inspired design rules that push an agent toward deep modules, hidden complexity and small, obvious interfaces.

3,324 stars on the repository MIT Licenseciembor/agent-rules-books · a-philosophy-of-software-design
npx skills add ciembor/agent-rules-books --skill a-philosophy-of-software-design
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing A Philosophy of Software Design costs

35tokens idle
117tokens in use
3,770tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Needs attention
  • Frontmatter11/15
  • Structure0/25
  • Examples0/15
  • Output2/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Fair
  • Development activity44
  • Maintenance72
  • Community52
  • Maturity28
  • Momentum40

This skill loads a compact rule set inspired by John Ousterhout’s book on software design. It tells a coding agent to treat reduced complexity as the measure of success when it designs modules, changes APIs or refactors code.

The rules cover deep modules, information hiding, pulling complexity downward, comments that carry contracts, and naming. It is written for module and API work, and for reviews of shallow abstractions.

What You Get

  • A mini rule set of decision rules, trigger rules and a final checklist for design work
  • A full version of the rules the agent can open when a tradeoff needs more depth
  • A skill description that makes the agent load the rules for module, API and refactoring tasks

Common Use Cases

  • Reviewing an API for leaked internals, setup sequences and mode flags
  • Deciding whether a new wrapper, helper or layer hides enough complexity to keep
  • Refactoring shallow modules into deeper ones with simpler public contracts
  • Checking that comments document contracts and invariants and do not narrate code

What Makes It Unique

It centres on one question: does the change reduce what a reader has to hold in mind. Where other rule sets list style preferences, this one gives the agent a test for every new module, layer, option or flag, and asks it to prove the addition hides more than it adds. The repository’s own experiment compared this rule set with a one-line instruction that only named the book, and the longer rules scored higher in a qualitative review.

Under The Hood

The skill is a SKILL.md with a name and description, plus three Markdown files with the mini, nano and full versions of the rules. The SKILL.md tells the agent to read the mini file before design decisions and the full file only for harder tradeoffs. It contains no scripts. It does not fetch web pages, call APIs, run commands or write files; the agent only reads the rule text.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers