babylon
AGENTS.md120 starsChanged 4 days agoMITView on GitHub
Each application starts at spec/index.md: its stories, rules and Quint model, with links to child specs wherever an area needs its own directory. gen/ is derived from it. Keep the spec true to what the user wants and pnpm check green. Read this file in full before doing any work. The spec format, naming rules and everything the tools accept are in SPEC.md; what a task needs beyond it is in Where the rest is. - Your first message on…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository36 other files it gives its agents.
- alchemySkill
- architectSkill
- arenaSkill
- benchmark-checklistSkill
- bug-reviewSkill
- designSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- proveSkill
- shellSkill
- syncSkill
- typescript-best-practicesSkill
- whySkill
- feedSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 13 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Just do it: Use any available MCP tool within its permissions.
- Distinctive: line 40
Follow the required PR evidence format for every PR.
- Distinctive: line 99
Every project built here uses this, and nothing beside it:
- Very specific: line 121
Read each before the work it covers, whether loaded as a skill or opened directly.
- Distinctive: line 139
Never create new Markdown documents.
- Very specific: line 141
Always avoid useEffect, setTimeout, and similar workarounds.
- Very specific: line 143
Never edit gen/, .spec-cache/, .studio/ or spec/lock.json, and never add a lemmascript.json.
- Very specific: line 146
Never run pnpm accept unproved unless the user asks.
- Very specific: line 148
Run pnpm accept only when the user asks, and only after reading each rule review lists and finding that its prose and Quint say the same …
- Very specific: line 150
Never weaken or delete a rule (always, step, sometimes, leadsTo or law) to make a check pass without telling the user which rule and why.
- Distinctive: line 160
Never work around the stack above: no other package manager, UI framework, state library or test runner, and no effectful shell code …
- Distinctive: line 167
Check each point before you write, and again after.
- Distinctive: line 173
Reuse: Search for existing code and types first.
- Very specific: line 177
No code comments: Use clear names and structure to make the code readable.
- Very specific: line 178
Use comment syntax only for required tool directives that need it, such as //@ contracts, spec citations and Vitest environment directives, …
- Very specific: line 186
Scripts, project CLI and tests: Put operational, verification, seeding, inspection, validation, and migration levers in the project CLI …
- Distinctive: line 195
Speed: Keep checks and CI fast: a small change reruns only what it touches.
- Very specific: line 202
Read the leaf skill in full for any principle you apply.
- Distinctive: line 210
Foundational Thinking: Before writing logic: core types and data structures, scaffold-vs-feature sequencing, what concurrent actors share.
- Distinctive: line 218
Remove dead weight first, then build on the simpler base.
- Distinctive: line 250
Prove It Works: After a task, before declaring done.
- Very specific: line 277
Read the typescript-best-practices skill before reading or editing .ts or .tsx files.
- Distinctive: line 296
Derive types from authoritative schemas: When a protocol buffer, OpenAPI spec, GraphQL schema, database migration, design-token file, or …
- Very specific: line 336
Real services: Run the real database, server, queue and filesystem, started and reset by the test script or the runner's setup: an …
- Distinctive: line 342
Search, then extend before adding: Search the tests for the citation of the story or rule first, and extend the journey that has it: a step …
- Very specific: line 418
Before declaring an application, feature or non-trivial change done, run the bug-review skill (full pass when finishing an app, diff-scoped …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Operating procedure for agents
Each application starts at spec/index.md: its stories, rules and Quint
model, with links to child specs wherever an area needs its own directory.
gen/ is derived from it. Keep the spec true to what the user wants and
pnpm check green.
Read this file in full before doing any work. The spec format, naming rules and everything the tools accept are in SPEC.md; what a task needs beyond it is in Where the rest is.
Working on a task
- Your first message on a task → tell the user, in your own words, their
goal, the problem they are solving, and, if the task ships a change, the
smallest change you expect to meet it. Don't wait for confirmation. If the
evidence rules out the change the user asked for, show it and stop. Restate
the user's goal in each subagent brief, and open each PR's
## Whywith it. Open each final report with it too, your final reply included, except after a fully specified one-line edit. - Any code → name the data shape first, and choose its organizing structure per principle-model-the-domain.
- Code crossing a function boundary → the architect skill, parallel design exploration before implementing.
- Just do it. Use any available MCP tool within its permissions. Reversible work and authorized external actions (team chat, ticket updates, kicking off evals) proceed without asking for confirmation.
- Session overrides: "Don't stop" / "going to bed" / "run until done" / "be fully autonomous" → keep going.
- No is an acceptable answer. Asked whether to do something, invited to add scope, or shown an approach, reply with your real judgment. Decline, push back, or say "this doesn't earn its place" when true. A recommendation is a judgment, not a validation. Agreement is not the default, candor over sycophancy.
Pull request evidence
Follow the required PR evidence format for every PR. Provide exact test results and proof of the change. Include redacted runtime logs, a before-and-after UI video, benchmarks, or physical-device results whenever the corresponding change type applies. Keep evidence current with the PR head and retain the submission signature if you used Slop.cash.
Maintainers close submissions that fail to prove a useful change or add complexity to unlikely paths without showing that the path is reachable and has a meaningful impact. Eligible signed Slop.cash submissions incur the applicable Points deduction.
Loading skills
The canonical skill files are committed in .agents/skills/, including
sync, shell, prove, design, alchemy, architect, bug-review and the principles.
Edit them there. pnpm install (via vibestack/skill-links.ts) and spec init
create project-relative skill links for Claude, Cursor, Muse, Grokbot and the
other supported agents, and CLAUDE.md links to AGENTS.md. Use
vibestack upgrade to refresh managed skills and docs when upgrading Vibestack.
These generated paths are ignored by Git; .claude/ contains no committed files.
A skill's name and description are only its discovery metadata. Before
the work listed in Where the rest is, read the matching
SKILL.md in full and follow its relevant linked references. In ChatGPT or
another client without repository skill discovery, open those files
explicitly. Resolve repository paths from the repository root and a skill's
relative links from its own directory. If the client cannot read repository
files, ask for the relevant instructions before doing that work.
Apply imported skills within this repository's stack, hard rules and test policy.
Architect uses arena for parallel design
exploration and why to trace the rationale
for existing ownership or layering when a design changes it. If the client
cannot run Arena's runners, use its parallel subagents for at least two
independent design sketches with the architect's
runner-prompt.md.
Screen and synthesize the sketches as the architect skill directs before
implementing.
Use benchmark-checklist
when measuring performance. For other referenced skills, see the
upstream pstack skills at the imported revision.
Who does what
pnpm check detects; you translate: story → rules, rule → Quint, changed
Quint → prose, counterexample → rule. That is your work in this session; it
needs no other program or account.
Whenever spec/ or src/ has changed, follow
.agents/skills/sync/SKILL.md: the loop, what
each failure asks of you, and what to report. Read the skill before following
its loop.
The user signs off with pnpm accept.
The stack
Every project built here uses this, and nothing beside it:
| For | Use | Never |
| Runtime | Node 26 | an older Node |
| Packages | pnpm workspaces, pinned by packageManager; Turborepo runs and caches tasks across them (SPEC.md) | npm, yarn, bun; a second task runner |
| Rules and state | the spec, and the code gen/ derives from it | a second model of the same state |
| Shell: effects, services, I/O, async | VibeLang (.vibe) on Effect 4 | plain TypeScript for effectful code; Redux, Zustand or another state library |
| User interface | React, in .tsx, built with Vite | Vue, Svelte, Angular, hand-built DOM |
| UI state | React hooks over the generated machine's Machine service | state kept in a component that the spec owns |
| Styling | Tailwind CSS v4 with the project's design tokens, shadcn/ui conventions on Radix primitives | hard-coded colors, a second token set, global CSS beyond the token file |
| Deployment & local runtime | Alchemy v2 (alchemy.run) on Cloudflare Workers, Static Assets, and SQLite Durable Objects | ad-hoc wrangler deploy scripts, Terraform/Pulumi, @cloudflare/vite-plugin, legacy Alchemy v1 |
| Tests | Vitest with @effect/vitest, on test/**/*.test.{vibe,tsx}; a driver for a shell that keeps a machine's state; Bombadil exploring each page; offline workerd deploy tests via @alchemy.run/test/Vitest (pnpm test:deploy) | Jest, node --test for a new test |
- Every interface is React: an application's, an example's and Studio's.
- Reuse before adding. Find the component, token or service that exists and extend it; add one only when none fits.
- TypeScript stays for
gen/, for verified//@logic (prove skill), for React components and for the tools.
Where the rest is
Read each before the work it covers, whether loaded as a skill or opened
directly. The last two are the vibestack repository's; a project that
installed the tools has README.md in node_modules/vibestack/.
| Read | Before |
| SPEC.md | writing or reading a spec: its format, the Quint it accepts, the generated code, review and conformance |
sync skill | any change to spec/ or src/, and whenever pnpm check shows a ✗ |
shell skill | writing src/ or a test: VibeLang, the Effect adapter, the React interface, building and running |
prove skill | a proof stage ✗, writing a .proof.dfy, or a //@ file |
design skill | anything a person looks at: layout, components, stories and tokens |
alchemy skill | configuring alchemy.run.ts, running local workerd dev/tests (pnpm dev:cf, pnpm test:deploy), deploying to Cloudflare, or writing deployment CI workflows |
bug-review skill | finishing an app, feature or PR: parallel review for bugs, leaks, state/rendering issues, inefficiencies and smells past pnpm check |
| CONTRIBUTING.md | generated files, tests, caching and CI; adding a package or task, or changing the tools under vibestack/ |
| README.md | the commands, Studio, and using the tools from another package |
Hard rules
- Never create new Markdown documents. Update the existing rules and spec as needed so guidance stays in one place and does not go stale.
- Always avoid
useEffect,setTimeout, and similar workarounds. Keep shared application state in the spec-backedMachineservice. - Never edit
gen/,.spec-cache/,.studio/orspec/lock.json, and never add alemmascript.json. The tools own them; a change there could make a check pass that should not. - Never run
pnpm accept unprovedunless the user asks. It lowers the listed obligations from proved to simulated. - Run
pnpm acceptonly when the user asks, and only after reading each rulereviewlists and finding that its prose and Quint say the same thing. - Never weaken or delete a rule (
always,step,sometimes,leadsToorlaw) to make a check pass without telling the user which rule and why. - Proving obligations is your work, in
spec/<path>.proof.dfyorsrc/<path>.proof.dfy(prove skill). Satisfy a check; never get past it: no trust or skip annotations, no edits to the tools or what they generate, no workaround for what a proof file may not contain. - Verified logic belongs in the spec as
pure def. Hand-write code insrc/only for what Quint cannot express (TypeScript with proved//@contracts) or what touches the outside world (VibeLang, and React for what a person sees). - Never work around the stack above: no other package manager, UI framework, state library or test runner, and no effectful shell code outside VibeLang.
- Fix the root cause. Investigate before making a fix. Trace the problem to its source and fix it there. Avoid patches that only hide symptoms.
Writing code
Check each point before you write, and again after.
- Design. Anything a person looks at follows .agents/skills/design/SKILL.md.
- One path. Replace old code; do not keep it beside its replacement. No feature flags, environment variables or settings for a change.
- Reuse. Search for existing code and types first. Extend and share; no duplicates or one-offs.
- Compact. Reread for needless branches,
tryblocks, wrappers and indirection. Shorter, if it reads as well. - No code comments. Use clear names and structure to make the code readable.
Use comment syntax only for required tool directives that need it, such as
//@contracts, spec citations and Vitest environment directives, and a doc comment only where a generator reads it: on a@repo/uicomponent and its props. This holds for the project's own code, tests, scripts and proof files;vibestack/and vendored checkouts are upstream's. Inapps/andpackages/,pnpm lint:jsenforces it, with no effect hooks, timers orconsole. Aneslint-disablethere names its rules, nevercode/*orno-console, and says why; any other inline config fails the lint. - Scripts, project CLI and tests. Put operational, verification, seeding,
inspection, validation, and migration levers in the project CLI
(
packages/cli, run withpnpm cli <command>) as typed subcommands with--jsonoutput rather than ad-hoc files underscripts/or extrapackage.jsonscripts.packages/cliis a project tool (Node 26 TypeScript by default for fast startup across all modes; subcommands that drive VibeLang/Effect services can invoke or import them when needed). Extend existing commands and tests before adding; delete code that becomes unused. Tests follow "Tests" below. - Speed. Keep checks and CI fast: a small change reruns only what it touches; a full run is as quick as it can be.
- Passes. The first version is a draft. Review it two or three times against these points.
Principles
Read the leaf skill in full for any principle you apply. Each entry names when
it applies. Each leaf is the principle-<title> skill, with the title in
kebab case, hyphens kept and other punctuation dropped, unless the entry gives
its name.
- Laziness Protocol. Refactoring, sizing a diff, or tempted to add abstractions, layers, or signal threading. Bias to deletion and the smallest change that solves the problem.
- Foundational Thinking. Before writing logic: core types and data structures, scaffold-vs-feature sequencing, what concurrent actors share.
- Redesign from First Principles. Integrating a new requirement into an existing design. Redesign as if it had been foundational from day one.
- Attack the Premise. Two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it.
- Subtract Before You Add. Sequencing an addition, refactor, or rewrite. Remove dead weight first, then build on the simpler base.
- Minimize Reader Load. Reviewing or shaping code that's hard to trace. Count layers and hidden state, collapse one-caller wrappers, shrink mutable scope.
- Outcome-Oriented Execution. Planned rewrites and migrations with explicit phase boundaries. Converge on the target architecture, don't preserve throwaway compatibility states.
- Experience First. Product, UX, or feature-scope tradeoffs. Choose user delight over implementation convenience.
- Exhaust the Design Space. A novel interaction or architectural decision with no precedent. Build 2-3 competing prototypes and compare before committing.
- Build the Lever. Any non-trivial work. Build the tool that does or proves
it — as a subcommand in the project CLI (
pnpm cli <command>, underpackages/cli) with--jsonoutput when it belongs to the project, not as a scattered script. The tool is the artifact a reviewer reruns. - Model the Domain. Writing stateful logic, or code that branches a lot or repeats a shape assumption across files. Encode the domain in a structure (state machine, typed model, table or registry, reducer, boundary, the right collection) instead of scattered conditionals.
- Boundary Discipline. Wiring validation, error handling, or framework adapters. Guards at system boundaries, trust internal types, keep business logic pure.
- Type System Discipline. Designing types or a signature in any typed language. Make illegal states unrepresentable, brand primitives, parse external data at boundaries.
- Make Operations Idempotent. Designing commands, lifecycle steps, or loops that run amid crashes and retries. Converge to the same end state.
- Migrate Callers Then Delete Legacy APIs. Introducing a new internal API while old callers exist. Migrate and delete in one wave.
- Separate Before Serializing Shared State. Concurrent actors might write the same file, branch, key, or object. Eliminate the sharing first.
- Prove It Works. After a task, before declaring done. Verify against the real artifact, not a proxy or "it compiles".
- Fix Root Causes. Debugging. Trace each symptom back to the first place the system went wrong and fix it there. A guard is a fix only when the state it handles is legitimate.
- Sequence Work into Verifiable Units (principle-sequence-verifiable-units). Multi-step work (sweeps, migrations, runs of similar edits) and how you stack commits and PRs. Break work into small units that each end in a check, verify each before the next, and order delivery so the sequence proves itself.
- Test Behavior, Not Implementation. Writing, changing, or keeping a test. Assert what the code's users can observe, so the test fails when that behavior breaks and keeps passing when only the internals change.
- Explain the Number. Apply before you measure, and before you trust, report, or act on a number you measured (a speedup, a regression, a throughput, a latency, or an eval result). Find what limits it, and rule out that it measured something other than the work you think.
- Guard the Context Window. Context fills up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents, keep summaries in the main thread.
- Never Block on the Human. Tempted to ask "should I do X?" on reversible work. Proceed, present the result, let the human course-correct.
- Encode Lessons in Structure. You catch yourself writing the same instruction a second time. Encode it as a lint, metadata flag, runtime check, or script instead of more text.
TypeScript best practices
Read the typescript-best-practices skill
before reading or editing .ts or .tsx files. Adapt the
TypeScript type reference
to the repository's schema library. Validate that a duration is nonnegative
when it represents an ordered range.
Make the compiler reject impossible states, mismatched primitives, and unhandled variants. Prefer defining errors and special cases out of existence over proliferating handlers.
- Brand semantic primitives. Give
UserIdandOrderIddistinct types, even if each is a string underneath. Use a branded intersection in TypeScript or a newtype elsewhere. Validate once at creation, then trust the type downstream. Brand arguments that share a primitive type and have different meanings. - External data is untyped until parsed. Parse RPC payloads, JSON, IPC messages, CLI args, config files, environment variables, and database rows into the typed model at each boundary. See the boundary-discipline principle skill.
- Derive types from authoritative schemas. When a protocol buffer, OpenAPI spec, GraphQL schema, database migration, design-token file, or another file owns a shape, derive the type from that source. See the encode-lessons-in-structure principle skill.
| Rule | Summary |
| Discriminated unions | Model variants with a kind literal discriminant and give each variant exactly the fields it needs. |
| Branded types | Brand primitives with & { readonly __brand: "X" } to keep them distinct. Validate once at the boundary. Establish the brand with a verifying type guard such as input is AgentId. |
| Constructive modeling | Build the shape so the illegal value can't be constructed. Use [T, ...T[]] for a non-empty list, [T, T][] for an even number of elements, and start plus a NonNegativeDuration type for an ordered range. |
| Simplest total type | Keep T[] while every operation on it stays total. Strengthen to NonEmpty<T> only where the loose type forces !, a cast, or a "should never happen" throw. |
unknown over any | External data is unknown. |
| Schemas before guards | Use the repository's runtime schema library and infer the type from the schema before writing a property-by-property guard. |
| Type assertions | Use an as cast only after validation. |
| Narrowing hierarchy | Prefer a discriminant switch, then in, then typeof or instanceof, then a user-defined type guard. A validated as cast is the last resort. |
| Type guards | Verify the full claim and name the guard isX or hasX. A misleading guard hides an unsafe assertion behind a name that promises safety. |
| Exhaustiveness | Inline const _exhaustive: never = x; in default arms so the compiler errors when a new variant is added. |
satisfies over as | Check that a value conforms to a type while retaining the inferred type of the expression. |
| Boundary validation | Parse incoming data into a named domain type. Keep Record<string, unknown> and equivalent raw shapes on the input side of that parse. Trust the resulting types inside. See the boundary-discipline principle skill linked above. |
| Schema-derived types | Reach for Pick, Omit, Parameters, ReturnType, Awaited, or typeof before declaring a new interface. |
| Object args | Use named object properties to make arguments self-documenting. Positional arguments suit hot paths such as per-frame rendering, tokenizers, or parsers. |
| Real tests | Use real framework test primitives with leak and disposal checks, and verify UI in a running build. Mock only services you can't run locally, following the rules below. |
| Structured telemetry | Use structured logger diagnostics with enough context to debug from an ID. No console.log in shipped code. |
Tests
The spec proves the rules for every state and input; a test covers only what
pnpm check's other stages cannot see: hand-written code meeting the
outside world. Write one only when its failure would be a bug a user meets
and nothing else would catch it.
| Earns a test | Never a test |
| A whole user journey, or an integration with a real service, through the real shell: input parsing, storage, HTTP, UI wiring | A guard, transition, rule or law the spec already proves, except as a step of a journey |
Hand-written code that touches the outside world, through the journey that uses it. Pure logic becomes a pure def or gets a //@ contract instead | Strings, labels, page titles, markup, styles, snapshots and screenshots: no test compares pictures |
| A shell bug that was found: one more step in the journey it broke | That a function was called; what the types stage already checks |
- Journeys. A test walks a story end to end, is named after it, and uses the required spec citation described below. A story whose path never leaves the verified core needs none.
- Real services. Run the real database, server, queue and filesystem,
started and reset by the
testscript or the runner's setup: an in-process database such as PGlite, a container, a local emulator, a provider's test mode. Fake only a service that costs money, cannot be undone, or cannot be run and reset locally; fake it once, at its network boundary, shared by every test. No mocks of your own code. - Search, then extend before adding. Search the tests for the citation of the story or rule first, and extend the journey that has it: a step or assertion in an existing journey before a new test; a new test before a new file. A test that repeats another's setup to assert one more thing belongs inside it.
- Compact. Shared helpers over repeated setup, one assertion of a whole value over one per field.
- One command.
pnpm checkruns the package'stestscript, which runs the tests and never the package's own check (a tool's journeys may check scratch projects, as Studio's do). No other test scripts, and nothing a person must set to run them; the config a runner or service needs is fine. - Size. One file per package and runner is the norm, and 5,000 lines is fine. At 15,000 lines, consolidate and simplify; split only at 20,000.
- Never weaken a test to pass. Fix the code. If the spec now asks for something else, change the assertion and name it and its rule in your report. Propose deleting a test; never delete one yourself.
How pnpm check runs them, in its tests stage:
- The run. It runs the package's
testscript in the package's directory, with the package managerpackageManageror the nearest lock file names. The exit code decides; a failure shows the runner's list of failures, at most 200 lines of it. A pass is remembered until something the tests read changes, and a complete passing Vitest run records a receipt that letscheckreuse the same result. Filtered or failed runs supply no receipt; acceptance and nightly checks always run afresh. - One configuration. The
testscript isvitest run, onproject({ root: import.meta.dirname })fromvibestack/testing/vitest.ts, asspec initwrites it; a package withtest/and notestscript gets both fromcheck. It runstest/**/*.test.{ts,tsx,vibe}in Node (a test that needs a DOM says// @vitest-environment happy-dom), and*.browser.test.*in Chromium, byvitest run --project browser(thetest:browserscript). Before each run it writes the generated property tests of everysrc/**/*.schema.*andsrc/**/*.contract.*; a module that yields none fails the run, with why. A package with no tests passes. - Citations. A test, or a shell file in
src/, in VibeLang or TypeScript, names the story or rule it serves by its heading, on one line:// spec/index.md, "A payment never exceeds the balance", or// spec/index.md, "Story: Check out"for a story; several may share a line, separated by;. The path is the spec's from the root of the spec tree, in an owner's code too:// spec/app/index.md, "…". Cite eachitortestin its title or in the enclosingdescribetitle, for example'Check out (spec/index.md, "Story: Check out")'.checkfails on an uncited test or a citation with a missing heading. When a rule changes,reviewlists the code that cites it. - Past the generated code. A test that reaches nothing but
gen/and test libraries, through the helpers of its own file, fails: it restates what the spec proves. Route it throughsrc/, or propose deleting it. - Drivers are not tests.
test/drivers/is run by thetracesstage (SPEC.md, Conformance), and importsgen/as types only;checkfails on a driver that imports its code. - The page is explored. The
explorestage serves a package'sindex.htmlwith itsstartordevscript and lets Bombadil drive it, checkingtest/bombadil.ts, or Bombadil's defaults, in every state (SPEC.md, "Exploring the page"). A property there cites its rule as a test does. - Deployment runtime is verified offline. Packages with Cloudflare Workers
or static assets verify their built bundles inside local
workerdviapnpm test:deploy(@alchemy.run/test/Vitestwithdev: true), keepingpnpm checkoffline and fast while catching edge runtime errors before deploying (alchemyskill). - Notes, never failures: two test files for one runner and language, a
test file of 15,000 lines, and a spec of the package that no test cites and
no driver, trace or
driver:script checks. - Monorepos. The root's
checkruns the tests of the root and of each owner (SPEC.md, "One spec tree"), each in its own directory; a package with its ownspec/runs its owncheckand tests (pnpm test:modelsfor all;pnpm --filter <name> checkfor one). A test cannot start a check of the project that is running it. A journey that crosses packages is tested in the package that owns it, usually the app.
Definition of done
pnpm checkis where step 3 of the sync skill's loop stops: what is left waits on the user.- Before declaring an application, feature or non-trivial change done, run
the
bug-reviewskill (full pass when finishing an app, diff-scoped pass for incremental changes), resolve all discoveredP0/P1bugs and errors (and anyP2s worth fixing), and confirmpnpm check,pnpm lint, andpnpm analyze(where defined) are green after the final fix. - In the vibestack repository, if you changed
vibestack/,pnpm selftestpasses, with a new case for each new kind of mistake the change catches, and each new kind of✗has its row in the sync skill. - What you wrote has had its passes under "Writing code".
- Your summary follows "When you stop" in the sync skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

