prototype

Build throwaway C++ or Qt prototypes to answer design questions.

6|2|Updated May 6, 2026
One-click install
npx skills add https://github.com/sek788432/Stock-Back-Test-System --skill prototype-sek788432
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/sek788432/Stock-Back-Test-System/tree/main/.agents/skills/prototype
Command: npx skills add https://github.com/sek788432/Stock-Back-Test-System --skill prototype-sek788432

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Design questions about state models, business logic, or UI layouts often stall in abstract discussion. This Skill produces a small, runnable throwaway prototype that gives concrete evidence for whether a logic model behaves correctly or which Qt page layout works best, before any production contract is written. ## Core Features & Use Cases - Logic Prototypes: Drive a state machine, pure transition function, or data model through representative scenarios in C++20 or Python, showing each action and resulting state. - UI Prototypes: Generate up to five structurally different Qt Widgets variants switchable through a temporary QStackedWidget selector, hosted inside an existing page when possible. - Use Case: Before committing to a Backtest condition editor design, spin up three layout variants in one temporary Qt host, compare them side by side, record the accepted variant, then remove the harness and reimplement it properly. ## Quick Start Ask the agent to prototype whether the proposed order state machine handles a cancel-after-partial-fill edge case, or to show three layout variants for a Qt settings page.

Frequently Asked Questions about prototype

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prototype a state machine before writing production code?▼

Isolate the logic behind a small pure interface, then drive it with fixed scenarios or a line-oriented terminal driver that prints each action and resulting state. Pin clocks and random seeds, use in-memory inputs, and record the conclusion before deleting the harness.

How to compare multiple Qt Widgets layout variants quickly?▼

Create up to five structurally different widget variants and swap them through a temporary QStackedWidget with a QComboBox selector. Prefer hosting the variants inside the closest existing page so they are judged against real tabs, controls, and density.

Should a prototype use C++ or Python?▼

Use C++20 for backend and application logic questions. Python is appropriate only when the question belongs to the DataFetcher pipeline or the planned Python strategy boundary. Do not add a new runtime, package manager, or dependency for the prototype.

Can prototype code be promoted directly into production?▼

No. Prototype code is written under prototype constraints with no tests and minimal error handling. Record the accepted behavior, remove the harness, and reimplement the result through the normal spec, test, review, and implementation workflow.

When should I not build a prototype?▼

Skip prototyping when the question is already answered by an existing spec or when the work is a straightforward implementation task. A prototype answers exactly one design question; adding tests, generalizing for future cases, or wiring to the real database means it has stopped being a prototype.