onedot-devkit — Vision and User Flows
Target experience and supported workflows: maintainers use them for scope; developers follow the routes without memorizing them.
Goal
Deliver current coding best practice without a command to learn: install → sync → devkit init → /index, then work normally. Measure loops, elapsed time, tokens and errors at equal quality; routing, quality and security arrive by default.
The 6 Pillars
| # | Pillar | Meaning |
|---|---|---|
| 1 | Autopilot | Benefits work without knowing every skill, rule, or hook. |
| 2 | Security | Secrets, sandbox boundaries, destructive actions, and push gates are safe by default. |
| 3 | Quality by default | Reuse, verification, tests, and review are part of the routed workflow. |
| 4 | Self-skepticism | Load-bearing decisions receive an independent counter-check. |
| 5 | Token efficiency | Deterministic tools and scoped context do work that does not need an LLM. |
| 6 | Stack fit | The setup serves Laravel, Nuxt, Shopify Liquid, Shopware/Twig, and Python. A stack is added when representative work needs its conventions and verification; a stack leaves when no maintained flow uses it. |
User Flows
Each flow ends in executable evidence.
| Flow | When and route |
|---|---|
| 0 — Onboarding | Install → devkit sync → devkit init → /index. Evidence: generated .agents/context/ and green drift check; later sessions check updates automatically. |
| 1 — Reversible daily work | If rollback is free and deterministic verification exists: describe the outcome → work inline → targeted /test → /review → /commit. Deliberately no spec overhead; file count affects effort, not routing. |
| 2 — Planned work | For a requested plan, larger handoff or open user decision: /spec → /spec-work → /commit → pull request. The plan carries exact files, assertions and small tasks. Execution verifies every task; deferred review risk requires independent review, with one fix/delta round. |
| 3 — Initiative | For work spanning several slices: /grill-me → optionally /wayfinder for decisions spanning sessions → define the next smallest slice with /spec → /spec-work → only then plan the next slice. Use /delegate for an independent view on a load-bearing provider or slice decision. /wave schedules approved specs behind preflight, cost, and acceptance gates; it does not choose the slice. |
| 4 — Knowledge and context | Gotcha, convention, or decision → /capture → .agents/context/. Past questions use memory recall. Check drift with devkit context-drift-check. Evidence: the updated context file plus a green drift check. |
| 5 — Maintenance | SessionStart activates verified updates and fetches the next. devkit sync updates now; devkit doctor diagnoses; devkit rollback restores a version. Evidence: green doctor or verified rollback. |
Product Decision Principles
A capability must support a flow and pillar without regressing autopilot or token efficiency. Measure that against a baseline. Observable safety and quality duties become executable checks.
| Principle | Decision rule |
|---|---|
| Standards first | Prefer native runtime behavior. Add only routing, shared policy, or verification the host lacks instead of hiding a built-in behind another layer. |
| Reference first | Treat external projects as candidates. Compare and test promising approaches on representative work; familiarity is not evidence. |
| Results decide | Measure fewer loops, less elapsed time, fewer tokens and errors, and better output. Package size alone is not a verdict: a larger dependency may help, while a tiny always-on rule may cost more than it returns. Name baseline, instrument and threshold before adoption. |
Adoption and Ownership
Adopt a maintained capability when it performs better; building a substitute is the exception. Assess behavior collisions as migration costs.
- Evidence: Treat README claims and upstream benchmarks as hypotheses. Trial real payloads and representative tasks; evaluate library, proxy, service, or other surfaces separately.
- Reversibility: Pin versions, inspect install effects, capture mutable configuration and verify rollback. Name missing measurements.
- Simplification: Name what leaves. An overlapping route is accretion; if nothing leaves, keep that cost visible.
Three ownership forms fit:
- A version-pinned external tool with explicit upgrade review.
- External ideas adapted into owned text and behavior, with attribution.
- A verbatim snapshot pinned to an upstream commit and treated as reference data until adapted.
Foreign instructions need version boundaries and local ownership. They remain untrusted until reviewed, pinned and adapted.
Representative evidence can overturn policy: adopt a pinned external canon if it gives better quality at lower lifecycle cost.
Architecture Boundary
Updater, signatures, atomic activation, collision protection and rollback form one supply-chain contract. Replacements need equivalent ownership and verification.
Rules, skills, and agents can be adopted more selectively because each is measured against a flow and token budget. One source payload serves all runtimes; adapters cannot become separate policy canons.
Replace repeated prose duties with deterministic mechanics wherever behavior is observable. This advances autopilot, quality, and token efficiency while prose retains intent and tradeoffs.
Self-Skepticism in the Product
/specchecks coverage, interfaces and boundary tests before approval and requests an independent second opinion./spec-workbinds independent review evidence to the scoped change it reviewed.- Quality and debugging rules require a counter-hypothesis and stop condition for load-bearing investigations.
/delegateprovides a cross-model second opinion when an independent model is useful.