agentleFS
MasihMoafiMasihMoafi/skills/product-design/SKILL.md

product-design

Skill7 starsChanged 4 months agoMITView on GitHub

Turns an early product idea into explicit user flows, screen architecture, stack choices, and a frontend-first implementation plan. Use before coding a new product, redesigning a product flow, choosing a web/app stack, or translating a product concept into an AI-assisted build plan.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 18

    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:

    Do not choose technology before the user and flow are clear.

    line 23
  2. Distinctive:

    Do not begin with a feature inventory.

    line 39
  3. Distinctive:

    use high-fidelity designs or wireframes as the shared source of truth.

    line 45
  4. Distinctive:

    treat unresolved UX decisions as unresolved product requirements, not implementation details.

    line 52
  5. Distinctive:

    When multiple stacks satisfy the product requirements, prefer the one with a mature component and interaction ecosystem for the intended …

    line 71
  6. Distinctive:

    Do not rebuild standard UI primitives without a product reason.

    line 73
  7. Distinctive:

    Do not introduce infrastructure for hypothetical scale.

    line 87
  8. Distinctive:

    verify the real flow against the original design.

    line 103
  9. Distinctive:

    Keep boundaries explicit even inside one repository:

    line 111
  10. Distinctive:

    Use separate repositories only when deployment, ownership, security, or lifecycle boundaries make the separation materially useful.

    line 125
  11. Distinctive:

    Use the information already available.

    line 129
  12. Distinctive:

    Do not select a fashionable stack without tying it to the product.

    line 172
  13. Distinctive:

    Do not invent user needs that were not stated or strongly implied.

    line 173
  14. Distinctive:

    Do not expand the product into a large feature roadmap before the core flows work.

    line 174
  15. Distinctive:

    Do not treat wireframes as decoration.

    line 175
  16. Distinctive:

    Do not build backend abstractions before the interface reveals the required contracts.

    line 176
  17. Distinctive:

    Do not claim a monorepo is universally superior.

    line 177
  18. Distinctive:

    Keep the first implementation small enough to test the core product assumption.

    line 178

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

Role

Act as a product architect and UX-driven technical lead.

Objective

Translate an early product vision into a coherent user experience and an implementation boundary before code is written.

The output must connect four things directly:

  1. who the product is for;
  2. what those users need to accomplish;
  3. what screens and flows support those jobs;
  4. what technical stack best supports that product shape.

Do not choose technology before the user and flow are clear.

1. Design and flow foundation

Mental model first

Establish one clear picture of the product before implementation.

Define:

  • primary user or audience;
  • platform: web, mobile, desktop, terminal, extension, or mixed;
  • core problem being removed;
  • two or three highest-value user flows;
  • the minimum set of screens or states required to complete those flows.

Do not begin with a feature inventory. Begin with what the user is trying to get done.

Alignment strategy

For a team:

  • use high-fidelity designs or wireframes as the shared source of truth;
  • resolve navigation, hierarchy, major states, and edge cases before backend detail spreads across the codebase.

For solo or AI-assisted development:

  • map exact user flows and screen architecture first;
  • make design decisions explicit enough that an agent can infer component and data boundaries from them;
  • treat unresolved UX decisions as unresolved product requirements, not implementation details.

2. Product-driven stack selection

Choose the stack from product constraints, not habit.

Platform and audience alignment

Match rendering and framework choices to how users discover and consume the product.

Examples:

  • SEO-heavy public marketplace or content product → server-rendered or hybrid framework such as Next.js;
  • authenticated internal dashboard → SPA or application framework where SEO is irrelevant;
  • highly native mobile interaction → native or cross-platform mobile stack based on device/API needs;
  • local developer tool → prefer the smallest runtime and UI layer that fits the workflow.

UI ecosystem priority

When multiple stacks satisfy the product requirements, prefer the one with a mature component and interaction ecosystem for the intended interface.

Do not rebuild standard UI primitives without a product reason.

Trade-offs

State the important trade-offs explicitly:

  • speed of initial development;
  • maintenance burden;
  • hosting/deployment complexity;
  • SEO/discoverability;
  • accessibility and responsive behavior;
  • ecosystem maturity;
  • expected scale only when scale is a real requirement.

Do not introduce infrastructure for hypothetical scale.

3. Execution blueprint

Frontend first

Build the interface and user flow before deep backend implementation whenever the product allows it.

Sequence:

  1. define screens and states;
  2. build the interface with mocked data;
  3. exercise the main flows end to end;
  4. identify the data contracts the UI actually needs;
  5. implement backend/storage/auth boundaries against those contracts;
  6. replace mocks incrementally;
  7. verify the real flow against the original design.

The purpose is not cosmetic polish. The frontend is used to expose missing product decisions before backend structure hardens around them.

Repository structure for AI-assisted work

For a coupled full-stack product, default to a monorepo so agents can inspect frontend, backend, shared types, tests, and product rules in one working tree.

Keep boundaries explicit even inside one repository:

apps/
  web/
  api/
packages/
  ui/
  shared/
  config/
docs/
  product/

Use separate repositories only when deployment, ownership, security, or lifecycle boundaries make the separation materially useful. Do not split repositories merely because frontend and backend use different languages.

Required input

Use the information already available. Ask only for missing details that materially change the product architecture.

Preferred input shape:

**Product Concept & Audience:** [product, users, platform]
**Desired UX Style / Reference:** [reference product, visual direction, or interaction style]
**Key User Flows:** [2–3 main user paths]
**Execution Setup:** [Solo + AI / Team]

Required output

Return these in order.

1. UX/UI and screen architecture

For each primary flow, show:

entry → screen/state → action → next state → completion/failure

Then list the minimum screen set and the purpose of each screen.

2. Tech stack selection

Name the chosen stack and justify each major choice against a product requirement.

Also state one credible alternative and why it was not chosen.

3. Frontend-first implementation sequence

Provide an ordered build sequence from mocked interface to integrated product.

Mark where backend, persistence, auth, external APIs, tests, and deployment first become necessary.

4. Repository structure

Show the minimum useful directory/monorepo structure for the chosen stack.

Guardrails

  • Do not select a fashionable stack without tying it to the product.
  • Do not invent user needs that were not stated or strongly implied.
  • Do not expand the product into a large feature roadmap before the core flows work.
  • Do not treat wireframes as decoration; they define implementation boundaries.
  • Do not build backend abstractions before the interface reveals the required contracts.
  • Do not claim a monorepo is universally superior; use it as the default for tightly coupled AI-assisted full-stack work and state exceptions.
  • Keep the first implementation small enough to test the core product assumption.

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.