替换真实命令
测试与构建命令必须能在仓库中直接运行,不要保留示例占位符。
把项目命令、工程约束和完成标准整理成一份可复制模板。所有输入只在当前浏览器中生成,不会上传或保存。
# AGENTS.md ## Project overview - Project: Web 应用 - Package manager: npm - Keep changes focused on the requested task. ## Working rules - Read existing code and nearby tests before editing. - Reuse established components, utilities, and naming conventions. - 保持现有接口兼容;避免无关重构;不要覆盖工作区已有修改 - Never commit secrets, tokens, local environment files, or generated caches. ## Verification - Run: `npm test` - Run: `npm run build` - Review the final diff and report any check that could not be completed. ## Definition of done - The requested behavior is implemented. - Relevant tests pass. - No unrelated files are changed. - Risks and follow-up work are documented.
生成结果是通用起点。提交到仓库前,请补充真实目录、准确命令和团队约束。继续阅读 AGENTS.md 完整实践指南。
测试与构建命令必须能在仓库中直接运行,不要保留示例占位符。
monorepo 可以在子目录补充更具体的 AGENTS.md,根目录只保留共享要求。
目录、工具或流程变化后同步更新规则,避免过时说明误导后续任务。