Agent Skills › github/replica › create-prototype

create-prototype

GitHub

用于构建新的UI原型或对现有原型进行针对性修改,支持创建、迭代及细化界面元素。

starters/shared/.agents/skills/create-prototype/SKILL.md github/replica

Trigger Scenarios

构建新的UI原型 对现有原型进行修改或细化

Install

npx skills add github/replica --skill create-prototype -g -y
More Options

Non-standard path

npx skills add https://github.com/github/replica/tree/main/starters/shared/.agents/skills/create-prototype -g -y

Use without installing

npx skills use github/replica@create-prototype

指定 Agent (Claude Code)

npx skills add github/replica --skill create-prototype -a claude-code -g -y

安装 repo 全部 skill

npx skills add github/replica --all -g -y

预览 repo 内 skill

npx skills add github/replica --list

SKILL.md

Frontmatter
{
    "name": "create-prototype",
    "description": "Builds new UI prototypes and makes targeted changes to existing prototypes using consumer-owned context. Use when asked to build a prototype, mock up a UI, or add, change, refine or recreate part of an existing prototype. Do not use for unrelated tasks, routine commands, Git lifecycle actions, acknowledgements or infrastructure work."
}

Create prototype

When asked to create controls for variants, scenarios, adjustable previews or data-source switches, read the adjacent prototype-controls skill, even when the request never says "canvas controls". Product UI form fields and filters alone stay in this skill. Controls guidance does not establish panel availability.

Dispatch before reading workflows

Determine the branch from the original request, prior answers and current target before loading any workflow files. Use a short, targeted lookup of consumer repository instructions or the named target if needed, not a broad repository tour. The word "new" alone does not decide: "add a new tab to this prototype" is iteration.

Request Required read, only for this branch
Clear new build, such as "build an offline inventory prototype" create
Change to an existing prototype, such as "add filtering to this page" iterate
Candidate narrow edit to an existing prototype iterate, then apply the root instructions' narrow-edit path
Consequential missing information, including an unresolved target or create-versus-iterate choice clarify, then the selected build or iteration workflow
Behavior-preserving test-only work Use the root instructions' task-scope guidance; do not load a prototype workflow
Unrelated task or routine command Stop using this skill and continue the original task

Load only the selected workflow, not all companions as a required-read bundle. Clarification is conditional, not a startup step. Either build or iteration can need it later, but a clear request skips it entirely. Do not load the other branch for orientation. If the selected companion is missing, report its exact installed path and stop. Do not improvise it or use the other branch.

Preserve the original request and every answer in session context throughout the work. A choice answers only its question, not unrelated scope. There is no mandatory brief file, schema, build-mode quiz or separate intake skill.

Stay in the current target and worktree unless the user explicitly requests a different destination. A reference URL is not permission to fork, duplicate, publish, delete or activate anything. Approved references are 1:1 requirements except for the requested delta, not design inspiration.

The selected create or normal iteration workflow reads the shared authoring reference before implementation. A candidate narrow edit follows the iteration workflow's classification step and, when eligible, skips that reference and its context dependencies. It owns context resolution, design evidence, data boundaries and completion. It does not load another workflow. Install product-design, setup-skills and the context-templates library alongside this skill. Missing installed dependencies stop the affected work with their exact paths, never trigger automatic installation.

Context research uses the centralized library through setup-skills. The shared authoring reference declares this consumer's context reads. Templates are setup inputs, not additional per-task reads or active product facts.

Version History

  • f19c050 Current 2026-11-07 08:51

Same Skill Collection

.github/extensions/replica-prototype/skills/replica-pick-and-polish/SKILL.md
.github/extensions/replica-prototype/skills/replica-publish-prototype/SKILL.md
.github/extensions/replica-prototype/skills/review-hub-feedback/SKILL.md
.github/skills/code-review/SKILL.md
.github/skills/write-tests/SKILL.md
starters/coreai/.agents/skills/coreai-ds-fluentui-react/SKILL.md
starters/coreai/.agents/skills/css-styling/SKILL.md
starters/coreai/.agents/skills/icons/SKILL.md
starters/coreai/.agents/skills/interpreting-html/SKILL.md
starters/coreai/.agents/skills/lint/SKILL.md
starters/coreai/.agents/skills/new-variant/SKILL.md
starters/coreai/.agents/skills/react-components/SKILL.md
starters/coreai/.agents/skills/routing/SKILL.md
starters/coreai/.agents/skills/start-app/SKILL.md
starters/coreai/.agents/skills/state-management/SKILL.md
starters/shared/.agents/context-templates/SKILL.md
starters/shared/.agents/skills/accessibility-audit/SKILL.md
starters/shared/.agents/skills/add-seed-data/SKILL.md
starters/shared/.agents/skills/agent-browser/SKILL.md
starters/shared/.agents/skills/browser-canvas-validation/SKILL.md
starters/shared/.agents/skills/component-design-system-review/SKILL.md
starters/shared/.agents/skills/developer-handoff/SKILL.md
starters/shared/.agents/skills/prepare-feedback-proposals/SKILL.md
starters/shared/.agents/skills/product-design/SKILL.md
starters/shared/.agents/skills/prototype-controls/SKILL.md
starters/shared/.agents/skills/responsive-audit/SKILL.md
starters/shared/.agents/skills/review-hub-feedback/SKILL.md
starters/shared/.agents/skills/setup-skills/SKILL.md
starters/shared/.agents/skills/visual-design-review/SKILL.md
starters/coreai/.agents/skills/features-variants/SKILL.md

Metadata

Files
0
Version
f19c050
Hash
dc68e351
Indexed
2026-11-07 08:51

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 09:46
浙ICP备14020137号-1