agentleFS
ThakurvaibhavThakurvaibhav/platform-agent-harness/skills/design/SKILL.md

design

Skill2 starsChanged 7 days agoApache-2.0View on GitHub

Design an infra system, subsystem, or API (CRD/XRD/chart contract), new or inside the existing estate. Locks requirements first, builds a constraint inventory, generates 2-3 candidate shapes with diagrams, scores them with a multi-model judge panel (2 Anthropic + 1 GPT-class) that removes complexity rather than scoring it, and emits a grounded technical design. Trigger phrases: "design a system", "design the API/CRD/XRD for", "how should we structure", "/design", "system design for", "architect this", "what shape should X take". Use for design; use adopt-eval for should-we-adopt-X selection decisions.

197 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.
  • seikaikyoSkill

    banner-design

    Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with optional generated or supplied 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.

    Also in 38 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 39 projects that use this

  • seikaikyoSkill

    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 43 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

  • 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 42 projects that use this

  • AnthropicSkill

    design-system

    Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

    Also in 49 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Step 0: read it: If it changes, this skill inherits the change — never copy its content here.

    line 21
  2. Distinctive:

    Run it every time. Product constraints may be thin.

    line 36
  3. Distinctive:

    Each candidate ships with a topology diagram: Do not wait to be asked — if the human has to request a diagram, the doc was already …

    line 64
  4. Distinctive:

    Write candidates and constraints to a file and pass the path — never inline them in a shell argument.

    line 80
  5. Distinctive:

    Every judge must answer one question explicitly: "name any component that can be removed without losing a stated requirement." A non-empty …

    line 87
  6. Very specific:

    Write to docs/<topic>/design/<name>.md.

    line 132
  7. Distinctive:

    Do not skip Phase 1 because the design "seems obvious".

    line 139
  8. Distinctive:

    Do not collapse to one candidate to save time.

    line 141

“Common” is measured: kept by at least 6 in 10 of the 174 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 — grounded infra design with a multi-model panel

Thin orchestrator. Holds no methodology. The single source of truth is:

  • core/protocols/design-framework.md

Step 0: read it. If it changes, this skill inherits the change — never copy its content here.

Also read core/protocols/code-quality.md (R1 offline proof, R2 read-the-source) and your environment/topology reference before Phase 1.

Flow

0. Requirements lock — 10 lines, then stop

Problem · success test · non-goals · consumers. Get an explicit nod before touching Phase 1. Do not proceed on silence, and do not skip this because the ask "seems clear" — a design torn down mid-session for unclear requirements costs far more than this gate.

1. Constraint inventory — derive, then ask

Run it every time. Product constraints may be thin; platform constraints never are (clusters, CNI, DNS, GitOps, ingress/egress, policy engine). If the human ends up asking "what are we already using for this?", Phase 1 was skipped or not surfaced.

Build it yourself first. Never open with a questionnaire.

agent-knowledge/scripts/knowledge-search.sh <domain keywords>

Then, per the framework's source list: sibling implementations, your environment/topology reference, domain learnings, live cluster state, the CRD/API schema, CI gates.

Classify every item Hard constraint / Convention / Preference with the evidence each class requires. Separately list immutable-after-create fields and anything nothing validates.

Present the table, then ask the human only to correct and fill gaps — via AskUserQuestion where the answer changes the design. State your assumptions explicitly rather than asking about them.

Gate: the human challenges the table before any design exists. This is the phase that prevents the expensive rework.

2. Candidate shapes

2–3 shapes that differ in approach. Disqualify (don't score) any that violates a hard constraint, and say why.

Each candidate ships with a topology diagram. Do not wait to be asked — if the human has to request a diagram, the doc was already illegible.

3. Judge panel — blind round 1

Dispatch all three in one message so they run in parallel and cannot see each other.

  • J1 Anthropic — fit & correctness: Agent(subagent_type="general-engineer", model="opus")
  • J2 Anthropic — operability: Agent(subagent_type="general-engineer", model="opus")
  • J3 GPT — adversarial:
    timeout 900 agent-knowledge/scripts/codex-dispatch.sh general-engineer \
      "<candidates + constraint table written to a FILE; pass the path>" <repo-dir> \
      > /tmp/design_j3.out 2>&1 < /dev/null

Write candidates and constraints to a file and pass the path — never inline them in a shell argument; backticks in a config sketch are command substitution.

Each judge gets: the requirements lock, the constraint table, all candidates, the rubric. No judge gets another judge's output in round 1. Tell each: "Do not dispatch further workers."

Every judge must answer one question explicitly: "name any component that can be removed without losing a stated requirement." A non-empty answer sends the candidate back to Phase 2 — complexity is a defect to remove, not a score to lower.

4. One revision round, then stop

Judges pick different winners → round 2: each sees the others' picks and rationale, and may revise on better evidence. Same winner with differing scores is not a split — do not escalate on score arithmetic.

Two rounds, then stop. Still split → surface it: both positions, both rationales, the evidence each rests on. Never average scores. Never fabricate consensus — a surviving 2-1 split is the signal you ran a mixed-model panel to get.

5. Synthesise and write

Winner + grafted ideas from runners-up. Emit the framework's deliverable sections.

Output discipline — the reader implements from this: tables, mermaid, config sketches. No prose walls, no summary-of-the-summary. Every claim grounded (file:line / live state / source at our version) or tagged UNVERIFIED (assumption).

5.5 Cold reader — the self-containment gate

One worker, cheap model, read-only. Framework section: Phase 4 gate — the cold reader.

The prompt is deliberately the opposite of the standard dispatch preamble:

Read ONLY <design doc path> and the files it links. Do not prime memory, read the index, the shared protocols, the cluster registry or any learnings-*.md, and do not run the knowledge search. You have no prior context and must not acquire any. List every term, system, flag, path, acronym or prerequisite you cannot resolve from what you read. For each: where it appears, and what you would have to be told. Propose nothing, fix nothing, judge nothing. Verify by: every item on your list is traceable to a line in the document; you read no file outside the document and its links.

Each item is resolved one of three ways: defined inline, linked, or written down as deliberately out of scope. Silence is not one of them.

Do not reuse a judge for this — a judge has read the constraint table, which is where half the undefined terms are defined.

6. Route

Write to docs/<topic>/design/<name>.md. Never edit an existing design doc in place — new file, and link the prior one if it supersedes.

Boundaries

  • Not for should-we-adopt-X selection → adopt-eval.
  • Not for implementing the design → hand to the specialist agent.
  • Do not skip Phase 1 because the design "seems obvious". Constraints discovered late are the entire cost this skill exists to avoid.
  • Do not collapse to one candidate to save time. One candidate converges by review rounds.

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.