peiiii-agentverse-commit-cursor-command.prompt.json json Copy{
"prompt": "# Git提交规则\n\n## 核心原则\n\n- **禁止擅自提交**: 只有用户明确要求才能commit\n- **英文message**: 使用英文commit message\n- **默认git add .**: 自动添加所有更改\n\n## 前端项目要求\n\n- **构建验证**:如果commit 后跟build,则commit前必须先运行 `pnpm build` 验证构建成功\n\n## 提交流程\n\n1. 用户明确要求commit\n2. 如果commit 后跟build,则运行 `pnpm build` 验证构建\n3. 执行 `git add .`\n4. 生成英文commit message\n5. 执行 `git commit -m \"message\"`",
"variables": [],
"notes": "1. 用户明确要求commit 2. 如果commit 后跟build,则运行 `pnpm build` 验证构建 3. 执行 `git add .` 4. 生成英文commit message 5. 执行 `git commit -m \"message\"`",
"metadata": {
"source": {
"provider": "github-cursor-commands",
"repository": "https://github.com/Peiiii/AgentVerse",
"path": ".cursor/commands/commit.md",
"ref": "3c17c5482014cbff2e4968e7b5434f1ef5eec183",
"url": "https://github.com/Peiiii/AgentVerse/blob/3c17c5482014cbff2e4968e7b5434f1ef5eec183/.cursor/commands/commit.md",
"key": "Peiiii/AgentVerse/.cursor/commands/commit.md"
}
}
}