agentleFS
romermaromerma/mstack/skills/design/SKILL.md

design

Skill1 starsChanged 13 days agoMITView on GitHub

Design the shape of a change before writing it, by generating structurally distinct candidates, judging them against criteria fixed in advance, and recording the decision with its rejected alternatives. Use before implementing anything non-trivial, or when asked to design, architect, or choose an approach.

198 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 41 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 42 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 46 projects that use this

  • OpenAnalystIncSkill

    ads-management

    Activate for paid advertising campaigns on Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads. Includes ad copywriting, audience targeting, budget optimization, A/B testing, and ROAS tracking. Used by ads-specialist and campaign-manager agents.

    Also in 3 projects that use this

  • OpenAnalystIncSkill

    ai-artist

    Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (Claude, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.

    Also in 3 projects that use this

  • mayankjain1815-commitsSkill

    infra-audit

    Reads docker-compose, env files, ORM configs, and connection strings to map current infrastructure. Flags missing layers (cache, queue, analytics) based on observed access patterns. Outputs a structured infrastructure manifest.

    Also in 3 projects that use this

  • +4 more from OpenAnalystInc

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No agent here pins a model for either role, so that holds only if you launch the judge on another one.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 178 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

How much of this runs is set by the item's size, as the size matrix says. At l, every step. At m, steps 2 and 5 in the session, grounded on the code you read, with at least one rejected alternative; no fan-out and no judge. At s, none: skip: size s.

1. Ground

/mstack:understand the subsystems this touches. Designing against a guess about the current shape produces a design that fits a system nobody has.

2. Fix the criteria before you see the candidates

Three to six concrete criteria for this specific problem. Write them down now, and do not show them to the candidate generators. Criteria invented after the fact select for whichever candidate you already liked.

3. Design it twice

At least two structurally distinct candidates, not two flavours of the same shape. If the constraints genuinely forced one answer, say so and name the constraint: "this was the only viable shape because X" is a legitimate outcome, and it is different from not having looked.

Fan them out in one message so they cannot see each other. Each writes to its own path. If they diverge wildly, the framing was underspecified: reframe and rerun rather than averaging the divergence.

4. Judge, then graft

One judge, on a different model from the generators, scoring against the criteria from step 2. No agent here pins a model for either role, so that holds only if you launch the judge on another one. Pick a base, graft what is better from the others, and say what you rejected and why.

5. Write it down

.mstack/specs/<slug>/design.md, or a decision row if there is no spec:

  • Problem. What makes the shape non-obvious. One paragraph.
  • Usage. The caller's view, written first. The type sketch derives from this, and when the two disagree you reconcile the sketch to the usage. The caller's experience is the spec; the types serve it.
  • Shape. Data structures, then how data moves through the signatures.
  • Rejected alternatives. Required. A design with no rejected alternative is a first idea.
  • Trade-offs accepted. In the form "we accept X in exchange for Y."
  • Open questions. Phrased as questions. Only genuinely deferrable ones: if the answer would change the shape, resolve it now.

Red flags

  • Shallow module. As deep modules defines it.
  • Information leakage. The same design decision appears in two places.
  • Temporal decomposition. Modules split by execution order rather than by what they hide.
  • Pass-through method. A method that does nothing but call another with the same signature.

A deep call chain scatters understanding across layers where a deep module concentrates it. They look similar in a diagram and are opposites in practice.

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.