agentleFS
mikejhillmikejhill/agent-skills/skills/product-design/SKILL.md

product-design

Skill0 starsChanged 4 days agoMITView on GitHub

Philosophy-first product design: purpose and principles, a UX contract that maps each user-facing promise to a test, and rules for modern, clean, consistent, efficient GUIs and CLIs in light and dark themes. Use when starting a project, writing its philosophy, or designing or reviewing UX.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ux-audit, i18n and 2 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.
  • shmehroSkill

    ux-audit

    Perform a heuristic UX audit on a UI screen, flow, or component description

    Also in 3 projects that use this

  • lbednerSkill

    i18n

    Use when a code or template change introduces a new translation message key, in either the framework CLI (aegis/i18n/locales/) or a generated project's CLI (the app/i18n/locales/ template tree). Covers adding the real English string, stubbing the same key into every other locale for parity, and the separate translation PR that later replaces placeholders with reviewed native text.

    Also in 3 projects that use this

  • alxyrginSkill

    writing

    Создание контента для личного бренда — статьи, посты, туториалы. Use when user asks to "напиши статью", "создай пост", "подготовь контент", "write article", "create content", or when task requires content creation for blogging, LinkedIn, Medium, or other publishing platforms.

    Also in 3 projects that use this

  • alexdcdSkill

    frontend-slides

    Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 5

    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:

    Write the philosophy first.

    line 12
  2. Distinctive:

    Add the row and its test in the same change as the behavior.

    line 35
  3. Distinctive:

    Follow the table with a short Visual Design section: theme, type, spacing, color, and icon rules for this project.

    line 36
  4. Distinctive:

    Keyboard complete: every main action has a key.

    line 44
  5. Distinctive:

    Follow the OS light or dark mode, including live changes.

    line 51

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

Product Design

Write the philosophy first. Every later decision (scope, architecture, UX, naming) should trace to a principle in it.

Philosophy

docs/design/philosophy.md, written before implementation and kept current:

  1. Core purpose: who it is for, the problem, and the one-sentence promise.
  2. Principles: five to eight, numbered P1..., each a short imperative title and two or three sentences on what it means in practice and what it rules out. Include principles for the experience (speed, honesty about limits, safe defaults), not only the code.
  3. Architecture: the layer or package table and the main flow.
  4. Prior art: existing tools, what this project takes from each, and why it is still needed.
  5. Out of scope: what it will not do, so requests can be declined by pointing here.

Revise a principle explicitly, with a decision record, rather than drifting from it.

UX Contract

For any tool with users, docs/design/ux-contract.md lists every promise as a table row:

IDPromiseEvidence
UX-01With nothing selected, the window invites the user to add files, and shows how.test_empty_window_invites_targets
  • One observable promise per row, in the user's words. The evidence column names the tests that prove it.
  • Add the row and its test in the same change as the behavior. A promise without a test is a bug in the contract.
  • Follow the table with a short Visual Design section: theme, type, spacing, color, and icon rules for this project.

Experience Rules

  • Answer first: the result or state leads; detail follows on demand.
  • Never freeze: long work runs in the background with progress; every blocking call has a timeout.
  • Safe actions: destructive actions name their target and ask first, with Cancel as the default; risky ones live behind an advanced menu.
  • Every state designed: empty, loading, success, partial, error (with the reason and a retry), and permission-limited.
  • Keyboard complete: every main action has a key; focus order is logical.
  • Consistent: one term per concept, one place per action, platform conventions over invention.
  • Efficient: fewest steps for the common path; remember the last choice; no confirmations for safe actions.
  • Honest: say what the tool cannot see or did not do.

Visual Rules

  • Follow the OS light or dark mode, including live changes. Test both.
  • One accent color plus neutrals; meet WCAG AA contrast in both themes.
  • A small type scale and a spacing scale (for example 4/8/12/16/24); align to it.
  • Native or platform-neutral controls and icons; one icon family.
  • Capture key screens in both themes in CI so changes are reviewed visually.

CLI Rules

  • Human-readable output by default, --json for machines, and stable exit codes documented in --help.
  • Errors say what failed, why, and what to do next, on stderr.
  • Quiet on success unless output is the point; progress only on a terminal.

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.