agentleFS
yknnvyknnv/brownspec/skills/design/SKILL.md

design

Skill2 starsChanged 3 months agoMITView on GitHub

Turn an approved spec.md into design.md — the technical approach, the blast radius of the change, contract changes, failure handling, and migration path. Use after /brownspec:spec, or when the user asks how to build something already specified, or says /brownspec:design.

119 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use banner-design, ui-styling and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lithStudySkill

    banner-design

    Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

    Also in 15 projects that use this

  • MicrosoftSkill

    ui-styling

    Guide for the visual style, structure, and shared building blocks used by Semantic Link Labs interactive UI tools (HTML widgets and anywidget-based widgets). Use this when adding a new interactive UI, modifying an existing one, or adding shared visual components.

    Also in 14 projects that use this

  • uac-opsSkill

    operate

    Run the live machine — set a north-star metric, build dashboards, automate routines, and run the continuous growth loop. Use when COMPANY.md Stage is operate, or the user says "metrics", "dashboard", "automate", "north star", "run the business", or "what now that I'm live".

    Also in 3 projects that use this

  • lithStudySkill

    brand

    Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.

    Also in 16 projects that use this

  • JetBrainsSkill

    slides

    Create and edit presentation slide decks (`.pptx`) with PptxGenJS and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.

    Also in 16 projects that use this

  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 105 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .brownspec/conventions.md first.

    line 12
  2. Very specific:

    If the change touches code using getattr, decorators, registries, or runtime attribute assignment, say so next to the list.

    line 34
  3. Very specific:

    Ask only where the choice is genuinely the user's: cost, risk appetite, migration window, or an org constraint invisible from the repo.

    line 47
  4. Distinctive:

    Contract changes: Every API, event, schema, and config key that changes, each marked additive or breaking.

    line 53

“Common” is measured: kept by at least 6 in 10 of the 105 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design the change

Input is .brownspec/features/<slug>/spec.md. Output is design.md beside it. If the spec is missing or its exit checklist does not pass, say so and run /brownspec:spec instead — designing against an unfinished spec produces a document nobody trusts.

Read .brownspec/conventions.md first. A design that departs from how this codebase is written needs a written reason, not silence.

Phase 1 — Blast radius

This is the phase that earns the document. The spec named where the change lands; now find everything that depends on those points. Run level 3 of the repo-reading skill against them — and only them.

For each point of change: callers (direct, then one hop out), importers, contract consumers across process boundaries, data touched, tests currently covering it.

Record the provenance at the top of the dependency section, verbatim:

**Dependency source:** graph (complete within static analysis)
**Dependency source:** text-search (may be incomplete — misses import aliases,
re-exports, and dynamic dispatch)

If the change touches code using getattr, decorators, registries, or runtime attribute assignment, say so next to the list. Neither a graph nor a grep sees those, and a reader deciding how carefully to review needs to know which kind of list they are holding.

An unmarked dependency list reads as complete. Never leave one unmarked.

Phase 2 — Propose, don't ask

Unlike the spec phase, most design questions have a defensible default once the spec is settled and the blast radius is known. Read the affected code, pick an approach, and present it as a recommendation with the alternatives you rejected and why. Fill in ${CLAUDE_PLUGIN_ROOT}/templates/design.md.tmpl and write it to disk before discussing.

Ask only where the choice is genuinely the user's: cost, risk appetite, migration window, or an org constraint invisible from the repo. One question per message, and rewrite design.md after each answer.

Phase 3 — The parts that carry the weight

Contract changes. Every API, event, schema, and config key that changes, each marked additive or breaking. For each breaking change: who consumes it — from the blast radius, not from memory — and what they have to do.

Failure handling. Per dependency: slow, unavailable, or returning something invalid. Timeouts, retries, fallback, and what the caller sees. "It will retry" is not a design — how many times, what backoff, what happens after the last attempt.

Migration and rollback. How the system reaches the target state without downtime, and how to get back. Data migrations get their own sequence: expand, backfill, contract. State explicitly whether the change is backward-compatible during the rollout window, and the point past which revert is no longer clean.

Rejected alternatives. Two or three, each with its reason. This is what stops the same debate restarting in three months.

Phase 4 — Policies carried forward

Copy the Policies touched list from the spec and, for each entry, name where the design answers it — or record that it is still open. Same rule as the spec phase: route, do not certify. A design does not make anything compliant; it makes the open questions visible to the person who decides.

Exit check

  • Every requirement in spec.md maps to something in the design
  • Blast radius established, with its provenance stated
  • All contract changes listed, breaking ones with a consumer migration path
  • Failure behavior per dependency, with concrete numbers
  • Rollback path described, including where it stops being clean
  • Observability named: what is logged, what is measured, what alerts
  • At least two rejected alternatives with reasons
  • Every policy the spec touched is either answered here or listed as still open
  • Departures from conventions.md are written down with justification

Then hand off to /brownspec:tasks. Do not write implementation code here.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.