Sp New Ui Mockのロゴ

Sp New Ui Mock

組織
ReScienceLab
sp-new-ui-mock

ボードに既存のデザイントークンを使って、新しい画面、フロー、コンポーネントを独立型HTMLアートボードとしてプロトタイプキャンバス上にデザインします。トークンブロックの選択または拡張、単一のスクリプトからの画面行の生成、注釈付きスクリーンショットを使った反復、レンダリングによる検証を扱います。新しい画面や機能のモックアップ、比較用のデザイン案、既存ボードへの状態の追加、仕様書からのアートボード作成を依頼された場合に使用してください。

Add to TypingMind

概要

公開者ReScienceLab
リポジトリsuper-prototyping
スキル名sp-new-ui-mock
スター
91
フォーク
4
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ReScienceLabがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Sp New Ui Mock」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mock
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSp New Ui Mockを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSp New Ui Mockを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Sp New Ui Mockは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「Sp New Ui Mock」では何ができますか?

ボードに既存のデザイントークンを使って、新しい画面、フロー、コンポーネントを独立型HTMLアートボードとしてプロトタイプキャンバス上にデザインします。トークンブロックの選択または拡張、単一のスクリプトからの画面行の生成、注釈付きスクリーンショットを使った反復、レンダリングによる検証を扱います。新しい画面や機能のモックアップ、比較用のデザイン案、既存ボードへの状態の追加、仕様書からのアートボード作成を依頼された場合に使用してください。

TypingMindでSp New Ui Mockを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Sp New Ui Mockはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSp New Ui Mockをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ReScienceLab/super-prototyping/tree/main/skills/sp-new-ui-mockを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Sp New Ui Mockを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Sp New Ui Mockで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSp New Ui Mockを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Sp New Ui Mock」は無料ですか?

はい。ReScienceLabがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇