### Setup and Code Style Source: https://agents.md/ Basic setup commands and code style preferences for a project. ```markdown # AGENTS.md ## Setup commands - Install deps: `pnpm install` - Start dev server: `pnpm dev` - Run tests: `pnpm test` ## Code style - TypeScript strict mode - Single quotes, no semicolons - Use functional patterns where possible ``` -------------------------------- ### Sample AGENTS.md file Source: https://agents.md/ An example of an AGENTS.md file with dev environment tips, testing instructions, and PR guidelines. ```markdown # Sample AGENTS.md file ## Dev environment tips - Use `pnpm dlx turbo run where ` to jump to a package instead of scanning with `ls`. - Run `pnpm install --filter ` to add the package to your workspace so Vite, ESLint, and TypeScript can see it. - Use `pnpm create vite@latest -- --template react-ts` to spin up a new React + Vite package with TypeScript checks ready. - Check the name field inside each package's package.json to confirm the right name—skip the top-level one. ## Testing instructions - Find the CI plan in the .github/workflows folder. - Run `pnpm turbo run test --filter ` 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. - To focus on one step, add the Vitest pattern: `pnpm vitest run -t ""`. - Fix any test or type errors until the whole suite is green. - After moving files or changing imports, run `pnpm lint --filter ` to be sure ESLint and TypeScript rules still pass. - Add or update tests for the code you change, even if nobody asked. ## PR instructions - Title format: [] - Always run `pnpm lint` and `pnpm test` before committing. ``` -------------------------------- ### Migrate existing docs to AGENTS.md Source: https://agents.md/ Example command to rename an existing agent file to AGENTS.md and create a symbolic link for backward compatibility. ```bash mv AGENT.md AGENTS.md && ln -s AGENTS.md AGENT.md ``` -------------------------------- ### Configure Gemini CLI to use AGENTS.md Source: https://agents.md/ Configuration snippet for Gemini CLI to use AGENTS.md, shown in a .gemini/settings.json file. ```json { "context": { "fileName": "AGENTS.md" }, } ``` -------------------------------- ### Configure Aider to use AGENTS.md Source: https://agents.md/ Configuration snippet for Aider to use AGENTS.md, shown in a .aider.conf.yml file. ```yaml read: AGENTS.md ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.