Logo: Sp New Ui Mock

Sp New Ui Mock

Organisatioun
ReScienceLab
sp-new-ui-mock

Entwërft en neie Screen, Flow oder Komponent als onofhängegt HTML-Artboard um Prototyp-Canvas, op Basis vun den existente Design-Tokens vum Board an net vun erfonntene Wäerter. Ëmfaasst d'Auswiel oder Erweiderung vum Token-Block, d'Generéiere vun enger Rei Screens aus engem eenzege Skript, d'Iwwerschaffen op Basis vun annotéierte Screenshots an d'Kontroll duerch Renderen. Benotzt dëst, wann Dir e neie Screen oder eng nei Funktioun als Mockup wëllt gestalten, Varianten oder Virschléi fir de Verglach entwërfe wëllt, e bestehende Board ëm zousätzlech States erweidere wëllt oder eng Spezifikatioun an Artboards ëmsetze wëllt.

Add to TypingMind

Iwwersiicht

EditeurReScienceLab
Repositorysuper-prototyping
Skill-Nummsp-new-ui-mock
Stären
91
Forks
4
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    ReScienceLab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Sp New Ui Mock an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mock
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Sp New Ui Mock an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Sp New Ui Mock automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Sp New Ui Mock net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill Sp New Ui Mock?

Entwërft en neie Screen, Flow oder Komponent als onofhängegt HTML-Artboard um Prototyp-Canvas, op Basis vun den existente Design-Tokens vum Board an net vun erfonntene Wäerter. Ëmfaasst d'Auswiel oder Erweiderung vum Token-Block, d'Generéiere vun enger Rei Screens aus engem eenzege Skript, d'Iwwerschaffen op Basis vun annotéierte Screenshots an d'Kontroll duerch Renderen. Benotzt dëst, wann Dir e neie Screen oder eng nei Funktioun als Mockup wëllt gestalten, Varianten oder Virschléi fir de Verglach entwërfe wëllt, e bestehende Board ëm zousätzlech States erweidere wëllt oder eng Spezifikati...

Firwat Sp New Ui Mock op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Sp New Ui Mock besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Sp New Ui Mock an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mock an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Sp New Ui Mock benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Sp New Ui Mock benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Sp New Ui Mock domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Sp New Ui Mock gratis?

Jo. ReScienceLab huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇