gravity
AGENTS.md22 starsChanged 43 days agoMITView on GitHub
- Use GitHub Issues in this repository for all Gravity work, including internal maintainer tasks, bugs, plans, and follow-ups. Do not create or update Linear issues for Gravity. This overrides shared agent guidance that requires Linear or USE-XXX identifiers. - Use gh issue list, gh issue view, and gh issue create to find or track work. Reuse a relevant issue instead of creating duplicates. - Reference GitHub issue numbers (#123) in plans and pull requests. Use Fixes #123 only when…
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,542 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 repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bus-live-testSkill
- marketing-screenshotSkill
- releaseSkill
- terminal-perf-testSkill
- visual-regressionSkill
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use GitHub Issues in this repository for all Gravity work, including internal maintainer tasks, bugs, plans, and follow-ups.
- Very specific: line 9
Use gh issue list, gh issue view, and gh issue create to find or track work.
- Very specific: line 13
Keep credentials, private paths, account details, and private project data out of public issues.
- Very specific: line 20
Read CONTRIBUTING.md. Outline a brief plan for non-trivial changes, then implement authorized work without repeated permission requests.
- Very specific: line 22
Use pnpm and run pnpm run verify before considering work complete.
- Distinctive: line 26
Never bypass hooks or branch protections.
- Very specific: line 31
Keep changes concise and preserve strict TypeScript checks.
- Distinctive: line 33
Use static imports, braces for control flow, explicit return types for exported functions, and readonly types where mutation is unnecessary.
- Distinctive: line 35
Prefer shared code over duplication.
- Distinctive: line 36
Use conventional commits with concise imperative subjects.
- Very specific: line 40
Keep communication brief. Include file_path:line_number when referencing code.
≈ “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
Gravity agent instructions
Issue tracking
- Use GitHub Issues in this repository for all Gravity work, including internal
maintainer tasks, bugs, plans, and follow-ups. Do not create or update Linear
issues for Gravity. This overrides shared agent guidance that requires Linear
or
USE-XXXidentifiers. - Use
gh issue list,gh issue view, andgh issue createto find or track work. Reuse a relevant issue instead of creating duplicates. - Reference GitHub issue numbers (
#123) in plans and pull requests. UseFixes #123only when merging the PR completes that issue. - Keep credentials, private paths, account details, and private project data out
of public issues. Follow
SECURITY.mdfor vulnerability reports. Do not copy an old private backlog into public issues without reviewing it for disclosure and confirming the migration scope.
Workflow
- Read
CONTRIBUTING.md. Outline a brief plan for non-trivial changes, then implement authorized work without repeated permission requests. - Use pnpm and run
pnpm run verifybefore considering work complete. Report any unavailable checks; use hosted visual CI if local Docker is unavailable. - Preserve existing edits. Ask before deleting files, discarding changes, rewriting history, force-pushing, or applying irreversible migrations.
- Never bypass hooks or branch protections. Release publication requires authorization; a code or documentation change alone does not authorize it.
Code and pull requests
- Keep changes concise and preserve strict TypeScript checks. No
any, unchecked type assertions, or non-null assertions. Narrow unknown inputs. - Use static imports, braces for control flow, explicit return types for exported functions, and readonly types where mutation is unnecessary.
- Prefer shared code over duplication.
- Use conventional commits with concise imperative subjects.
- Target
main. PR descriptions must have What, Why, and How tested sections, reference the relevant GitHub issue, and state rollout requirements and validation limitations. - Keep communication brief. Include
file_path:line_numberwhen referencing code. Do not send announcements or third-party messages without authorization.
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.

