原型

MVPavan2026-10-27查看 203复制 1866

当可运行的一次性实验能够解决特定的设计、状态模型、算法或 UI 问题时使用。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md1510 chars
---
name: prototype
description: Use when a runnable throwaway experiment can resolve a specific design, state-model, algorithm, or UI question.
---

# Prototype

Build a throwaway artifact to answer a named design question. Choose the smallest
runnable form that exposes the uncertainty: a script for algorithms, a state demo
for domain behavior, or a UI mockup for interaction/layout.

State the question and observable success before building. Use the authorized
location, otherwise an isolated scratch artifact. Keep prototypes clearly marked,
reproducible and separate from production behavior. Use synthetic or appropriately
scoped data; retain safety checks and accessibility that the experiment requires.

- State/logic exploration: `LOGIC.md` offers script and shareable HTML options.
- UI exploration: `UI.md` covers contextual mockups and optional variants.

Persistence, external calls and realistic integration belong only when needed to
answer the question and authorized. A small assertion may be the cheapest proof;
a prototype does not imply either a full test suite or a ban on checks.

Record the outcome, exercised cases, limitations and artifact/run pointer in the
existing task or requested report. An inconclusive experiment is a valid result.
Promoting the decision or code into production is separate work requiring its own
scope and normal checks. Preserve the artifact when it supports the conclusion;
committing, creating production routes and cleanup retain their authority gates.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧