agentleFS
pax-kpax-k/build-right/skills/build-right-prototype/SKILL.md

build-right-prototype

Skill4 starsChanged 4 months agoMITView on GitHub

Answer one unresolved logic or UI design question with disposable executable evidence. Use for explicit prototype, spike, proof-of-concept, interaction experiment, state-model experiment, or design-experiment requests where observed behavior can reduce uncertainty before production feature planning.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this cross-cutting companion to answer one design question.

    line 8
  2. Very specific:

    Read references/logic.md for state, transition, data-shape, or behavioral contract questions.

    line 13
  3. Very specific:

    Read references/ui.md for layout, hierarchy, or interaction questions.

    line 15
  4. Very specific:

    Use assets/templates/prototype-evidence.md for the retained evidence packet.

    line 16
  5. Distinctive:

    Read the target repository's instructions, product authority, execution rules, and Git state before creating anything.

    line 17
  6. Distinctive:

    Create the prototype in a disposable temporary directory or detached temporary worktree.

    line 27
  7. Distinctive:

    Run syntax, type, or build smoke verification appropriate to the prototype, plus the smallest assertion that proves the question's success …

    line 32
  8. Very specific:

    Write docs/evidence/prototypes/<slug>.md in the target repository using the evidence template.

    line 36
  9. Distinctive:

    Use fake, local, or read-only data.

    line 45
  10. Distinctive:

    Do not use live credentials unless the user explicitly authorizes a bounded, non-mutating proof and repository policy allows it.

    line 46
  11. Distinctive:

    Do not automatically commit, push, merge, publish, deploy, clean up, delete, or promote.

    line 48
  12. Distinctive:

    Do not automatically abort or resolve an existing Git operation.

    line 50
  13. Distinctive:

    Leave disposal or cleanup as an explicit user choice and report the temporary path or worktree.

    line 51
  14. Very specific:

    Use 🟢 [GREEN] Status: ALL GREEN while proof is safe to continue, 🟡 [YELLOW] Status: NEEDS INPUT for a required user decision, 🟠 [ORANGE] …

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build Right Prototype

Use this cross-cutting companion to answer one design question. A prototype is evidence, not product code, customer validation, or permission to implement.

Required Reading

  • Read references/logic.md for state, transition, data-shape, or behavioral contract questions.
  • Read references/ui.md for layout, hierarchy, or interaction questions.
  • Use assets/templates/prototype-evidence.md for the retained evidence packet.
  • Read the target repository's instructions, product authority, execution rules, and Git state before creating anything.

Workflow

  1. State exactly one prototype question and one observable success signal.
  2. Classify the mode as logic or ui; stop if the question mixes unresolved concerns that cannot be observed together.
  3. Inspect repository conventions and git status --short. Record unrelated work and do not touch it.
  4. Create the prototype in a disposable temporary directory or detached temporary worktree. Never edit the main worktree by default. If neither safe isolation option is possible, stop and ask.
  5. Make the prototype runnable with one documented Bun-native command such as bun run prototype or bun index.ts.
  6. Run syntax, type, or build smoke verification appropriate to the prototype, plus the smallest assertion that proves the question's success signal.
  7. Observe the result. Separate what was demonstrated from what remains assumed.
  8. Write docs/evidence/prototypes/<slug>.md in the target repository using the evidence template. This retained packet is the only default main worktree edit.
  9. Route any production implementation through $build-right-feature-planning. Never copy, move, or promote prototype code directly into production.

Safety Contract

  • Use fake, local, or read-only data. Never call a production mutation path.
  • Do not use live credentials unless the user explicitly authorizes a bounded, non-mutating proof and repository policy allows it.
  • Do not automatically commit, push, merge, publish, deploy, clean up, delete, or promote.
  • Do not automatically abort or resolve an existing Git operation.
  • Leave disposal or cleanup as an explicit user choice and report the temporary path or worktree.
  • Label the finding prototype-evidence when observed and prototype-assumption when it remains inferred.

Handoff

Prototype evidence may feed $build-right-preflight or $build-right-feature-planning. It never upgrades itself to customer evidence or product truth.

User-Visible Status Badge

End every final response with exactly one status badge block:

✅ [DONE] Status: DONE
Decision: <answer to the prototype question>
Next action: <planning handoff or none>
Needs user input: <none | concise ask>
Blocked by: <none | blocker>

Use 🟢 [GREEN] Status: ALL GREEN while proof is safe to continue, 🟡 [YELLOW] Status: NEEDS INPUT for a required user decision, 🟠 [ORANGE] Status: NEEDS WORK for AI-owned proof gaps, 🔵 [BLUE] Status: WAITING EXTERNAL for external evidence, and 🔴 [RED] Status: BLOCKED for unsafe isolation, failed verification, or conflicting evidence.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.