Logo van Sp New Ui Mock

Sp New Ui Mock

Organisatie
ReScienceLab
sp-new-ui-mock

Ontwerp een nieuw scherm, nieuwe flow of component als zelfstandig HTML-artboard op het prototypecanvas, gebaseerd op de bestaande designtokens van het board in plaats van zelfbedachte waarden. Dit omvat het kiezen of uitbreiden van het tokenblok, het genereren van een rij schermen vanuit één script, itereren op basis van geannoteerde screenshots en controleren door het resultaat te renderen. Gebruik dit wanneer je wordt gevraagd om een nieuw scherm of een nieuwe functie te mock-uppen, ontwerpvarianten of voorstellen te maken om te vergelijken, een bestaand board uit te breiden met meer statussen, of een specificatie om te zetten in artboards.

Add to TypingMind

Overzicht

UitgeverReScienceLab
Repositorysuper-prototyping
Skillnaamsp-new-ui-mock
Sterren
91
Forks
4
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ReScienceLab op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sp New Ui Mock in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mock
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ReScienceLab/super-prototyping.git /tmp/super-prototyping
mkdir -p .claude/skills
cp -r /tmp/super-prototyping/skills/sp-new-ui-mock .claude/skills/sp-new-ui-mock
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sp New Ui Mock in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sp New Ui Mock automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sp New Ui Mock niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

New UI mock

For work with no reference screenshot to copy. If there is one, use sp-clone-prototype instead. Measurement beats invention every time.

Everything renders on the canvas from canvases/<slug>/; see sp-canvas for running it, and its references/layout.md for the folder and layout.json rules.

The app ships the template folder, and sp root prints where. sp, refkit or artgen not found? Run sh <sp-canvas skill dir>/scripts/install.sh (Windows: install.ps1) and follow that skill's references/install.md. A [super-prototyping:notice] line on their stderr carries its own rule: finish the step, then do what it says.

bash
KIT="$(sp root)"
mkdir -p canvases                       # first board in a project
B=canvases/<slug>
cp -r "$KIT/canvases/templates" "$B"
python3 "$B/gen.py"

Everything a run derives goes under $B/scratch/: shots, montages, candidate boards. A -o without a directory writes into whatever the current directory happens to be, which is the user's project root as often as not. The template's parked reference is ref-01-screen.html, and that stays out of git too. Once per project:

bash
for p in 'ref-*.html' '**/assets/refs/' 'scratch/'; do
  grep -qxF "$p" .gitignore 2>/dev/null || echo "$p" >> .gitignore
done

1. Find the tokens before you design

Never invent a palette when the product already has one.

  • Extending an existing board? Reuse its 00-design-tokens.html block verbatim. Copy it byte-identically into the new file; a sandboxed iframe has no shared stylesheet.
  • Cloning a real app's look? Stop and run sp-clone-prototype Phase 1 and Phase 2 first; come back with a measured token block.
  • Genuinely new product, nothing to measure? Copy the shipped template folder, change NAME and the prefix, and pick deliberately: a platform-native stack, a neutral ramp, one accent, one danger. Keep the evidence table and write why in it ("iOS system blue", "brand hex from the logo"). An unexplained hex is a future bug.

A new token is a decision, not a convenience. If a screen needs a colour or a size that is not in the block, either it belongs in the block (add it there, in every file) or the screen is wrong.


2. Ground the content

Readers take the copy, numbers and states in a mockup as product decisions.

  • Read the project's PRD.md first when it has one (the sp-define-product skill writes it). Its users, scope and Screens table, with the states of each screen, are the brief.
  • Take strings from the real source when it exists: localization files, existing screens, the spec. Never from imagination.
  • Use real assets over hand-drawn approximations: the actual icon, the actual logo, the actual empty-state illustration, embedded as a data: URI.
  • Design the unhappy states too: empty, loading, error, long string, longest plausible number. A mock that only shows the happy path hides exactly the layout problems worth finding now.

3. One generator, one row of screens

Same rule as cloning. Write one script that emits every .html in the folder, and edit the script, never the output.

python
TOKENS = ":root{...}"                      # one source of truth
def page(title, extra_css, body): ...      # TOKENS + frame + body

Constraints (from the canvas renderer):

  • Fully self-contained. sandbox="" means no external CSS, JS, fonts or images; data: URIs and inline SVG only.
  • Artboard box is 478 × 980. Overflow clips silently.
  • iPhone frame 393 × 852 pt at 1pt = 1px: 54px status bar, 125 × 36 Dynamic Island, 139 × 5 home indicator.
  • Avoid SF Symbols private-use glyphs; they render as tofu without SF Pro.
  • Accessibility is not a mockup detail to skip: real contrast on real backgrounds, ≥ 44pt tap targets, aria-label on icon-only controls. A mock that fails contrast ships a screen that fails contrast.

Proposals to compare

When the ask is "show me some options", make each proposal a whole artboard in one row, not a fragment:

json
{ "title": "Card layout proposals", "numbered": true,
  "files": [
    { "file": "10-cards-continuity", "label": "Continuity" },
    { "file": "11-cards-structured", "label": "Structured" },
    { "file": "12-cards-reference",  "label": "Reference" }
  ] }

Three is usually the right number. Two reads as a false binary, five as indecision. Make them genuinely different approaches, not three spacing values, and put a one-line rationale at the bottom of each board. Rows align column-for-column, so a second row of the same three under a different state reads as a matrix.


4. Iterate against annotated screenshots

For review, the user marks up a screenshot of the canvas with boxes, arrows and numbers, then pastes it back.

  1. Echo what you read each annotation as, before touching anything.
  2. Change the generator, not the artboard.
  3. Re-run the generator; the canvas swaps in the new board.
  4. Verify that region visually before claiming it is done.

Answer every annotation, including the ones you disagree with. Say so in a line and make the change, or say why you did not and what you did instead.


5. Verify by rendering

bash
refkit shoot "$B"/*.html -o "$B/scratch/shots" --scale 2
refkit montage "$B"/scratch/shots/*.png -o "$B/scratch/board.png" --height 520

Read the montage. Check, in order: nothing clipped; text wraps where you intended; the same element has the same inset on every screen; nothing uses a colour that is not in the token block (grep -o '#[0-9A-Fa-f]\{6\}' on the generated files and compare the set against :root).

Re-render after every pass. A change you have not re-rendered is not done.

Veelgestelde vragen

Wat doet de AI-skill Sp New Ui Mock?

Ontwerp een nieuw scherm, nieuwe flow of component als zelfstandig HTML-artboard op het prototypecanvas, gebaseerd op de bestaande designtokens van het board in plaats van zelfbedachte waarden. Dit omvat het kiezen of uitbreiden van het tokenblok, het genereren van een rij schermen vanuit één script, itereren op basis van geannoteerde screenshots en controleren door het resultaat te renderen. Gebruik dit wanneer je wordt gevraagd om een nieuw scherm of een nieuwe functie te mock-uppen, ontwerpvarianten of voorstellen te maken om te vergelijken, een bestaand board uit te breiden met meer sta...

Waarom Sp New Ui Mock gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sp New Ui Mock bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sp New Ui Mock in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mock. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sp New Ui Mock gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sp New Ui Mock gebruiken?

Zoveel als je wilt. Je kunt Sp New Ui Mock gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sp New Ui Mock gratis?

Ja. Deze skill is door ReScienceLab op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇