Skip to content
Skills Library
Design & UX · Planning

mandor-prototype-spec

/mandor-prototype-spec

Use when Mandor plans any UI/UX work (new screen, redesign, mockup from the user) and must write a prototype spec that Tukang Desain can build exactly, without improvising.

Licence
MIT
Last repository change
06.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 06.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when Mandor plans any UI/UX work (new screen, redesign, mockup from the user) and must write a prototype spec that Tukang Desain can build exactly, without improvising.

Original author description

Use when Mandor plans any UI/UX work (new screen, redesign, mockup from the user) and must write a prototype spec that Tukang Desain can build exactly, without improvising.

How it works

  1. 0. Before writing (ground truth, 5 minutes max)
  2. 1. Product frame (3 lines)
  3. 2. Data mapping table (mandatory, prevents invented data)
  4. 3. Wireframe (ASCII, mobile 360-412dp width)
  5. 4. Tokens (reuse project tokens first; new ones only if missing)
  6. 5. Component spec (one row per component)
  7. 6. Interaction table
  8. 7. Acceptance (Given/When/Then, testable)
  9. 8. Cut list and questions
  10. Writing rules
Original SKILL.md headings · 71 lines, 582 words
SKILL.md preview
---
name: mandor-prototype-spec
description: Use when Mandor plans any UI/UX work (new screen, redesign, mockup from the user) and must write a prototype spec that Tukang Desain can build exactly, without improvising.
---

# Mandor Prototype Spec

Mandor designs, Tukang builds. The spec is the prototype: if Tukang has to guess, the spec failed.

## 0. Before writing (ground truth, 5 minutes max)
1. Read the data model the screen renders (model class, table schema, service return type). List every field.
2. Read the current screen only at the build() root and the widgets the change touches.
3. Look at the user's mockup/reference: write down what it shows that the data does NOT have. Those items get cut or become a question to the user, never placeholders.

## 1. Product frame (3 lines)
- User and moment: who opens this, where, with what goal (e.g. operator in the field, one hand, checking status).
- Primary action: the one thing the screen must make fastest.
- Success signal: what the user sees in the first second without scrolling.

## 2. Data mapping table (mandatory, prevents invented data)
| UI element | Source field / formula | Empty value |
|---|---|---|
| "3 / 5" result | `completedCount / totalCount` of latest phase | "No data available" |

Any UI element without a source row is forbidden.

## 3. Wireframe (ASCII, mobile 360-412dp width)
```
┌ AppBar: title · subtitle ───────────── [action] ┐
│ [‹] November 2026 [›]                           │
│ (All)(Region A)(Region B)  chips, scroll-x      │
├─────────────────────────────────────────────────┤
│ MAP full bleed                     [fit][+][-]  │
│  ┌ floating summary card ┐                       │
├══ sheet handle ═════════════════════════════════┤
│ [ Items (5) | Pending (3) ]  pinned segmented   │
│ ! label 16/600            [Urgent]              │
│   reason 14 secondary, 2 lines                  │
└─────────────────────────────────────────────────┘
```
Mark: fixed vs scrolling regions, what is pinned, sheet sizes, z-order.

## 4. Tokens (reuse project tokens first; new ones only if missing)
| Token | Value | Use |
|---|---|---|
Type scale (sizes/weights, min 12sp), spacing scale (4/8/12/16/24), radius set (max 3 values), elevation levels (max 2), semantic colors with the contrast ratio against their background.

## 5. Component spec (one row per component)
| Component | Anatomy | Variants | States | Size/hit area | a11y label |
|---|---|---|---|---|---|
States always cover: default, pressed, selected, disabled, loading, empty, error.

## 6. Interaction table
| Trigger | Result | Motion | Edge case |
|---|---|---|---|
| tap marker | select + callout | 180ms fade | marker with lat 0 not rendered |

Include: back behavior, refresh/polling, offline, reduced motion, text scale 1.3.

## 7. Acceptance (Given/When/Then, testable)
- Given 2 items with issues and 1 urgent, When the sheet opens, Then the Issues tab is selected and the urgent item is first.
Each criterion maps to a widget test or a visible check Security can run.

## 8. Cut list and questions
- Cut: mockup items without data (say why in one line).
- Ask the user only for real tradeoffs (new backend data, new dependency, scope growth).

## Writing rules
- English, imperative, file:line for every touched place, no "make it nice". Numbers, not adjectives.
- One coherent style; reference the project design doc (e.g. `docs/design_references/`) by path, the bridge adds the REFS line.
- Split: UI spec to `ui`; data/service changes to `coder` with a shared contract in `docs/contracts/<feature>.md`; tests/a11y/regression to `sec`.

## Review checklist (Mandor gate on Tukang Desain report)
Data table honored (no invented field) · wireframe regions match · tokens used, no stray hex · all states present · hit areas and labels · no card in card · min 12sp · motion respects reduced motion · tests cover acceptance.

Versions

RepositoryScoreLicence
This page · annnpiwww/mandordantukangv3100MIT
annnpiwww/mandordantukang100MIT

Database snapshot: 13.11.2026 · package version 0bce0f15ee50 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100uxd-prototype-export
    Export a prototype page or journey step as static HTML, a React component tree, or a PatternFly implementation spec, and install the Prototype Bar (Sources, Prototype|Eval, State, Export). Use when capturing the current view, batch-exporting journey screens and page scenarios,…
  • 100prototype-spec
    Turns a static design into a numbered, testable, dev-ready specification covering every state, interaction, breakpoint, motion detail, and edge case the mockup cannot show. Use when someone asks "write the spec for this screen", "engineering keeps asking what happens when",…
  • 90prototype-design-interview
    Guide a user from a vague idea to a buildable prototype design through structured interview questioning, then emit DESIGN_SPEC.md + PROMPT.md and hand off to prototype-workflow. Use this skill whenever the user wants a prototype but cannot yet describe it — e.g.…
  • 90prototype
    Build a throwaway prototype to answer a design question, then turn the answer into a Spec. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
  • 100spec-to-prototype
    Use when the user has a spec document, design system reference, component library doc, wireframe description, or similar specification and wants a visual HTML/CSS dummy prototype built from it. Triggers on "build a prototype", "create a mockup from this spec", "prototype this…
  • 100image-to-spec
    Generate a design-system spec from an image (screenshot, mockup, or app screen) when there is no Figma source: a component spec (--component) or screen spec (--screen), auto-detected. A gated --gameplay mode (off by default) derives a game MECHANICS_SPEC.md from screenshots and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.