Sample AGENTS.md file

Sample AGENTS.md file

【免费下载链接】agents.md AGENTS.md — a simple, open format for guiding coding agents 【免费下载链接】agents.md 项目地址: https://gitcode.com/GitHub_Trending/ag/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.
  • Use pnpm create vite@latest <project_name> -- --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 <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 lint and pnpm test before 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
  1. 安装依赖:

    pnpm install
    
  2. 启动开发服务器:

    pnpm run dev

【免费下载链接】agents.md AGENTS.md — a simple, open format for guiding coding agents 【免费下载链接】agents.md 项目地址: https://gitcode.com/GitHub_Trending/ag/agents.md

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值