design-tool
Build a temporary chooser to compare and refine complete design proposals in a running application, then retain the selected product implementation and remove experiment-owned code. Use only when the user explicitly invokes design-tool to compare design directions before choosing one.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- design-tool
- description
- Build a temporary chooser to compare and refine complete design proposals in a running application, then retain the selected product implementation and remove experiment-owned code. Use only when the user explicitly invokes design-tool to compare design directions before choosing one.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
Design Tool
Use only when the user explicitly invokes design-tool.
The chooser is temporary developer UI; the candidate widget is product UI. Floating placement of the chooser does not constrain candidate designs, which can be inline, modal, navigation, or another placement suited to the product.
Use a dedicated worktree when substantial temporary code needs isolation; a small comparison can stay in the existing workspace. Record the experiment-owned files, assets, routes, storage keys, and identifiers as they are introduced so cleanup has a precise boundary.
Build and compare
Make the feature work, then produce several complete numbered directions that differ in meaningful product choices. Each should be a plausible finished design coherent with the application.
The floating chooser should be compact and visually distinct, with a visible drag handle, resize handle, internal vertical scrolling, design dropdown, and previous/next controls. Switch the candidate immediately. Remember position and size for the session when practical.
Include only useful candidate-specific refinement controls. Collapsing hides the refinement area while leaving the handle, switcher, arrows, and expand control usable. Follow the project's components, licensed assets, and visual system. Prefer suitable existing icon and asset libraries over custom artwork or emoji product icons.
Provide a usable preview and invite selection or targeted feedback. Follow active conversation numbering and link conventions. A requested comparison is a useful selection point; do not add unrelated approval gates.
Retain the selection
Bake the chosen design into ordinary product code. Remove the chooser, rejected candidates, and experiment-owned wiring, temporary assets, tuning APIs, storage keys, and debug hooks. Search for the recorded identifiers in source and relevant production output. Remove stale guidance that refers to the experiment.
Selected and unrelated product UI remain product code even when visible in a development preview. Verify the selected design's important states and viewport sizes after cleanup. Carry forward already-authorized merge, publish, deployment, or worktree-cleanup actions once their prerequisites pass; do not infer authority for those actions merely from design selection.
04 同仓库更多 Skills
search-agent-chats
Search retained Cursor, Codex, and Claude Code conversations for past work, decisions, and context when historical recall would help. Exposes archive scope, freshness, coverage, and event citations. Do not run at session start.
plaintext
Produce one copyable plain-text payload only when the human explicitly invokes plaintext. Use for prompts, messages, emails, and other requested copy-paste output.
interview
Run an adaptive context-gathering interview when the user explicitly invokes interview before a decision or task. Reuse known answers and stop when the decision-critical context is sufficient.
github-repo-defaults
Apply GitHub ownership and Snowflake1 connection defaults when creating a new repository or publishing a local project to a new GitHub repository. Use for repository creation requests, including project setup that creates a repo.
github-init
Initializes the current project as a Git repository, creates a GitHub repository, and pushes the initial branch with upstream tracking. Defaults to a private repository in snowflake1xyz with Snowflake1 guidance connected; explicit text may override owner or visibility. Use only when the human explicitly invokes github-init.
decision-criteria
Assess a decision or revisit a prior recommendation against the user's objectives, criteria, constraints, and evidence. Use only when explicitly invoked.