RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/Significant-Gravitas/AutoGPT

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

87/100

Scores the file, not the repository.

Length

509 words

6 headings · 0 code blocks

Repository

186k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
Significant-Gravitas/AutoGPT/AGENTS.mdRawGitHub
1# AutoGPT Platform Contribution Guide
2 
3This guide provides context for coding agents when updating the **autogpt_platform** folder.
4 
5## Directory overview
6 
7- `autogpt_platform/backend` – FastAPI based backend service.
8- `autogpt_platform/autogpt_libs` – Shared Python libraries.
9- `autogpt_platform/frontend` – Next.js + Typescript frontend.
10- `autogpt_platform/docker-compose.yml` – development stack.
11 
12See `docs/content/platform/getting-started.md` for setup instructions.
13 
14## Code style
15 
16- Format Python code with `poetry run format`.
17- Format frontend code using `pnpm format`.
18 
19## Frontend guidelines:
20 
21See `/frontend/CONTRIBUTING.md` for complete patterns. Quick reference:
22 
231. **Pages**: Create in `src/app/(platform)/feature-name/page.tsx`
24 - Add `usePageName.ts` hook for logic
25 - Put sub-components in local `components/` folder
262. **Components**: Structure as `ComponentName/ComponentName.tsx` + `useComponentName.ts` + `helpers.ts`
27 - Use design system components from `src/components/` (atoms, molecules, organisms)
28 - Never use `src/components/__legacy__/*`
293. **Data fetching**: Use generated API hooks from `@/app/api/__generated__/endpoints/`
30 - Regenerate with `pnpm generate:api`
31 - Pattern: `use{Method}{Version}{OperationName}`
324. **Styling**: Tailwind CSS only, use design tokens, Phosphor Icons only
335. **Testing**: Integration tests (Vitest + RTL + MSW) are the default (~90%, page-level). Playwright for E2E critical flows. Storybook for design system components. See `autogpt_platform/frontend/TESTING.md`
346. **Code conventions**: Function declarations (not arrow functions) for components/handlers
35 
36- Component props should be `interface Props { ... }` (not exported) unless the interface needs to be used outside the component
37- Separate render logic from business logic (component.tsx + useComponent.ts + helpers.ts)
38- Colocate state when possible and avoid creating large components, use sub-components ( local `/components` folder next to the parent component ) when sensible
39- Avoid large hooks, abstract logic into `helpers.ts` files when sensible
40- Use function declarations for components, arrow functions only for callbacks
41- No barrel files or `index.ts` re-exports
42- Avoid comments at all times unless the code is very complex
43- Do not use `useCallback` or `useMemo` unless asked to optimise a given function
44- Do not type hook returns, let Typescript infer as much as possible
45- Never type with `any`, if not types available use `unknown`
46 
47## Testing
48 
49- Backend: `poetry run test` (runs pytest with a docker based postgres + prisma).
50- Frontend integration tests: `pnpm test:unit` (Vitest + RTL + MSW, primary testing approach).
51- Frontend E2E tests: `pnpm test` or `pnpm test-ui` for Playwright tests.
52- See `autogpt_platform/frontend/TESTING.md` for the full testing strategy.
53 
54Always run the relevant linters and tests before committing.
55Use conventional commit messages for all commits (e.g. `feat(backend): add API`).
56Types: - feat - fix - refactor - ci - dx (developer experience)
57Scopes: - platform - platform/library - platform/marketplace - backend - backend/executor - frontend - frontend/library - frontend/marketplace - blocks
58 
59## Pull requests
60 
61- Use the template in `.github/PULL_REQUEST_TEMPLATE.md`.
62- Rely on the pre-commit checks for linting and formatting
63- Fill out the **Changes** section and the checklist.
64- Use conventional commit titles with a scope (e.g. `feat(frontend): add feature`).
65- Keep out-of-scope changes under 20% of the PR.
66- Ensure PR descriptions are complete.
67- For changes touching `data/*.py`, validate user ID checks or explain why not needed.
68- If adding protected frontend routes, update `frontend/lib/supabase/middleware.ts`.
69- Use the linear ticket branch structure if given codex/open-1668-resume-dropped-runs
70 

Commands it names

  • poetry run format
  • pnpm format
  • pnpm generate:api
  • poetry run test
  • pnpm test:unit
  • pnpm test
  • pnpm test-ui

Sections

  • AutoGPT Platform Contribution Guide
  • Directory overview
  • Code style
  • Frontend guidelines:
  • Testing
  • Pull requests

What it covers

testcode-stylearchitecturegit-prdo-not

Stack — with the evidence

python

(1.00)

node

(1.00)

prisma

(1.00)

ai-agent

(1.00)

pytest

(0.95)

playwright

(0.95)

react

(0.70)

nextjs

(0.70)

fastapi

(0.70)

supabase

(0.70)

redis

(0.70)

tailwind

(0.70)

vitest

(0.70)

eslint

(0.70)

ruff

(0.70)

vercel

(0.70)

aws

(0.70)

typescript

(0.60)

django

(0.60)

github-actions

(0.60)

javascript

(0.50)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
Significant-Gravitas
Language
—
License
—
Archived
no

All configs in this repo

Also in Significant-Gravitas/AutoGPT

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
Significant-Gravitas/AutoGPTautogpt_platform/frontend/src/tests/AGENTS.md · 186kAGENTS.mdpythonnode+19teststylearchtypes+281/1003 days ago
Significant-Gravitas/AutoGPT.github/copilot-instructions.md · 186kCopilot instructionspythonnode+19setupbuildtestlint-format+1088/1003 days ago
Significant-Gravitas/AutoGPTautogpt_platform/AGENTS.md · 186kAGENTS.mdpythonnode+20setuptestarchtesting-strategy+377/1003 days ago
Significant-Gravitas/AutoGPTautogpt_platform/backend/AGENTS.md · 186kAGENTS.mdpythonnode+20setuptestlint-formatstyle+981/1003 days ago
Significant-Gravitas/AutoGPTautogpt_platform/backend/backend/copilot/graphiti/AGENTS.md · 186kAGENTS.mdpythonnode+19styleperformance66/1003 days ago
Significant-Gravitas/AutoGPTautogpt_platform/frontend/AGENTS.md · 186kAGENTS.mdtypescriptpython+22setupbuildtestlint-format+796/1003 days ago
Significant-Gravitas/AutoGPTclassic/CLAUDE.md · 186kCLAUDE.mdpythonnode+19setuptestlint-formatstyle+789/1003 days ago
Significant-Gravitas/AutoGPTclassic/direct_benchmark/CLAUDE.md · 186kCLAUDE.mdpythonnode+19setuptestlint-formatarch+478/1003 days ago
Significant-Gravitas/AutoGPTclassic/forge/CLAUDE.md · 186kCLAUDE.mdpythonnode+20teststylearchtypes+373/1003 days ago
Significant-Gravitas/AutoGPTclassic/original_autogpt/CLAUDE.md · 186kCLAUDE.mdpythonnode+20testarchuiperformance+290/1003 days ago
Significant-Gravitas/AutoGPT.claude/skills/vercel-react-best-practices/AGENTS.md · 186kAGENTS.mdpythonnode+19buildlint-formatstyledependencies+461/1003 days ago
Diff against autogpt_platform/frontend/src/tests/AGENTS.md Diff against .github/copilot-instructions.md Diff against autogpt_platform/AGENTS.md Diff against autogpt_platform/backend/AGENTS.md Diff against autogpt_platform/backend/backend/copilot/graphiti/AGENTS.md Diff against autogpt_platform/frontend/AGENTS.md Diff against classic/CLAUDE.md Diff against classic/direct_benchmark/CLAUDE.md Diff against classic/forge/CLAUDE.md Diff against classic/original_autogpt/CLAUDE.md Diff against .claude/skills/vercel-react-best-practices/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
vllm-project/vllmAGENTS.md · 88kAGENTS.mdpythonpytorch+3setuptestlint-formatstyle+5100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
OnlyTerp/prompt-cache-skillsAGENTS.md · 112AGENTS.mdpythongithub-actionssetupbuildtestlint-format+5100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack