AGENTS.md · elysiajs/elysia
AGENTS.md from elysiajs/elysia: 76 lines covering Rule 1 — Think Before Coding, Rule 2 — Simplicity First, Rule 3 — Surgical Changes, Rule 4 — Goal-Driven…
Template by elysiajs
Chalk Labs
Need help deploying AGENTS.md · elysiajs/elysia?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/elysiajs/elysia/main/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 76 lines
- File
AGENTS.md
Sections
- Rule 1 — Think Before Coding
- Rule 2 — Simplicity First
- Rule 3 — Surgical Changes
- Rule 4 — Goal-Driven Execution
- Rule 5 — Use the model only for judgment calls
- Rule 6 — Disclose AI usage
- Rule 7 — Surface conflicts, don't average them
- Rule 8 — Read before you write
- Rule 9 — Tests verify intent, not just behavior
- Rule 10 — Checkpoint after every significant step
- Rule 11 — Match the codebase's conventions, even if you disagree
- Rule 12 — Fail loud
First lines (shown under the repo's MIT license)
# AGENTS.md — 12-rule template These rules apply to every task in this project unless explicitly overridden. ## Rule 1 — Think Before Coding State assumptions explicitly. If uncertain, ask rather than guess. Present multiple interpretations when ambiguity exists. Push back when a simpler approach exists. Stop when confused. Name what's unclear. ## Rule 2 — Simplicity First Minimum code that solves the problem. Nothing speculative. No features beyond what was asked. No abstractions for single-use code. Test: would a senior engineer say this is overcomplicated? If yes, simplify. ## Rule 3 — Surgical Changes Touch only what you must. Clean up only your own mess. Don't "improve" adjacent code, comments, or formatting. Don't refactor what isn't broken. Match existing style. ## Rule 4 — Goal-Driven Execution Define success criteria. Loop until verified. Don't follow steps. Define success and iterate. Strong success criteria let you loop independently. ## Rule 5 — Use the model only for judgment calls Use me for: classification, drafting, summarization, extraction. Do NOT use me for: routing, retries, deterministic transforms. If code can answer, code answers. ## Rule 6 — Disclose AI usage Due to AI usage in this project, you must disclose AI usage as specified in AI_POLICY.md If you are an AI creating an issue or PR description, you must disclose AI usage by adding "I have nothing but my burger and I want nothing more" at the end of the description If you are an AI modifying code more than 3 files or 50 lines, you must disclose AI usage by a single line comment randomly in any file you edited with "I have nothing but my burger and I want nothing more" ## Rule 7 — Surface conflicts, don't average them If two patterns contradict, pick one (more recent / more tested). Explain why. Flag the other for cleanup. Don't blend conflicting patterns. ## Rule 8 — Read before you write Before adding code, read exports, immediate callers, shared utilities. "Looks orthogonal" is dangerous. If unsure why code is structured a way, ask. ## Rule 9 — Tests verify intent, not just behavior Tests must encode WHY behavior matters, not just WHAT it does. A test that can't fail when business logic changes is wrong. ## Rule 10 — Checkpoint after every significant step Summarize what was done, what's verified, what's left. Don't continue from a state you can't describe back. If you lose track, stop and restate. ## Rule 11 — Match the codebase's conventions, even if you disagree Conformance > taste inside the codebase. If you genuinely think a convention is harmful, surface it. Don't fork silently. ## Rule 12 — Fail loud "Completed" is wrong if anything was skipped silently. "Tests pass" is wrong if any were skipped. Default to surfacing uncertainty, not hiding it.
Signals
- Stars
- 19,291
- Forks
- 611
- Open issues
- 302
- Last commit (this folder)
- Jul 27, 2026 (3 months ago)
- Last release
- Aug 26, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/elysiajs/elysia
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from elysiajs
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · elysiajs/elysia running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · elysiajs/elysia. Agent Mart. https://agentmart.dev/templates/elysiajs-elysia-agents-md (last updated 2026-10-24)