elvis kahoro / reflex-starter
Reflex 0.10One UI kitAgent-ready

Elvis Kahoro's Reflex Starter Template

Agents write code fast but guess at your conventions. This template writes the conventions down, enforces them, and gives the agent a way to check its own work, so its first attempt is one you can merge.

Why it works with agents

Agents fail when a repo is ambiguous. Each choice here removes one kind of ambiguity.

One source of instructions
Without a single written workflow, every agent invents its own. AGENTS.md and CLAUDE.md point to one guide.
Mistakes fail loudly
Agents drift into tangled imports. tach.toml pins the layers, so a wrong import is an error, not a review comment.
Checkable work
An agent that can run a fast test and a type check catches its own bugs before you see them.
One place to restyle
Colors, radius, and fonts live in CSS variables, so a redesign is a one-file change an agent can't half-finish.

Prompts that stay on the rails

Vague asks produce off-pattern code. These name the files, the constraint, and the check, for the three jobs agents get most.

What the agent sees
Showing the work builds trust. This trace streams each tool call from backend state, so you see what the agent did, not just the result.
Add a pricing page and make sure checks pass.
EK
Agent
On it. Reading AGENTS.md, then verifying boundaries and tests.
AGENTS.mdWorkflow guide · read first

Done means verified

An agent that stops without running these is guessing. Exact commands leave nothing to improvise.

uv sync --group devInstall locked dependencies
uv run reflex runStart frontend and backend
uv run pytest -qSmoke tests (network tests skipped)
uv run tach checkModule boundaries
uv run tach check-externalDeclared vs imported deps
trunk check --allLint gate (merge-blocking)
rwx run .rwx/pyrefly.yml --waitType check (pyrefly)
rwx run .rwx/pyright.yml --waitType check (pyright)

Why the conventions are what they are

Each rule exists to keep an agent from making a choice you'd have to undo.

Why one UI kit?

Ad-hoc markup makes every page look different and every review longer. All UI comes from web/components/ui (the UI kit linked below), so new pages match by construction. Add missing pieces from native.buridan.dev instead of hand-rolling them.

Why CSS variables for styling?

Hard-coded colors scatter across files and can't be changed safely. Components read tokens from assets/globals.css, so light/dark and any retheme work everywhere at once.

Why declare every module?

Undeclared modules are how architecture erodes unnoticed. Declaring each one in tach.toml makes `uv run tach check` fail the moment an agent crosses a boundary.

Elvis Kahoro's Reflex Starter Template · UI kit: native