Keep docs/, AGENTS.md, and .agents/skills/ aligned as the codebase changes so coding agents can find accurate repository context at the start of every session.
Put each kind of information in one place
Keep one source of truth across three locations:
- Company documentation (
docs/): Durable specifications, architecture, plans, proposals, research findings, glossaries, and human workflows. Nimbus publishes every page as clean Markdown (/<slug>/index.md), section/llms.txtindexes, and/llms-full.txt, includingdocType,status, andreviewedin frontmatter. - Agent instructions (
AGENTS.mdand.agents/skills/): Always-loaded repository rules inAGENTS.mdand on-demand task skills in.agents/skills/that provide step-by-step agent procedures, CLI and API workflows, links to canonical docs, and guardrails against recurring coding-agent mistakes. - Code and configuration comments: Local implementation details kept beside the code so they stay current as the code changes.
Why and how we write skills
AGENTS.md loads into every session regardless of the task, while docs/ is written for humans to understand systems, decisions, plans, and concepts. Skills under .agents/skills/<name>/SKILL.md fill the gap between the two. They stay unloaded until a session matches their trigger description, keeping always-loaded context lean while giving agents focused instructions right when they perform a specific class of work.
Create or update a skill when a recurring workflow needs task-scoped procedures, agent-native CLI or HTTP API steps, navigation to canonical documentation, or guardrails for coding-agent failure modes that do not belong in human-facing company docs.
Follow these guidelines when authoring a skill:
- Write a sharp trigger
descriptionin frontmatter so the skill loads whenever its workflow applies and stays out of unrelated sessions. - Link to canonical
docs/pages for concepts, schemas, and log conventions so definitions stay in one place. - Provide direct CLI commands or HTTP queries when humans normally use a web interface. For example, an experiment skill can link to
docs/for log structure while giving the agent direct HTTP queries against the dashboard API. - Address recurring coding-agent mistakes explicitly, such as leaking conversation tangents into permanent docs, skipping confirmation before long remote jobs, or setting
reviewed: truewithout human approval. - State hard constraints with
Do notorNeveralongside the required action (for example,Use record_evaluation for post-training evaluations. Never reopen a finished run.). Direct prohibitions enforce boundaries cleanly without priminginstead oforrather thanphrasing.
Separate unreviewed drafts from human-verified examples
Coding agents frequently create and edit pages in this repository, and agent-authored prose can drift from team standards or introduce unverified claims. Every page in docs/ carries a two-state reviewed field in frontmatter to separate human-verified documentation from content authored or edited only by agents:
- Default (
reviewed: falseor omitted): Applied to every page created or edited by an agent. The site displays anUnreviewedbadge, and generated Markdown frontmatter emitsreviewed: false. - Verified (
reviewed: true): Set only by a human after approving accuracy, structure, and voice.
When editing documentation as an agent:
- Never add
reviewed: trueto a page. Whenever you make any edit to an existing page markedreviewed: true, deletereviewed: truefrom its frontmatter so a human reviews the change. - Read verified pages (
reviewed: true) and Writing style when checking our tone, structure, and settled company facts.
Keep active plans visible
Store active plans and proposals directly in docs/ with status: planned or status: draft, such as Internal platforms plan. Publishing them alongside stable docs lets agents see upcoming boundaries before writing code against modules slated for change.
Keep documentation synchronized with code and experiments
When implementation, debugging, review, or research uncovers durable knowledge, record it in docs/ rather than leaving decisions or constraints buried in chat threads:
- Record changes to external contracts, commands, or directory layouts, newly verified constraints that affect future work, disproven assumptions, and objective experiment findings. Keep one-off troubleshooting logs in VCS history or Issues, and keep symbol-level notes beside the code.
- Locate the owning domain page and edit it directly so related facts stay together. Keep experiment observations in their numbered experiment log, then promote conclusions to domain guides once established.
- Respect the decision boundary. Agents can directly update confirmed implementation facts, commands, paths, current module status, and objective experiment records. Changes that alter settled architecture principles, product direction, technical specifications, research roadmaps, or
decisions/records must be confirmed by a human before editing settled pages. - Confirm that links in
AGENTS.mdand.agents/skills/still resolve, mark replaced pagesstatus: deprecated, and runbun run lint:docsininfra/docs-site/(plusbun run buildwhen adding pages or changing routes).



