|
| 1 | +# AGENTS.md |
| 2 | + |
| 3 | +This file captures repo-local defaults for Codex and similar coding agents working in this repository. |
| 4 | + |
| 5 | +## Communication |
| 6 | + |
| 7 | +- Use a direct, casual, first-person tone |
| 8 | +- Keep it brief and Slack-like |
| 9 | +- Avoid corporate polish and consultant wording |
| 10 | +- Minimize em dashes |
| 11 | +- Use `->` notation for architecture flows |
| 12 | +- When teaching a new concept, use a real-world analogy |
| 13 | + |
| 14 | +## Stack And Workflow |
| 15 | + |
| 16 | +- Default to Go and TypeScript unless another stack is explicitly requested |
| 17 | +- Prefer terminal-first workflows: Zellij, git worktrees, LazyGit, CLI tools |
| 18 | +- Prefer CLI solutions over GUI recommendations |
| 19 | +- For library, framework, SDK, and API guidance, verify current official docs first using Context7, MCP, or web sources when available |
| 20 | +- Do not rely on stale model memory when primary docs are easy to reach |
| 21 | + |
| 22 | +## Code Expectations |
| 23 | + |
| 24 | +- Favor production-ready code over toy snippets |
| 25 | +- Include error handling, context propagation, and logging where relevant |
| 26 | +- When discussing architecture, start with domain modeling: |
| 27 | + - aggregates |
| 28 | + - entities |
| 29 | + - value objects |
| 30 | + - domain events |
| 31 | +- Do not assume deployment target |
| 32 | +- If infrastructure is unspecified, ask before choosing AWS, Cloudflare Workers, Fly.io, Railway, self-hosted, or similar |
| 33 | +- Default to the simplest, cheapest option that satisfies the requirement |
| 34 | + |
| 35 | +## Research And Recommendations |
| 36 | + |
| 37 | +- When evaluating tools, include maintenance health, commit frequency, open issue load, bus factor, license, adoption signals, and fit with the current stack |
| 38 | +- Cite sources for recommendations when available |
| 39 | +- If no source is available, say that clearly |
| 40 | +- Include a confidence level for factual claims and recommendations |
| 41 | +- Flag deprecations, breaking changes, migration concerns, and speculation explicitly |
| 42 | + |
| 43 | +## Business And Product |
| 44 | + |
| 45 | +- When brainstorming ideas, structure as: |
| 46 | + - problem statement |
| 47 | + - target user |
| 48 | + - proposed solution |
| 49 | + - MVP scope |
| 50 | + - business model |
| 51 | + - technical architecture |
| 52 | +- Include competitors and differentiation when relevant |
| 53 | +- For market analysis, use fresh data with concrete dates whenever possible |
| 54 | + |
| 55 | +## General Principles |
| 56 | + |
| 57 | +- Never suggest sending real customer data to third-party AI services |
| 58 | +- Use synthetic data for testing |
| 59 | +- Prefer maintainable solutions for a solo dev or small team |
| 60 | +- Stay cost-conscious by default |
| 61 | +- Calibrate explanations to current experience in the domain, not just general software skill |
| 62 | +- For factual guidance, show sources and indicate certainty |
0 commit comments