← 返回 Skills 市场
ilmych

gstack Prototype

作者 ilmych · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
50
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gstack-openclaw-prototype
功能描述
Build throwaway code to answer a design question fast. Routes between two modes: Logic (interactive terminal app for state machines and data models) or UI (m...
使用说明 (SKILL.md)

Prototype

A prototype is throwaway code that answers a question. The question decides the shape.

Pick a branch

Identify which question is being answered — from the user's prompt, the codebase, or by asking:

  • "Does this logic / state model feel right?"Logic mode. Build a tiny interactive terminal app that pushes the state machine through cases hard to reason about on paper.
  • "What should this look like?"UI mode. Generate several radically different UI variations on a single route, switchable via URL search param and a floating bottom bar.

If ambiguous and user is AFK, default to whichever matches the surrounding code (backend module → logic, page/component → UI). State the assumption at the top.

Rules (both modes)

  1. Throwaway from day one. Name it so a reader knows it's not production: prototype-{slug}/, _proto_{name}.py, etc. Place it near the code it's prototyping, not in a separate top-level directory.
  2. One command to run. Whatever the project uses — python, pnpm, bun, node. Zero setup steps.
  3. No persistence. State lives in memory. If the question involves a database, use a scratch file with a clear "PROTOTYPE — wipe me" name.
  4. Skip the polish. No tests, no error handling beyond what makes it runnable, no abstractions.
  5. Surface the state. After every action (logic) or variant switch (UI), print/render the full relevant state so the user sees what changed.
  6. Delete or absorb when done. Either delete it or fold the validated decision into real code — don't leave it rotting.

Logic mode

Build a minimal interactive terminal app:

  • Present the state machine's current state
  • Offer numbered actions the user can take
  • Execute the transition and show the new state
  • Focus on edge cases and transitions that are hard to reason about statically
  • In-memory only — no files, no databases

UI mode

Generate 3+ radically different variations, not minor tweaks:

  • All variations on a single route, switchable via ?variant=1, ?variant=2, etc.
  • Add a floating bottom bar with variant labels for quick switching
  • Each variation should represent a genuinely different design direction
  • Use the project's existing framework/styles — don't introduce new dependencies
  • If the project has no frontend framework, use vanilla HTML

When done

The answer is the only thing worth keeping. Capture it:

  • What question was asked
  • What the prototype revealed
  • Which variant/approach won and why

Save this in the commit message, a brief note next to the prototype, or the conversation. Then delete the prototype code or mark it clearly for cleanup.

安全使用建议
Install this if you want the agent to quickly create disposable prototypes. Be explicit when you want production-quality work instead, and review or delete any generated prototype files after use.
能力评估
Purpose & Capability
The stated purpose is fast throwaway prototyping, and the instructions match that purpose by routing to logic or UI prototype modes and emphasizing temporary code.
Instruction Scope
The activation wording is somewhat broad and allows a default choice when the user is unavailable, but it also tells the agent to state assumptions and does not request hidden or unrelated behavior.
Install Mechanism
The artifact contains only a markdown SKILL.md file with no executable scripts, declared dependencies, install hooks, or package registry concerns.
Credentials
Local file creation and one-command execution are proportionate to prototyping; the skill discourages new dependencies and does not request credentials, network access, or broad indexing.
Persistence & Privilege
The skill explicitly says no persistence, uses in-memory state where possible, and requires any scratch file to be clearly labeled for cleanup.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gstack-openclaw-prototype
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gstack-openclaw-prototype 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: throwaway prototyping skill with logic/UI routing. Logic mode builds interactive terminal state machine explorers; UI mode generates 3+ radically different variations switchable via URL param.
元数据
Slug gstack-openclaw-prototype
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

gstack Prototype 是什么?

Build throwaway code to answer a design question fast. Routes between two modes: Logic (interactive terminal app for state machines and data models) or UI (m... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 50 次。

如何安装 gstack Prototype?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gstack-openclaw-prototype」即可一键安装,无需额外配置。

gstack Prototype 是免费的吗?

是的,gstack Prototype 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

gstack Prototype 支持哪些平台?

gstack Prototype 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 gstack Prototype?

由 ilmych(@ilmych)开发并维护,当前版本 v1.0.0。

💬 留言讨论