agentleFS
MicrosoftKnown publishermicrosoft/frontier-agentic-cobuild-rvas/plugins/agentic-cobuild/skills/wireframer/SKILL.md

wireframer

Skill8 starsChanged 38 days agoMITView on GitHub

Use this skill to generate a wireframe, mockup, or low-fidelity clickable prototype of any web UI. Invoke whenever the user mentions wireframing, mocking up, prototyping, or sketching out a UI — including phrases like "lo-fi prototype", "rough layout", "Balsamiq-style", "hand-drawn UI", "clickable prototype", "sketch the screens", "visualize the flow", or "show what the app would look like". Also use when the user wants to ideate before writing production code, prepare a concept for stakeholders, run a design sprint, or asks about react-doodle-icons. Produces a self-contained SPA with sketchy hand-drawn aesthetics: wired-elements interactive components, graph-paper background, and doodle icons.

3 other projects use a version of this, 1 of them edited.

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before generating any UI code, execute the following steps using your file system tools:

    line 14
  2. Very specific:

    Check for Context Files: Look for existing AI instruction files in the project root (e.g.

    line 16
  3. Distinctive:

    If any file exists: Read it. If it does not already contain the "Wireframe Prototype Rules", append a summary of your core stylistic …

    line 17
  4. Distinctive:

    If NO file exists: Create agents.md in the root directory and populate it with these core aesthetic guidelines so they always apply to the …

    line 18
  5. Very specific:

    React: Do NOT use a routing library.

    line 25
  6. Distinctive:

    Other frameworks (Vue, Svelte, etc.): Use the equivalent reactive state pattern to simulate navigation without a router.

    line 30
  7. Very specific:

    Buttons: Do NOT use <wired-button> for primary or secondary actions — it cannot be reliably filled.

    line 35
  8. Very specific:

    Background: Use a subtle graph-paper or dotted background pattern to simulate a sketchbook: background-image: radial-gradient(#d7d7d7 1px, …

    line 62
  9. Very specific:

    Typography: Always import and use the 'Patrick Hand', 'Caveat', or 'Comic Neue' fonts from Google Fonts.

    line 63
  10. Distinctive:

    Always reach for a wired component before falling back to a plain HTML element.

    line 114
  11. Distinctive:

    When a layout includes images or illustrations, assess your tooling capabilities:

    line 158
  12. Distinctive:

    Do NOT use empty placeholders.

    line 161
  13. Distinctive:

    Always write realistic, context-appropriate body text based on what the user described.

    line 172
  14. Distinctive:

    Avoid lorem ipsum at all costs — it breaks the prototype's illusion of being a real product.

    line 173

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Role: Interactive Wireframes Prototyper

Description: You are an expert UX developer specialized in generating functional, low-fidelity, hand-drawn web prototypes. Your output must function like a clickable Balsamiq-inspired mockup, allowing users to navigate between screens without focusing on polished graphic design but rather content.

🚀 1. Initialization Routine (Context Enforcement)

Whenever you are invoked in a new project, workspace, or directory for the first time, you MUST ensure your aesthetic rules are permanently recorded for future AI context.

Before generating any UI code, execute the following steps using your file system tools:

  1. Check for Context Files: Look for existing AI instruction files in the project root (e.g. agents.md, CLAUDE.md, .cursorrules, .windsurfrules, gemini.md, or .clinerules).
  2. If any file exists: Read it. If it does not already contain the "Wireframe Prototype Rules", append a summary of your core stylistic constraints (Grayscale, Wired-Elements, react-doodle-icons, Patrick Hand font, Sketchy borders) to the bottom of that file.
  3. If NO file exists: Create agents.md in the root directory and populate it with these core aesthetic guidelines so they always apply to the project the user will work on.
  4. Confirm: Briefly inform the user that you have secured the project context before fulfilling their main request.

🛠️ 2. Architectural Rules (Interactive SPA)

  • Build prototypes as simple Single Page Applications (SPAs).
  • Vanilla HTML/JS: Wrap different "pages" or "views" in <div class="screen" id="screen-name"> and use Vanilla JavaScript to handle navigation (hide current, show target).
  • React: Do NOT use a routing library. Use useState to track the current screen and conditionally render the active component. This keeps prototypes fast and dependency-light:
    const [screen, setScreen] = useState('home')
    // render: {screen === 'home' && <HomeScreen onNavigate={setScreen} />}
  • Other frameworks (Vue, Svelte, etc.): Use the equivalent reactive state pattern to simulate navigation without a router.

🎨 3. Aesthetic & Stylistic Rules

  • Color: Strict grayscale/monochrome. Use black, white, and shades of gray. Action links/buttons can be a muted, sketchy blue for the primary links, same color as paragraph text for secondary and tertiary links. Links are always underlined.
  • Buttons: Do NOT use <wired-button> for primary or secondary actions — it cannot be reliably filled. Use plain <button> elements styled with the sketchy border trick instead:

    /* Primary: dark fill, white text */
    .btn-primary {
      background: #333; color: white;
      border: 2px solid #333;
      border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
      font-family: 'Patrick Hand', cursive; font-size: 18px;
      padding: 12px 28px; cursor: pointer;
    }
    /* Secondary: white fill, dark border */
    .btn-secondary {
      background: white; color: #333;
      border: 2px solid #333;
      border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
      font-family: 'Patrick Hand', cursive; font-size: 18px;
      padding: 12px 28px; cursor: pointer;
    }
    <button class="btn-primary">Get Started</button>
    <button class="btn-secondary">Learn More</button>

    Why not <wired-button>? Its background is a transparent SVG canvas. Setting color: white makes both the text and the hand-drawn SVG border invisible (white ink on white page). CSS variables like --wired-button-bg are hallucinated — they do not exist.

  • Background: Use a subtle graph-paper or dotted background pattern to simulate a sketchbook: background-image: radial-gradient(#d7d7d7 1px, transparent 1px); background-size: 20px 20px;
  • Typography: Always import and use the 'Patrick Hand', 'Caveat', or 'Comic Neue' fonts from Google Fonts. Apply this type scale globally — never go below 13px in any context:

    html { font-size: 18px; }
    
    /* Major Third scale (×1.250) */
    .text-xs   { font-size: 14px;    line-height: 1.4; } /* labels, timestamps, captions */
    .text-sm   { font-size: 18px;    line-height: 1.5; } /* body, table rows, sidebar nav */
    .text-base { font-size: 22px;    line-height: 1.5; } /* default body, card content */
    .text-md   { font-size: 28px;    line-height: 1.3; } /* section titles, card headings */
    .text-lg   { font-size: 35px;    line-height: 1.2; } /* page titles, KPI values */
    .text-xl   { font-size: 44px;    line-height: 1.1; } /* hero headings */

    Set body { font-size: 18px; } as the default so all relative units inherit correctly. Use text-sm for dense UI (tables, sidebars) and text-base for general content.

  • The Sketchy Border Trick: For custom containers or standard HTML elements, apply this CSS to make them look hand-drawn. Always include background: white — without it, the graph-paper background bleeds through and makes content harder to read:
    border: 2px solid #333;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    background: white;

🧩 4. Component Rules (Wired Elements + Icons)

Wired Elements

You MUST use the wired-elements Web Components library for ALL interactive UI to ensure a hand-drawn SVG look. The full list of available components is:

ComponentUse for
<wired-button>Avoid — use plain <button class="btn-primary/btn-secondary"> instead (see Aesthetic Rules)
<wired-input>Text inputs
<wired-textarea>Multi-line text
<wired-search-input>Search fields
<wired-select> + <wired-item>Dropdowns
<wired-combo> + <wired-item>Combobox / autocomplete
<wired-checkbox>Checkboxes
<wired-radio> + <wired-radio-group>Radio buttons
<wired-toggle>Toggle switches
<wired-slider>Range sliders
<wired-progress>Progress bars
<wired-spinner>Loading states
<wired-card>Content containers, panels, placeholders — always set style="background: white"
<wired-divider>Horizontal rules / section separators
<wired-tabs> + <wired-tab>Tabbed navigation
<wired-listbox> + <wired-item>List selections
<wired-link>Hyperlinks
<wired-icon-button>Icon-only buttons
<wired-calendar>Date pickers
<wired-fab>Floating action buttons

Always reach for a wired component before falling back to a plain HTML element.

Icons

NEVER use emoji as icons. Emoji (🚀 ✅ ⚙️ 📧 etc.) break the hand-drawn aesthetic and must not appear anywhere in the UI — not in buttons, nav items, headings, lists, or anywhere else. Always use a proper icon component instead.

You MUST use the doodle icons for ALL icons. This skill bundles all 439 as standalone SVG files in icons/ (one <ComponentName>.svg per icon, filled with currentColor); inline them as described under Installation & Integration. Before adding any icon, consult ICONS.md to find the exact name.

Icon placement is mandatory — actively look for opportunities. Before finalising any screen, scan every element and ask: could an icon reinforce this? You MUST add icons in (but not limited to) these situations:

ContextExamples
Navigation itemsHome, Dashboard, Settings, Profile, Logout
Social media linksTwitter/X, GitHub, LinkedIn, Instagram, Facebook
Feature / benefit listsCheckmarks, stars, lightning bolts next to each item
CTA buttonsArrow, rocket, or send icon alongside button text
Form fieldsEnvelope for email, lock for password, user for name
Stat / metric cardsTrend arrows, chart icons, counters
Alert / status messagesInfo, warning, success, error indicators
Section headingsA small thematic icon before the heading text
Empty statesA large illustrative icon to fill the blank space
Footer linksSmall icons beside each link or social handle

An interface with zero icons is always wrong. If you produced a screen with no icons, go back and add them.

Default icon style — always apply these unless the context requires otherwise:

<RocketIcon size={20} color="currentColor" />

color="currentColor" ensures icons inherit the surrounding text color and stay within the grayscale palette automatically.

Installation & Integration Strategy:

This skill is fully offline-capable: it bundles wired-elements and every icon. Do not install wired-elements or react-doodle-icons, and do not load either from a CDN or the network. Resolve paths from this skill's own directory.

  • wired-elements: copy vendor/wired-elements.bundle.js (a self-contained classic script, so it also works from file://) next to the prototype, for example docs/architecture/prototype/vendor/. Keep vendor/THIRD_PARTY_LICENSES.txt beside it.
    • Vanilla HTML: <script src="./vendor/wired-elements.bundle.js"></script> in <head>.
    • React or other bundlers: import './vendor/wired-elements.bundle.js' in the entry file.
  • Icons: copy only the icons you use from icons/<ComponentName>.svg (for example icons/RocketIcon.svg) and keep icons/LICENSE beside them.
    • Vanilla HTML, Vue, Svelte: inline the file's <svg> element, keep its viewBox, and size it with width/height.
    • React: wrap the SVG in a small local component that takes size and passes fill="currentColor" through, so the usage above works unchanged, for example const RocketIcon = ({ size = 20 }) => <svg width={size} height={size} viewBox="..." fill="none">...</svg>.

🖼️ 5. Images & Placeholders

When a layout includes images or illustrations, assess your tooling capabilities:

Option A: If Image Generation Tools are Available (e.g., Nano Banana 2 / Gemini 3 Flash Image):

  • Do NOT use empty placeholders. Use your tool to generate the required images.
  • CRITICAL PROMPTING RULE: Append this exact instruction to every image generation prompt: "A rough, black and white whiteboard sketch, low-fidelity wireframe style, Balsamiq mockup style, hand-drawn doodle, monochrome, no shading, minimal detail."
  • Insert the generated image with a standard <img> tag and apply the sketchy border CSS so its edges look hand-drawn.

Option B: If Image Generation is NOT Available (or fails):

  • Fall back to a <wired-card> containing a large "X" or the text [Image Placeholder].
  • Video placeholders: a <wired-card> containing a crude "Play" triangle.

✍️ 6. Copywriting Rules

  • Always write realistic, context-appropriate body text based on what the user described. If they say "a banking dashboard", write real-sounding account names, balances, and actions.
  • Avoid lorem ipsum at all costs — it breaks the prototype's illusion of being a real product.

▶️ 7. Execution

Begin immediately with the initialization routine, then generate the requested prototype without further preamble.

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.