agentleFS
mrzhangguoguomrzhangguoguo/oh-my-workbuddy/skills/design/SKILL.md

design

Skill2 starsChanged 5 months agoMITView on GitHub

Canonical repo-local DESIGN.md workflow for product, UI/UX, and frontend decision source of truth

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

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

  • 0

    Common

    Most of the 105 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use the design skill when product, UI/UX, frontend, or design-system decisions need a durable source of truth in the repository.

    line 15
  2. Very specific:

    If both are needed, run design first to establish the design contract, then run the visual-reference loop only after the visual …

    line 48
  3. Distinctive:

    Ask concise questions only when repo evidence cannot answer design-critical context.

    line 65
  4. Very specific:

    If the user wants autonomous progress or cannot answer, create DESIGN.md with explicit assumptions and open questions instead of blocking.

    line 74
  5. Distinctive:

    Use the structure below. Preserve useful existing content, remove contradictions, and mark unknowns as open questions.

    line 78
  6. Distinctive:

    Prefer existing components, tokens, and documented constraints.

    line 171
  7. Very specific:

    If implementation reveals a design contradiction, update DESIGN.md or add an open question before proceeding.

    line 172
  8. Distinctive:

    Do not introduce a new design-system layer when existing repo-native patterns can be extended.

    line 173
  9. Distinctive:

    Do not declare the design workflow complete until:

    line 182

“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

Ported from oh-my-codex design. OMX runtime conventions ($macro invocation, omx CLI, .omx/ state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list, .workbuddy/memory).

Design Skill

Use the design skill when product, UI/UX, frontend, or design-system decisions need a durable source of truth in the repository. This skill discovers existing design context, interviews for missing product/design information, and creates or refreshes repo-local DESIGN.md so future UI/UX/frontend work is grounded instead of improvised.

Purpose

Make repo-local DESIGN.md the source of truth and canonical design contract for the current repository:

existing repo evidence -> missing-context interview -> create/refresh DESIGN.md -> use DESIGN.md for UI/UX/frontend decisions.

The output is not a pixel-matching loop and not a one-off visual critique. It is the maintained design brief/checklist that implementation, review, and future visual work should cite.

Use when

  • The user asks for design direction, UX guidance, frontend planning, or design-system alignment.
  • A repo needs a design brief before UI/frontend implementation begins.
  • Existing UI/components/assets/screenshots need to be summarized into a reusable design source of truth.
  • UI/UX/frontend decisions are ambiguous and should be resolved through product context, constraints, and documented principles.
  • A feature needs DESIGN.md created or refreshed before execution or implementation work proceeds.

Do not use when

  • The user provides or requests a visual reference/image/live URL and wants measured implementation until screenshots match. Use a visual-reference implementation loop (e.g. the visual-ralph skill if available) for that.
  • The task is pure backend/API/infrastructure work with no user-facing design consequence.
  • The user only asks to compare screenshots or score visual fidelity.

Relationship to visual-reference implementation

design owns the durable repo design source of truth: product goals, users, IA, visual language, components, accessibility, constraints, and open questions in DESIGN.md.

A visual-reference implementation loop owns implementation against an approved generated/static/live-URL visual reference, with screenshot capture and pixel-diff evidence. It may read DESIGN.md, and it may leave design-system artifacts behind, but it does not replace the DESIGN.md discovery/interview/refresh workflow.

If both are needed, run design first to establish the design contract, then run the visual-reference loop only after the visual reference/baseline is approved.

Workflow

1. Discover local design evidence

Inspect the repository before writing guidance. Look for:

  • DESIGN.md, docs/design*, docs/ux*, docs/frontend*, README.md, product specs, PRDs, and issue notes.
  • Existing UI source: routes, pages, layouts, components, stories, examples, demos, theme files, CSS variables, Tailwind/theme config, tokens, icons, and assets.
  • Screenshots, mockups, brand files, logos, Figma/export notes, Storybook snapshots, Playwright screenshots, visual-regression baselines, or .omw/visual-ralph/* references.
  • Accessibility, responsive, i18n, content, and platform constraints already encoded in code or docs.

Record evidence with file paths. Distinguish observed facts from design inferences.

2. Interview only for missing context

Ask concise questions only when repo evidence cannot answer design-critical context. Prefer one focused round that closes the biggest gaps, such as:

  • target users/personas and jobs to be done,
  • product/business goals and non-goals,
  • brand personality or forbidden aesthetics,
  • primary flows and information architecture,
  • accessibility level, device/browser support, and implementation constraints,
  • existing design assets or references the repo does not contain.

If the user wants autonomous progress or cannot answer, create DESIGN.md with explicit assumptions and open questions instead of blocking.

3. Create or refresh DESIGN.md

Use the structure below. Preserve useful existing content, remove contradictions, and mark unknowns as open questions. Keep it actionable for implementers and reviewers.

Required DESIGN.md structure/checklist

# Design

## Source of truth
- Status: Draft | Active | Needs refresh
- Last refreshed: YYYY-MM-DD
- Primary product surfaces:
- Evidence reviewed:

## Brand
- Personality:
- Trust signals:
- Avoid:

## Product goals
- Goals:
- Non-goals:
- Success signals:

## Personas and jobs
- Primary personas:
- User jobs:
- Key contexts of use:

## Information architecture
- Primary navigation:
- Core routes/screens:
- Content hierarchy:

## Design principles
- Principle 1:
- Principle 2:
- Tradeoffs:

## Visual language
- Color:
- Typography:
- Spacing/layout rhythm:
- Shape/radius/elevation:
- Motion:
- Imagery/iconography:

## Components
- Existing components to reuse:
- New/changed components:
- Variants and states:
- Token/component ownership:

## Accessibility
- Target standard:
- Keyboard/focus behavior:
- Contrast/readability:
- Screen-reader semantics:
- Reduced motion and sensory considerations:

## Responsive behavior
- Supported breakpoints/devices:
- Layout adaptations:
- Touch/hover differences:

## Interaction states
- Loading:
- Empty:
- Error:
- Success:
- Disabled:
- Offline/slow network, if applicable:

## Content voice
- Tone:
- Terminology:
- Microcopy rules:

## Implementation constraints
- Framework/styling system:
- Design-token constraints:
- Performance constraints:
- Compatibility constraints:
- Test/screenshot expectations:

## Open questions
- [ ] Question / owner / impact

4. Use DESIGN.md as the decision contract

For UI/UX/frontend work after the refresh:

  • Cite the relevant DESIGN.md sections before making design choices.
  • Prefer existing components, tokens, and documented constraints.
  • If implementation reveals a design contradiction, update DESIGN.md or add an open question before proceeding.
  • Do not introduce a new design-system layer when existing repo-native patterns can be extended.

5. Handoff to implementation or visual-reference loop when appropriate

  • For normal frontend implementation, hand off with the relevant DESIGN.md sections, repo evidence, and acceptance criteria (spawn an Agent or use the team skill for parallel lanes).
  • For visual-reference/image/live-URL matching, hand off to the visual-reference implementation loop with the approved reference/baseline and note that DESIGN.md is supporting context, not the visual verdict target.

Completion checklist

Do not declare the design workflow complete until:

  • Existing design docs/assets/components/screenshots have been inspected or explicitly noted as absent.
  • Missing product/design context has been answered, assumed, or listed in DESIGN.md open questions.
  • DESIGN.md exists at the repo root and contains all required checklist sections.
  • UI/UX/frontend recommendations cite DESIGN.md rather than relying on unstated preferences.
  • Any visual-reference handoff is clearly separated as visual implementation matching, not DESIGN.md governance.

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.