AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
56/100
Scores the file, not the repository.Length
816 words
8 headings · 0 code blocksRepository
2
— · pushed 46 days agoLast changed
2 days ago
First indexed 2 days ago.1# AGENTS.md — atom23This is **atom**, a project-starter template. It is not an application. When4you read this file, you are being asked to help bootstrap a NEW project from5this template, OR to maintain the template itself by adding new learnings.67The name: every project starts from atom. Atom is the seed.89This file is the source of truth for AI tooling instructions. Tool-specific10files (`CLAUDE.md`, `GEMINI.md`, `.cursorrules`,11`.github/copilot-instructions.md`) are forwarders that point here.1213## Two modes you operate in here1415### Mode 1 — Bootstrap a new project1617When the user says "let's start a new project from atom", or similar:18191. **Ask for project context first**:20 - Project name and one-line description (what + why)21 - Primary stack/runtime (Next.js? Python? Swift? Other?)22 - Deploy target (Railway? Vercel? Fly? AWS? Custom? Don't know yet?)23 - Cost envelope expectations (per-request or monthly)24 - Solo build or multi-agent (Backend / Design / Test / Deploy split)?25 - Public-facing or internal-only?26272. **Read the docs in this order** (you must, even if you've read them before28 on a different machine — they may have evolved):29 - `docs/VOICE.md` — how to write30 - `docs/WORKFLOW.md` — how the toolchain composes31 - `docs/PATTERNS.md` — reusable patterns to consider32 - `docs/LESSONS_LEARNED.md` — pain points to avoid33 - `docs/HOW_TO_WRITE_CONSTITUTION.md` — for the new project's constitution34 - `docs/HOW_TO_PICK_DEPLOY_TARGET.md` — only if user said "don't know yet"35 - `docs/HOW_TO_DESIGN.md` — only if the project has a UI36373. **Copy `scaffold/` into the new project repo**. The `.github/`, `.claude/`,38 `.gitignore`, `package.json`, `AGENTS.md` all go to the new repo's root.39 Docker files do NOT live in `scaffold/` (Docker is fully optional).40414. **Ask the user which Docker tier** (None / Dockerfile / + compose /42 + devcontainer) and copy the matching subset from `extras/docker/`.43 See `extras/docker/README.md` for the tier-to-file mapping. If the44 stack matches one in `extras/<category>/<preset>/` and that preset45 ships a `Dockerfile`, prefer the stack-specific one over the generic.46475. **Walk the user through filling `scaffold/AGENTS.md` placeholders**48 (search for `<TODO>` markers): project name, principles, tech stack lock,49 agent ownership, env vars, references.50516. **Write the constitution**: follow `docs/HOW_TO_WRITE_CONSTITUTION.md`52 methodology to draft it, THEN run the `speckit-constitution` skill once53 as a verification pass to catch anything the methodology missed.54557. **Run tooling install** per `INSTALL.md`: Multica auth, mem0 MCP, GBrain56 init, Gstack/GSD skill availability, Spec Kit, Task Master, Grill-me,57 Chrome DevTools MCP.58598. **Begin the GSD/Spec Kit flow**: `/gsd-new-project` OR60 `speckit-specify` → `speckit-plan` → `speckit-tasks`. User's preference.61629. **Initial commit + push**, then start Phase 1.6364### Mode 2 — Maintain atom itself6566When the user says "add this lesson to atom", "update atom with X", or67similar:68691. **Read `CONTRIBUTING.md`** for the rules.702. **Apply the generalisation test**: would this help a project unrelated71 to where it came from?723. **If yes**: propose the structured entry, ask user to confirm wording,73 append to the right file (`PATTERNS.md`, `LESSONS_LEARNED.md`, or new74 `extras/<category>/<preset>/`).754. **If no**: suggest scrubbing the project-specific bits or dropping.765. **If unsure**: drop it in `docs/INBOX.md` raw, refine later.776. **Always commit changes to atom** with a message that names the78 source project (e.g., `lessons: pin deps to minor (from wallet-persona)`).7980### Mode 3 — Build atom features8182When the user says "let's build nucleus", "start on Docker", "build the83wizard", or similar:84851. **Read the relevant plan** in `docs/planning/<feature>.md`. Each plan86 captures locked decisions, rationale, schemas, and risks. Plans are87 the source of truth for build work.882. **Build order (locked)**: nucleus → learnings → docker → model-race.89 `atom-setup` builds incrementally as features land.903. **Do not re-litigate decisions in the plan without a written reason.**91 The decisions came from a thorough planning session. If you find a92 reason to deviate, surface it before changing course.934. After each feature ships, update its plan doc with `Status: built`94 and link the implementation files.955. Cross-feature references: `nucleus` powers `learnings`; `atom-setup`96 wires both into the wizard. Build order respects this.9798## What NOT to do here99100- **Don't develop application features inside atom.** This repo seeds new101 projects. It is not itself a project.102- **Don't copy project-specific lessons** (specific API quirks, specific103 domain logic) into `LESSONS_LEARNED.md`. Only generalisable patterns.104 Project-specific stays in the source project.105- **Don't add stack-specific files outside `extras/<category>/<preset>/`.**106 When updating `scaffold/`, keep it framework-agnostic.107- **Don't grow `docs/INBOX.md` indefinitely.** Promote or delete entries108 on a regular cadence (end of project, end of quarter).109110## Memory architecture (inherited by every project bootstrapped from atom)111112Load order at task start in any bootstrapped project:113**project's AGENTS.md → mem0 query → GBrain search → Multica skill →114.claude/memory.md**115116Set mem0 `user_id` per-project (e.g., `user_id: "<project-slug>"`). Log117to mem0 after every commit with the SHA, what changed, and the118non-obvious why.119120## Voice121122Read `docs/VOICE.md`. In short: builder-to-builder, direct, concrete, tied123to user outcomes. No corporate hedging. No AI vocabulary. Same voice for124the template and every project bootstrapped from it.125
Also in machbuilds/atom
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| machbuilds/atomCLAUDE.md · 2 | CLAUDE.md | agent-behaviour | 16/100 | 2 days ago | |
| machbuilds/atomscaffold/.cursorrules · 2 | .cursorrules | no sections | 4/100 | 2 days ago | |
| machbuilds/atomscaffold/.github/copilot-instructions.md · 2 | Copilot instructions | agent-behaviour | 16/100 | 2 days ago | |
| machbuilds/atomscaffold/AGENTS.md · 2 | AGENTS.md | setupstylearchgit+3 | 77/100 | 2 days ago | |
| machbuilds/atomscaffold/CLAUDE.md · 2 | CLAUDE.md | agent-behaviour | 16/100 | 2 days ago | |
| machbuilds/atomscaffold/GEMINI.md · 2 | GEMINI.md | no sections | 16/100 | 2 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
