agentleFS
dekozadekoza/oh-my-slop/skills/workflow/prototype/SKILL.md

prototype

Skill4 starsChanged 9 months agoUnlicenseView on GitHub

Use when a design question is best answered by throwaway code — "does this state model or logic feel right?" (build a runnable terminal app) or "what should this look like?" (several radically different UI variations on one route). Also when another skill needs a cheap concrete artifact to react to. Triggers on: "prototype this", "sanity-check this state machine", "mock up a few versions of this screen", "explore what this UI could look like".

196 other projects use a version of this, 127 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, team-audio and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 6 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 6 projects that use this

  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +2 more from CoralGame
  • +6 more from cenconq25

The file

We split this skill into the rules it gives an agent

4 rules. 1 is common, 2 are distinctive, and 1 is very specific to this project.

  • 1

    Common

    Most of the 183 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Skip the polish — while it's throwaway: No tests, no error handling beyond what makes the prototype _runnable_, no abstractions.

    line 33
  2. Common:

    Surface the state: After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see …

    line 34
  3. Very specific:

    Capture the prototype as a primary source: Commit the prototype itself to a throwaway branch *out of main* and leave a context pointer to …

    line 44
  4. Distinctive:

    If the user is around, fill this in as a quick conversation.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 183 edited versions of this file we could read. “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

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 surrounding code, or by asking if the user is around:

  • "Does this logic / state model feel right?" → Logic. Build a tiny interactive terminal app that pushes the state machine through cases that are hard to reason about on paper.
  • "What should this look like?" → UI. Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.
  • "Does the logic work and how should it surface?" → both, in sequence. Nail the state model with the Logic branch first, then wrap the validated logic in the UI branch. Don't try to answer both questions in one artifact — a UI mockup over unvalidated logic hides which one you're actually judging.

The branches produce very different artifacts — getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.

Rules that apply to both

  1. Put what you're testing behind a pure interface. Keep the thing under question — the state machine, the decision logic — behind a small, side-effect-free interface, separate from the throwaway shell (terminal loop or UI route) that drives it. That isolation is what makes a validated prototype cheap to absorb: you lift the interface into production, not the scaffolding around it.
  2. Throwaway from day one, and clearly marked as such. Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious — but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.
  3. One command to run. Whatever the project's existing task runner supports — uv run, python <path>, node <path>, etc. The user must be able to start it without thinking.
  4. No persistence by default. State lives in memory. Persistence is the thing the prototype is checking, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE — wipe me" name.
  5. Skip the polish — while it's throwaway. No tests, no error handling beyond what makes the prototype runnable, no abstractions. The point is to learn something fast and then delete it. These exemptions end the moment the prototype is absorbed (Rule 7).
  6. Surface the state. After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
  7. Capture it when done. Fold any validated decision into the real code, then commit the prototype itself as a primary source to a throwaway branch out of main, and leave a context pointer to that branch on the implementation issue (using tea / Gitea — see docs/agents/issue-tracker.md). The main branch keeps only the validated decision.

This is distinct from absorbing: lifting a validated reducer keeps the decision, not the prototype. The throwaway exemptions end on the folded-in code: it gets real tests, error handling, and the abstractions you skipped, held to the same bar as any production code.

When done

The answer is the only thing worth keeping from a prototype. The prototype itself is a primary source — commit it, don't delete it.

  1. Fold the validated decision into the real code. Lift the validated reducer/interface/decision into production, held to the same bar as any production code (real tests, error handling, abstractions — the throwaway exemptions end the moment it's absorbed). This is the only thing that stays on main.
  2. Capture the prototype as a primary source. Commit the prototype itself to a throwaway branch out of main and leave a context pointer to that branch on the implementation issue (using tea / Gitea — see docs/agents/issue-tracker.md). The main branch keeps only the validated decision.
  3. Record the answer. Capture the answer in a NOTES.md next to the prototype (or a commit message / ADR / issue if the prototype leaves no trace):
# Prototype: <one-line name>
- **Question:** <the design question this was answering>
- **Hypothesis:** <what you expected going in>
- **Approach:** <what the prototype actually did>
- **Answer:** <what you now know>
- **Confidence:** <high / medium / low — and why>
- **Branch:** <throwaway branch name where the prototype is committed>
- **Next step:** <fold validated decision into production / prototype further / shelve>

If the user is around, fill this in as a quick conversation. If not, leave the template with the fields stubbed so the verdict can be filled before the throwaway branch is abandoned. Never leave a prototype rotting in the repo.

Reference

FileUse When
LogicState machines, business logic, data shapes, API contracts
UIPage layouts, dashboards, settings screens, information hierarchy

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.