Prompt Dex › No.112
AGENTS.md Template
AGENTS.md Template
The example structure from the official agents.md site. Codex, Jules, Copilot, Cursor and about twenty other agents read this one file. Append the Karpathy rules below it and you're done.
Use for repo root, each package in a monorepo
Tools Codex · Claude Code · Cursor · Gemini CLI
Prompt
# AGENTS.md ## Dev environment tips - Use `pnpm dlx turbo run where <project_name>` to jump to a package instead of scanning with `ls`. - Run `pnpm install --filter <project_name>` to add the package to your workspace so Vite, ESLint and TypeScript can see it. - Check the `name` field inside each package's package.json to confirm the right name. ## Testing instructions - Find the CI plan in the .github/workflows folder. - Run `pnpm turbo run test --filter <project_name>` to run every check defined for that package. - From the package root you can just call `pnpm test`. The commit should pass all tests before you merge. - Fix any test or type errors until the whole suite is green. - Add or update tests for the code you change, even if nobody asked. ## PR instructions - Title format: [<project_name>] <Title> - Always run `pnpm lint` and `pnpm test` before committing.
Tips
- Replace the commands with your project's own.
- Keep it in sync with CLAUDE.md or symlink them.
Sources
License: agents.md 공식 예시 구조를 옮김 (명령어는 예시).