genlayer-studio
AGENTS.md180 starsChanged 8 months agoMITView on GitHub
- Reads credentials
- Installs packages
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 31,774 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cloudflare-cliSkill
- create-prSkill
- discord-community-feedbackSkill
- hosted-studio-debugSkill
- integration-testsSkill
- linear-issue-fixerSkill
- manage-api-keysSkill
- manage-tiersSkill
- sentry-issue-fixerSkill
- setupSkill
- studio-dbSkill
- unit-testsSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Place new backend tests in the closest scope folder and name them test_<feature>.py so Pytest auto-discovers them.
- Very specific: line 29
Write Conventional Commits (feat:, fix:, refactor:).
- Distinctive: line 32
Ensure CI checks succeed, respond to reviewer feedback promptly, and prefer squash merges to keep history tidy.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
Repository Guidelines
Project Structure & Module Organization
backend/: Python services for consensus, rollup, and RPC endpoints; FastAPI bootstraps inasgi.pyanduvicorn_config.py.frontend/: Vite + Vue 3 client with TypeScript sources insrc/, assets inpublic/, and Vitest specs undertest/.tests/: Pytest suites split by scope (unit/,integration/,e2e/,load/) with fixtures and factories incommon/.hardhat/: Solidity scripts used when simulating L1/L2 interactions through the Hardhat profile.docker/,docker-compose*.yml, andscripts/: container orchestrators and developer utilities used in CI pipelines.
Build, Test, and Development Commands
cp .env.example .env && docker compose up: launches the full stack; add-dfor background runs.docker compose up jsonrpc webrequest ollama database-migration postgres: backend services only, ideal when pairing with a hot-reload frontend.cd frontend && npm install && npm run dev: start the Vue dev server on port 5173.cd frontend && npm run build: perform type-checking and emit production assets indist/.pytest: execute Python suites; layer filters with-kor-mto target specific modules.
Coding Style & Naming Conventions
- Target Python 3.12, use 4-space indentation, and rely on Black via pre-commit for formatting consistency.
- Vue/TypeScript code follows the ESLint + Prettier toolchain; prefer PascalCase components, camelCase stores and utilities, and kebab-case Vue file names.
- Align filenames with their behavior (
validators/llm_validator.py,frontend/src/modules/network/useNetworkStore.ts) and mirror that pattern in tests.
Testing Guidelines
- Place new backend tests in the closest scope folder and name them
test_<feature>.pyso Pytest auto-discovers them. - Frontend unit tests live in
frontend/test/unit; runnpm run testduring development andnpm run coveragefor V8 reports. - End-to-end coverage relies on Mocha + Selenium; run
npm run test:e2eagainst anpm run previewinstance before opening PRs. - Share fixtures or sample payloads through
tests/commonto keep validator and RPC scenarios deterministic.
Commit & Pull Request Guidelines
- Write Conventional Commits (
feat:,fix:,refactor:); the commit-msg hook validates the prefix and scope. - Install hooks with
pre-commit install, then runpre-commit run --all-filesbefore pushing to catch formatting and lint issues early. - Open PRs from topic branches, link the related GitHub issue, and fill the PR template, including screenshots for UI adjustments and manual test notes.
- Ensure CI checks succeed, respond to reviewer feedback promptly, and prefer squash merges to keep history tidy.
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.

