本文へ移動
cccskills
無料GitHub で公開

interaction-design-board

Generates several distinct, clickable HTML interaction prototypes for one product surface into a Design Board and collects selection/remix feedback before implementation. Use for multiple UI versions, interaction alternatives, progressive-disclosure options, or when styling is fine but hierarchy/workflow/interaction feels off. Not for static visual-style calibration (use design-style-picker) or a settled CSS tweak.

インストール方法を見る

含まれるファイル(10)

  • SKILL.md10.4 KB
  • assets/design-board-template.html16.9 KB
  • references/board-contract.md4.4 KB
  • references/interaction-design-method.md5.8 KB
  • scripts/build_board.py12.8 KB
  • tests/fixtures/board.json2.1 KB
  • tests/fixtures/command-first.html3.5 KB
  • tests/fixtures/ledger-first.html3.5 KB
  • tests/fixtures/queue-detail.html4.1 KB
  • tests/test_build_board.py8.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Interaction Design Board

Turn interaction uncertainty into inspectable evidence. Keep the product's real facts and design language fixed; vary the interaction architecture enough that the user can experience the trade-offs before production code changes.

Route The Request

  • Use this skill when the choice depends on behavior, state, workflow, hierarchy, or progressive disclosure.
  • Use design-style-picker for static visual-style calibration and image matrices.
  • Use gstack's design-consultation for a new product-wide design system and gstack's design-shotgun for static generated mockups.
  • Return to this skill after a visual direction is chosen if the user still needs to compare clickable interaction structures.
  • Do not use it for a settled one-line CSS adjustment or when the user already supplied an approved interaction specification and asked only for implementation.

Non-Negotiable Outcome

Produce a decision, not a gallery:

  1. Several runnable HTML candidates keep the same business facts, product scope, design tokens, and available actions.
  2. Each candidate embodies a distinct interaction hypothesis rather than a skin.
  3. The Design Board lets the user operate every candidate, record concrete feedback, select one, or request a named remix.
  4. Production implementation does not start until the user approves the behavior.

Static screenshots are supporting evidence only. A screenshot cannot prove a collapse state, keyboard path, selection model, or task handoff.

Workflow

1. Freeze The Decision Contract

Before generating variants, write a compact contract in the session workspace:

  • User job: the real task the operator is trying to complete.
  • Decision scope: the one page, component, or bounded journey being compared.
  • Immutable facts: real objects, labels, statuses, permissions, actions, and data semantics that every variant must preserve.
  • Existing language: current tokens, components, navigation, density, and brand assets that must remain recognizable.
  • First-view invariant: what must stay visible before any disclosure.
  • Interaction states: the meaningful states the user must be able to exercise.
  • Stop condition: approved variant or explicit remix brief; no product edit yet.

For an existing product, inspect its rendered page and implementation before writing the contract. Do not replace unknown facts with plausible sample data. Mark unknowns as unknown or omit them if they are not needed for the interaction choice.

When the decision replaces a screen that already ships, enumerate its current user-visible behaviors as a numbered inventory during that inspection: every action, state, deep link, keyboard path, empty state, and copy affordance. Candidates are free to defer or drop any of them — the inventory exists so that a dropped behavior is a stated trade-off rather than an unnoticed regression.

Read references/interaction-design-method.md before proposing the candidate architectures. It contains the hierarchy, progressive-disclosure, comparison, and accessibility rules that decide whether a direction is legitimate.

2. Propose Different Interaction Architectures

Propose three candidates by default. Add candidates only when another independent interaction hypothesis exists; do not inflate the board with minor variants.

For each candidate state:

  • the hypothesis about how it helps the user's job;
  • what it makes primary;
  • what it defers or hides;
  • the likely trade-off;
  • the states and actions that must work in the prototype.

Hold the decision contract constant. Change navigation/selection/disclosure/action ownership or information order—not colors, copy, and data all at once. Useful families include command-first, queue-detail, object-led, comparison-led, and ledger-first, but derive candidates from the current task rather than filling a pattern quota.

3. Generate Isolated Runnable Candidates

Create one self-contained HTML file per candidate in a session workspace outside the product source tree. Keep CSS and JavaScript inline; avoid runtime network dependencies so every prototype survives inside the Board.

When independent worker contexts are available, assign one candidate to each worker with the same frozen decision contract and only that candidate's hypothesis. Do not let workers see one another's output. This isolation is the test-time-scaling mechanism: it preserves distinct hypotheses instead of converging into siblings. If workers are unavailable, generate serially but re-read the frozen contract—not the previous candidate—before starting the next one.

Each candidate must implement the declared states. Decorative buttons that do nothing are not interaction prototypes. Use honest local state; do not simulate a backend response the product does not have.

4. Build And Open The Design Board

Create board.json using references/board-contract.md, then run:

SKILL_ROOT="<absolute directory containing this loaded SKILL.md>"
python3 "$SKILL_ROOT/scripts/build_board.py" \
  --manifest <session-dir>/board.json \
  --output <session-dir>/design-board.html

Expected output:

BOARD_BUILT variants=<derived count> output=<absolute path>

The builder rejects byte-identical candidates, path traversal, missing declared states, and static external styles, scripts, or media. The Board also injects a network-denying Content Security Policy into every sandboxed candidate so dynamic JavaScript cannot create an undeclared runtime dependency. Fix the candidate; do not weaken either boundary to make the Board green.

If gstack's design executable is already installed, resolve its absolute path from the active gstack Skill installation; do not assume $D exists in a new shell. Then capture the exact Board URL printed by the server:

GSTACK_DESIGN="<resolved gstack design executable>"
SERVER_OUTPUT="$("$GSTACK_DESIGN" serve \
  --html <session-dir>/design-board.html --timeout 1800 2>&1)"
printf '%s\n' "$SERVER_OUTPUT"
BOARD_URL="$(printf '%s\n' "$SERVER_OUTPUT" | sed -n 's/^BOARD_URL: //p' | tail -1)"
test -n "$BOARD_URL"

If the executable cannot be resolved or the command prints no BOARD_URL, open design-board.html directly with the host's browser-opening tool. Direct-file mode remains functional: Submit and Remix download feedback.json or feedback-pending.json for the agent to read. The Board itself is the chooser; chat is only the fallback channel.

5. Observe Tasks, Not Vibes

Ask the user to operate the same representative task in every candidate. Record:

  • what they noticed first;
  • where they knew or did not know what to do next;
  • which disclosure helped or hid necessary evidence;
  • which state transition felt natural or surprising;
  • which elements to preserve, reject, or remix.

Do not replace these observations with a numeric score or a claim that the most polished candidate is best. The user may choose one candidate or combine named parts of several.

When feedback-pending.json appears, preserve the accepted parts, alter the named failure axis, regenerate only the affected candidates, and build a versioned Board file in the same session directory. If a gstack Board is already serving, reload that exact Board instead of calling serve again on the old source path:

curl -sS -X POST "${BOARD_URL%/}/api/reload" \
  -H 'Content-Type: application/json' \
  -d '{"html":"<absolute-versioned-board-path>"}'

Expected response: {"reloaded":true}. Repeated serve calls may reuse a Board instance without reading changed bytes, so they are not a reload mechanism. Ask the user to retry the task in the same Board URL. Stop adding rounds when feedback no longer changes the decision.

6. Freeze Approval Before Production

After the user confirms your feedback summary, write approved.json beside the Board using the schema in references/board-contract.md. Capture:

  • selected or remixed candidate;
  • approved interaction rules and first-view invariant;
  • rejected trade-offs;
  • states the user actually exercised;
  • remaining unknowns;
  • exact prototype file identities.

Then—and only then—implement in the product. Preserve the current design system and real data contracts. Use the project's frontend implementation and visual-QA skills, then verify the same representative task in the real browser. Pixel resemblance is insufficient; the approved state transitions and information order must survive.

If you built a behavior inventory in step 1, the implementation is not delivered until every line of it carries a disposition: kept, changed to what, or dropped and why. Put that table where reviewers of the change will read it, not only in the session workspace. The removals are the load-bearing rows — a behavior nobody can account for is a regression that was never filed, and the author is the last person able to notice it. Expect the count of intentional removals to be wrong on the first pass; recheck it against the inventory before calling the change complete.

If the project has a design SSOT, write the approved interaction decision there as part of implementation. Keep session feedback and prototype files as evidence; do not copy their changing values into general project instructions.

Failure Boundaries

  • Do not turn every candidate into a different product or data model.
  • Do not let static image generation stand in for runnable interaction.
  • Do not hide identity, current status, primary evidence, or the next action behind progressive disclosure when they are necessary to decide.
  • Do not implement the apparent winner before the user has operated it.
  • Do not write prototypes into production component directories.
  • Do not claim usability validation from the author's own click-through. Agent QA catches broken states; the user's task observation decides the interaction.

Delivery

Return the Board path or URL, candidate hypotheses, feedback/approval artifact paths, browser verification performed, and the explicit next step: iterate the Board, implement the approved candidate, or stop.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Fixes web search on an agent whose model backend can't run it: a relay/reseller proxying Claude or Codex returns empty instead of failing. Use when web search returns nothing, a model insists a shipped product doesn't exist, someone wants to give an agent internet access, or the user is on a third-party base URL, relay, or 中转站. Diagnoses which built-in tools are dead, removes them, and installs a working replacement.

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

抓取 A 股消息面情报:从财联社、华尔街见闻、金十、新浪 7x24、东财快讯、 证监会/央行/上交所/财政部政策公告、东方财富股吧等公开来源抓取与股票相关的 新闻、政策、情绪,输出结构化 JSON 或 Markdown。 当用户提到“A 股消息面”、“抓新闻”、“个股消息”、“政策监管”、“股吧情绪”、 “财联社”、“东财快讯”、“市场情绪”或需要把某只股票相关的公开情报聚合出来时 触发。也适用于“帮我看看 000001 最近有什么消息”这类口语化请求。

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

Transcribes audio or video to speaker-labeled, timestamped text, locally with MLX on Apple Silicon or remotely. Use for 转录 / 录音转文字 / 说话人分离 / 字幕, and also for preparing audio for ASR without transcribing: 转格式, 降采样到 16kHz, merging recorder segments, or compressing and speeding up audio before 飞书妙记 — even when it looks like a one-line ffmpeg job.

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

Routes audio: StepFun ASR/语音识别, StepFun TTS/配音, transcript/妙记→会议纪要, merge/review minutes. Reads one bundled specialist; generic ASR and correction stay direct.

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff. Use when a repo won't run, a teammate onboards, hook output duplicates, or commit/push/conflict needs guarding. Not for lost-commit recovery (use git-safety-net), GitHub ops (use github-ops), or history scrubbing (use github-sensitive-data-cleanup).

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

Runs adversarial due-diligence on a benchmark the user envies — a founder, KOL, company, or product whose success looks inflated — splitting marketing bubble from real signal, then mapping the validated playbook onto the user's own resources. Use for 尽调/对标/拆解 a competitor, 抄/偷师 their playbook, or suspecting 水分/泡沫 in claims. Prefer over deep-research when debunking inflated claims, not a neutral briefing.

日本語の概要は準備中です。原文の説明を表示しています。

daymade/claude-code-skills1,4512026年10月11日 更新

daymade のスキルをすべて見る

このスキルの問題を報告する