Rite prototype
Skill ViktorsBaikers/DevRites/pack/generated/codex/skills/rite-prototype
User-invoked throwaway prototype for one logic or UI design question; delete or absorb after the answer.From its SKILL.md
npx -y skills add ViktorsBaikers/DevRites --skill rite-prototypeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
8.5 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it
Codex compatibility
This is the Codex mirror of a DevRites skill. In Codex:
- Load DevRites engineering standards from
.agents/skills/devrites-lib/reference/standards/. Read.agents/skills/devrites-lib/reference/standards/core.mdbefore workflow work, then load the other.agents/skills/devrites-lib/reference/standards/*.mdfiles exactly when this skill asks for them. - Installed
.agents/mirrors may be Git-ignored. If a repository-aware file tool refuses an ignored path, read it with a native filesystem command instead; a tool refusal is not a completed task. - For automatic Engram calls, omit optional
projectandsession_idunless an exact value came from Engram or repository configuration. Never derive either fromtask_name, a run ID, directory name, or normalized slug. Callmem_session_summarywithout them by default; onunknown_sessionorunknown_project, retry once with both optional fields omitted. If auto-detection is ambiguous, ask the user instead of guessing. - Use the installed
devrites-enginebinary as the canonical runtime helper surface for orientation, gates, and state mutation. - Invocation and dispatch are different: invoke means run a skill in this context; dispatch means start a fresh agent with
spawn_agent, await it, and reconcile its result. Never describe inline skill work as a dispatch. - On MultiAgent V2, call
spawn_agentwith the exact namedagent_type=devrites-<role>, a uniquetask_name, andfork_turns="none". A missing visibleagent_typefield is still V2—not capability loss, V1, or HITL—so send it anyway. If the named call rejects it, stop before any generic/default spawn. Codex loads the role TOML'sdeveloper_instructionsnatively; DevRites verifies the durable rollout, wait, completion, and delivered result. - Only after the runtime explicitly identifies MultiAgent V1, use generic
explorerfor a read-only role withfork_turns="none"and name exactly one.codex/agents/devrites-<role>.tomlcontract in the message. Trusted.codex/hooks.jsoninjects that contract's exactdeveloper_instructionsand binds the child to the fail-closed reviewer read-only guard. - On explicitly identified MultiAgent V1,
devrites-slice-wrightuses genericworkerwithfork_turns="none"and the exact role TOML named in the message. Trusted.codex/hooks.jsonbinds it to the active reconcile window and.wright-allowlist. - The invoked skill's
required-agent-rolesfrontmatter arms the fail-closed Stop receipt. Every listed role must have a confirmed start, wait, and non-empty result in this turn. - If the required dispatch for the explicitly identified runtime is unavailable or rejected, stop for HITL. Never switch runtime lanes. Never execute a DevRites specialist role in the root context.
- Wait for every required fresh-context dispatch before reconciling or advancing. A backgrounded or lost result is incomplete.
- Codex project hooks are installed in
.codex/hooks.json; declared-leaf hooks are scoped inside.codex/agents/devrites-*.toml. Review and trust them with/hooksbefore relying on hook enforcement. - When this skill asks a HITL question via
AskUserQuestion: Codex's equivalent (request_user_input) exists only in Plan mode. Outside Plan mode, render the option set as a plain numbered list in chat and end the turn so the human answers: NEVER silently pick an option yourself; auto-picking is AFK's contract, gated by the.devrites/AFKsentinel.
$rite-prototype: answer one question with throwaway code
A prototype is throwaway code for exactly one question. Choose its shape from that question.
0. Read core rules
Read .agents/skills/devrites-lib/reference/standards/core.md first: the operating rules and the "capture the answer"
persistence discipline apply even to throwaway code. The other rule files load on demand.
1. Name the question
If the user did not give the question explicitly, ask one short question to pin it down. Examples that count as "the question":
- "Does this reducer correctly model add / undo / re-add of the same item?"
- "Which of these three settings layouts feels right?"
- "Will the proposed state machine deadlock when X overlaps Y?"
A vague request such as "explore this feature" is not enough. Ask once for a specific question.
2. Pick the branch
Read the user's prompt and surrounding code, then choose one branch:
| Question shape | Branch | Artifact |
|---|---|---|
| "Does this logic / state / data model behave right?" | Logic | Smallest runnable harness (terminal script / REPL / mini node or python file) that pushes the model through the hard cases. |
| "What should this look like / which UX wins?" | UI | 2-4 radically different UI variations on a single route, switchable via a query param + a small floating selector bar. |
If genuinely ambiguous and the user is AFK: pick by the surrounding code (backend module → Logic; page / component → UI) and state the assumption in a comment at the top.
Variations must differ in structure. Colour or padding changes alone do not answer a design question. Give each variation a different information architecture or interaction model.
3. Rules that apply to both branches
- Mark it as throwaway. Place the prototype near its eventual use, but use a name
that clearly identifies it:
prototype/,__prototype__,.scratch/, etc. Obey the project's existing routing / module convention; don't invent a new top-level structure. - Provide one run command. Use the project's existing task runner:
pnpm <name>,python <path>, orbun <path>. - No persistence by default. State lives in memory. Persistence is usually the
thing the prototype is checking, not a dependency. If the question explicitly
involves a DB, hit a scratch DB or a local file with a name like
PROTOTYPE — wipe me. - Skip polish. Add no tests, abstractions, or error handling beyond what is needed to run and answer the question.
- Surface 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.
- Delete or absorb when done. After answering the question, delete the prototype or fold the validated decision into production code.
4. Capture the answer
The answer is the only durable output. Before declaring the prototype done, write one of:
- An entry in the active feature's
decisions.md(.devrites/work/<slug>/decisions.md) with the question and the answer. - A
NOTES.mdnext to the prototype if no active feature exists.
If the user is present, ask for the verdict directly. In AFK, the prototype remains
incomplete until the verdict is filled in. A blank VERDICT: ___ is not an answer.
Mark it not yet complete. Queue the question and do not delete the prototype until
a later pass records the verdict.
Where this slots in
$rite-prototype is a scoped detour, not a separate phase. Typical uses:
- During
$rite-clarify(between spec and define): a product/constraint question is undecidable on paper; prototype it, capture the answer, return to$rite-clarify. - Mid-build:
$rite-buildhit a state-model ambiguity that the spec doesn't resolve. Drop into a Logic prototype, capture the answer, return.
After the prototype answers the question and the answer is recorded, return to the calling phase. The prototype itself does not ship.
Output
Reply-contract exception: scoped prototype detour. Run devrites-engine progress only when
an active workspace exists; otherwise skip it. Use the compact labels from the shared
completion reply contract
(devrites-lib/reference/reply-contract.md).
Done: prototype answered <question>.
Changed: <prototype path | deleted after absorption>; decisions.md or NOTES.md
Evidence: run command <cmd -> result>; verdict <one line>
Open: <none | non-blocking delete/absorb follow-up>
Next: <single command returning to the calling phase>
Record: <.devrites/work/<slug>/decisions.md | NOTES.md path>
↻ Hygiene: /clear after the answer is recorded; delete or absorb throwaway code before shipping
If the verdict is missing, use the shared Awaiting human form. The prototype is
not Done, and Resume: points to the queued verdict question.
What ships with it: 1 file
43 B alongside SKILL.md
agents/
- openai.yaml43 B
Gives 0 of the 12 instructions most design frontend skills give in ~1.9k tokens
Counted across 1,169 of the 1,878 authors here whose files we hold, read 2026-08-07
- Use CSS variables for color consistencyin 72 of 1169, across 23 files
- Commit to one bold aesthetic direction before codingin 72 of 1169, across 27 files
- Match implementation complexity to the aesthetic visionin 70 of 1169, across 20 files
- Add atmospheric background effects and texturesin 57 of 1169, across 9 files
- Use unexpected spatial compositions and layoutsin 56 of 1169, across 8 files
- Implement real working codein 55 of 1169, across 7 files
- Vary themes and aesthetics across different designsin 48 of 1169, across 7 files
- Launch chromium in headless modein 47 of 1169, across 4 files
- Close the browser when donein 47 of 1169, across 4 files
- Run provided scripts with help flag firstin 47 of 1169, across 4 files
- Wait for network idle statein 47 of 1169, across 4 files
- Use descriptive selectors for elementsin 47 of 1169, across 4 files
Said here and by no other author read
- Read core rules before starting work
- Ask one question to pin down the prototype question
- Make structural differences between UI variations
- Skip polish beyond what is needed to run
- Record the answer in decisions.md or NOTES.md
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.