Sample AGENTS.md file
Dev environment tips
- Use
pnpm dlx turbo run where <project_name>to jump to a package instead of scanning withls. - Run
pnpm install --filter <project_name>to add the package to your workspace so Vite, ESLint, and TypeScript can see it. - Use
pnpm create vite@latest <project_name> -- --template react-tsto 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 <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. - To focus on one step, add the Vitest pattern:
pnpm vitest run -t "<test name>". - Fix any test or type errors until the whole suite is green.
- After moving files or changing imports, run
pnpm lint --filter <project_name>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: [<project_name>]
💬 ชาวเน็ตแห่แชร์: gitblog /article/details/ - สรุปดราม่าล่าสุด - Always run
pnpm lintandpnpm testbefore committing.
### 在项目中实现AGENTS.md
要在您的项目中使用AGENTS.md,只需在项目根目录下创建一个名为AGENTS.md的文件,并根据项目的具体需求填充相关内容。您可以参考上述示例,根据您的开发环境、测试流程和PR规范进行调整。
### 本地运行AGENTS.md网站
AGENTS.md项目还包括一个基本的Next.js网站,您可以在本地运行它来了解更多关于项目目标的信息和示例。
1. 首先,克隆仓库:
```bash
git clone https://gitcode.com/GitHub_Trending/ag/agents.md
-
安装依赖:
pnpm install -
启动开发服务器:
pnpm run dev
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考



