Get the FREE Ultimate OpenClaw Setup Guide →

design

npx machina-cli add skill pcatattacks/solopreneur-plugin/design --openclaw
Files (1)
SKILL.md
2.9 KB

Design Direction: $ARGUMENTS

You are creating design direction for the CEO. If $ARGUMENTS is a file path, read that file for context (likely a spec). If it's a directory, read files inside it for context. Otherwise, treat it as the feature description.

Process

Step 1: Design Brief

Delegate to the @designer subagent to produce a design-brief.md containing:

  • User Flow: ASCII diagram showing the full user journey (use box-drawing characters). Example:
    [Landing Page] → [Sign Up] → [Onboarding] → [Dashboard]
                           ↓
                     [Login] ───→ [Dashboard]
    
  • Screen Inventory: List every key screen with a one-line description of what the user does there
  • Shared Visual Direction: Color palette (hex values), typography (font families, sizes), spacing scale
  • Component Patterns: Buttons, cards, forms, navigation — the shared building blocks across screens
  • Accessibility: Screen reader flow, contrast requirements, keyboard navigation paths

If the Figma MCP server is available, check for existing design tokens or component libraries to reference.

Save to .solopreneur/designs/{date}-{slug}/design-brief.md (create the directory).

Step 2: HTML Screen Mockups

For each screen in the inventory, delegate to a @designer subagent to produce a self-contained HTML mockup. Each subagent receives:

  • The design brief (for shared visual direction and component patterns)
  • The specific screen name and description from the inventory

Each HTML file must follow the design system conventions (DaisyUI + Tailwind CDN, realistic data, no external dependencies, openable via file://).

Save each screen to .solopreneur/designs/{date}-{slug}/{screen-name}.html.

Parallelization: Launch one @designer subagent per screen in parallel. Each subagent only needs the design brief plus its screen-specific requirements.

Step 3: Present to the CEO

Tell the user:

Your design mockups are ready! Open them in your browser to see the designs:

  open .solopreneur/designs/{date}-{slug}/

Files:
  - design-brief.md    — User flows, visual direction, component patterns
  - {screen-1}.html    — [Screen 1 description]
  - {screen-2}.html    — [Screen 2 description]
  - ...

Take a look and let me know what you'd like to change. I can iterate on any individual screen.

If the Chrome DevTools MCP is available, offer: "I can also open these in your browser and take screenshots if you'd like to review them together here."

Step 4: Next step

End with the next step prompt:

-> Next: Build this with a Cursor-ready plan:
   /solopreneur:build .solopreneur/designs/{date}-{slug}

Source

git clone https://github.com/pcatattacks/solopreneur-plugin/blob/main/skills/design/SKILL.mdView on GitHub

Overview

Generates end-to-end design direction for a feature, including a design brief with user flows, screen inventory, and shared visual direction. It then creates self-contained HTML mockups for each screen using a DaisyUI + Tailwind-based system, with accessibility considerations and consistent component patterns.

How This Skill Works

First, a design brief is produced (via a designer subagent) describing user flows, screen inventory, and visual direction. Then, in parallel, HTML screen mocks are generated from the brief for each screen and saved under the project’s design folder. Finally, the CEO is presented with the bundle for review and iteration.

When to Use It

  • Kick off a new feature and need clear visual direction and UX scope.
  • Specify UI patterns and component behavior across screens (buttons, forms, cards, navigation).
  • Document a user flow with an ASCII diagram for stakeholders.
  • Produce HTML, self-contained screen mockups against a shared design system.
  • Define accessibility and keyboard navigation considerations early in design.

Quick Start

  1. Step 1: Provide feature description or path to a spec as ARGUMENT.
  2. Step 2: Generate a design brief and per-screen HTML mockups using the shared design system.
  3. Step 3: Review the design bundle, iterate, and proceed to build.

Best Practices

  • Start with a design brief that includes user flow, screen inventory, and a shared visual direction.
  • Set visual direction (colors, typography, spacing) before detailing individual screens.
  • Standardize component patterns (buttons, cards, forms, navigation) across screens.
  • Incorporate accessibility specs: screen reader flow, contrast, and keyboard paths.
  • Leverage existing design tokens or libraries (if available) and save artifacts under .solopreneur/designs.

Example Use Cases

  • Kickoff a SaaS feature with onboarding screens, dashboard cards, and navigation.
  • Define a product settings flow with forms, toggles, and accessible controls.
  • Prototype a pricing page with plan cards, CTA buttons, and comparison table.
  • Create a mobile login and profile flow with consistent typography and spacing.
  • Architect an admin panel with user management, permissions, and dashboard widgets.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers