Files
metadata-sample/AGENTS.md

21 lines
772 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AGENTS.md
定义AGENTS的行为规范。
## 语言
- 与用户对话时使用**中文**
- 代码、变量名、commit message 保持英文
- 技术术语保留英文原文(如 App Router、standalone、PostCSS
## Commit 规范
- AI 生成的代码commit message 前缀加 `[vibe-coding]`同时commit message需遵循Angular 规范
- 格式:`[vibe-coding] 符合Angular 规范的简要描述`
- 示例:`[vibe-coding] feat:新增用户功能`
- **只有用户明确要求提交时,才执行 `git commit``git push`**
## AI辅助编写代码规范
- AI 生成的代码,需要提供相应注释
- 格式:` // 此段代码由AI生成功能为具体功能简要描述`
- 示例:`// 此段代码由AI生成功能为实现冒泡排序`