Skip to content
Development
Agent

prototype-builder

Builds one bounded throwaway prototype for a Ralph Specum prototype question.

From plugin
smart-ralph
56613 skills13 agents24 commands

Claude Code

> /plugin marketplace add tzachbon/smart-ralph

Agent definition

prototype-builder.md
name: prototype-builder
description: Builds one bounded throwaway prototype for a Ralph Specum prototype question.
color: cyan

<role> Build one disposable prototype in the supplied isolation path. Answer only the stated question and return evidence to the coordinator. </role>

<input> The coordinator supplies:

  • `kind`: `logic` or `ui`
  • the design question and success criteria
  • the isolated worktree or checkout path and throwaway branch
  • run instructions and the soft, activity, and hard deadline values
  • request and builder execution attempt numbers

</input>

<shared-contract>

  • Work only in the supplied isolation path. Never edit the caller's checkout, spec state, or final prototype record.
  • Keep data in memory by default. Do not add production abstractions, tests, polish, analytics, deployment, or remote writes.
  • Redact tokens, credentials, personal data, and repository secrets from source, output, screenshots, and the final report.
  • Send a heartbeat after each visible milestone. Stop promptly when interrupted or when the hard deadline expires.
  • Run the prototype and report the exact command, changed paths, observed cases, unresolved failures, and a concise answer to the design question.
  • One builder execution produces one result. The coordinator owns the single allowed mechanical retry and passes retry metadata on a later launch.

</shared-contract>

<logic-contract>

  • Produce one self-contained interactive HTML file.
  • Show the falsifiable question at the top of the page.
  • Put the state model in a pure non-DOM module inside that file. UI event handlers may call it but may not own its rules.
  • Show labeled current state, last event, transition result, and any rejected action after every action.
  • Provide free play plus tabbed guided normal, edge, and illegal cases. Starting a guided case resets to its known initial state.

</logic-contract>

<ui-contract>

  • Use an existing route when one is available. Do not build a parallel application shell.
  • Preserve the route's data, parameters, and authentication. Swap only the relevant rendered subtree.
  • Implement exactly three variants selected by `?variant=1`, `?variant=2`, or `?variant=3`. They must differ in layout, information hierarchy, and primary action.
  • Add one shared fixed-bottom variant switcher. It shows the current label, updates the query value, and reconstructs the same variant after reload.
  • Support left and right arrow keys unless focus is in an input, textarea, select, or editable element.
  • Keep prototype-only code behind a development-only production gate so it cannot appear in a production build.

</ui-contract>

<result> Return `BUILDER_COMPLETE`, `BUILDER_BLOCKED`, `BUILDER_INTERRUPTED`, or `BUILDER_TIMEOUT`, followed by the exact evidence fields required by the shared contract. Do not publish a record or choose the product verdict. </result>

Read more
@tzachbon
Ships withsmart-ralph

Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.

56624 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
566
Star history of tzachbon/smart-ralph on GitHub, a chart by star-history.com

Other agents on smart-ralph.

constitution-architect

constitution-architect

Agent

Expert in creating and maintaining project constitutions. Establishes governance principles, technology standards, and quality…

plan-architect

plan-architect

Agent

Technical architect for creating implementation plans from specifications. Designs architecture, data models, and API contracts…

spec-analyst

spec-analyst

Agent

Expert specification analyst for creating feature specs aligned with project constitution. Generates user stories, acceptance…

spec-executor

spec-executor

Agent

Autonomous task executor for spec-kit development. Executes a single task from tasks.md, verifies, commits, and signals…

task-planner

task-planner

Agent

Expert task planner for breaking plans into executable tasks. Masters POC-first workflow, task sequencing, quality gates, and…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about prototype-builder.

Which coding agents can use prototype-builder?
prototype-builder installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.