Prototype

From TraftG/opencode-game-studio · View interactive version

Prototype is an AI agent skill from the GitHub repository TraftG/opencode-game-studio. Rapid prototyping workflow. Skips normal standards to quickly validate a game concept or mechanic. Produces throwaway code and a structured prototype report.

How to use this skill

Skill file

When this skill is invoked:

  1. Read the concept description from the argument. Identify the core

question this prototype must answer. If the concept is vague, state the

question explicitly before proceeding.

  1. Read OPENCODE.md for project context and the current tech stack. Understand

what engine, language, and frameworks are in use so the prototype is built

with compatible tooling.

  1. Create a prototype plan: Define in 3-5 bullet points what the minimum

viable prototype looks like. What is the core question? What is the absolute

minimum code needed to answer it? What can be skipped?

  1. Create the prototype directory: prototypes/[concept-name]/ where

[concept-name] is a short, kebab-case identifier derived from the concept.

  1. Implement the prototype in the isolated directory. Every file must begin

with:

```

// PROTOTYPE - NOT FOR PRODUCTION

// Question: [Core question being tested]

// Date: [Current date]

```

Standards are intentionally relaxed:

  1. Test the concept: Run the prototype. Observe behavior. Collect any

measurable data (frame times, interaction counts, feel assessments).

  1. Generate the Prototype Report and save it to

prototypes/[concept-name]/REPORT.md:

## Prototype Report: [Concept Name]

### Hypothesis
[What we expected to be true -- the question we set out to answer]

### Approach
[What we built, how long it took, what shortcuts we took]

### Result
[What actually happened -- specific observations, not opinions]

### Metrics
[Any measurable data collected during testing]
- Frame time: [if relevant]
- Feel assessment: [subjective but specific -- "response felt sluggish at
  200ms delay" not "felt bad"]
- Player action counts: [if relevant]
- Iteration count: [how many attempts to get it working]

### Recommendation: [PROCEED / PIVOT / KILL]

[One paragraph explaining the recommendation with evidence]

### If Proceeding
[What needs to change for a production-quality implementation]
- Architecture requirements
- Performance targets
- Scope adjustments from the original design
- Estimated production effort

### If Pivoting
[What alternative direction the results suggest]

### If Killing
[Why this concept does not work and what we should do instead]

### Lessons Learned
[Discoveries that affect other systems or future work]
  1. Output a summary to the user with: the core question, the result, and

the recommendation. Link to the full report at

prototypes/[concept-name]/REPORT.md.

Important Constraints

written from scratch -- prototype code is not refactored into production

question can be simplified

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.