Documentation Index
Fetch the complete documentation index at: https://agentic.proxify.io/llms.txt
Use this file to discover all available pages before exploring further.
You’ll learn: Concrete techniques for structuring specs, plans, conventions, and repo layout so agents execute reliably — and how to build rails when they don’t.
The Shift
Agentic engineering is the mindset — designing systems that write code reliably instead of writing code yourself. This page is the toolkit: concrete patterns for making your engineering artifacts unambiguous to agents. Most specs, conventions, and architecture docs are written for humans to interpret. Agents can interpret them too, but they miss nuance, read between lines poorly, and make different assumptions than you would. Robots-first engineering means making implicit knowledge explicit — not dumbing things down, but closing the gaps agents fall through. Why this matters at the token level: every ambiguity forces the agent to burn context on clarification, exploration, or guessing. More context consumed means earlier compaction. Compaction is lossy — it drops the anchors the agent was using to stay on track. Drift follows. Your spec is the pin — the stable reference point that prevents invention. The clearer the pin, the less context the agent wastes finding it.Specs as Lookup Tables
Narrative specs (“the system should gracefully handle edge cases”) produce inconsistent agent output. Structured specs produce consistent output.| Narrative (agent guesses) | Structured (agent looks up) |
|---|---|
| “Handle errors appropriately" | "4xx → return error message from response body. 5xx → retry 3x with exponential backoff, then throw ServiceUnavailableError" |
| "Follow our naming conventions" | "Files: kebab-case. Components: PascalCase. Hooks: camelCase with use prefix. Types: PascalCase with no suffix." |
| "Make it performant" | "Target: under 200ms p95 latency. Use database indexes on all foreign keys. Paginate queries over 100 rows.” |
The alias pattern
Agents search for concepts using whatever vocabulary occurs to them. A spec that only uses one name gets missed when the agent searches with a synonym. Add aliases so every search path leads to the right spec:Explicit scope boundaries
Without boundaries, agents add features that “seem relevant.” An auth spec without scope boundaries will produce OAuth, password reset, and 2FA — even if you only wanted email/password login. Make scope a first-class section:Linkage Over Fancy Formats
Many engineers over-engineer their implementation plans — complex JSON schemas, nested task hierarchies, elaborate formatting. Strong linkage beats fancy formats. What works: bullet points with explicit references to the spec section, the exact file, and the existing pattern to follow.Code Conventions That Reduce Ambiguity
Structure yourCLAUDE.md so agents don’t need judgment calls on recurring decisions:
camelCase API responses while another uses snake_case. Both pass their own tests. Integration fails. Write it down once, enforce via hooks where possible.
Repo Structure for Parallelization
Agents work in parallel best when they have clear ownership boundaries. Design your directory structure to support this:- One concern per directory —
src/features/billing/owns billing, nothing else touches it - Barrel exports — each directory exposes its public interface via
index.ts - Shared types in a shared location —
src/types/is the contract layer - No cross-feature imports — features communicate through shared types, not direct imports
Back-Pressure Engineering
Robots-first artifacts don’t prevent all failures — they reduce the blast radius and make failures correctable. When agent output drifts, the fix is engineering tighter rails:- Add constraints to specs — tighten decision tables, add “What NOT to do” sections
- Strengthen linkage — add file paths, line numbers, spec section references to plans
- Improve search guidance — add aliases, related-files pointers, cross-references
- Increase gating — add tests, linting rules, formatters, security checks via hooks