diff --git a/.cursor/rules/application-config.mdc b/.agents/rules/application-config.mdc similarity index 100% rename from .cursor/rules/application-config.mdc rename to .agents/rules/application-config.mdc diff --git a/.cursor/rules/cli-commands.mdc b/.agents/rules/cli-commands.mdc similarity index 100% rename from .cursor/rules/cli-commands.mdc rename to .agents/rules/cli-commands.mdc diff --git a/.cursor/rules/controller-patterns.mdc b/.agents/rules/controller-patterns.mdc similarity index 100% rename from .cursor/rules/controller-patterns.mdc rename to .agents/rules/controller-patterns.mdc diff --git a/.cursor/rules/development-workflow.mdc b/.agents/rules/development-workflow.mdc similarity index 100% rename from .cursor/rules/development-workflow.mdc rename to .agents/rules/development-workflow.mdc diff --git a/.agents/rules/git-commit.mdc.tmpl b/.agents/rules/git-commit.mdc.tmpl new file mode 100644 index 0000000..58a7897 --- /dev/null +++ b/.agents/rules/git-commit.mdc.tmpl @@ -0,0 +1,85 @@ +--- +description: 起草或生成 git commit message 时使用(Conventional Commits + TaskID) +alwaysApply: false +--- + +# Git Commit Message 规范 + +对齐 `@commitlint/config-conventional` 与 Conventional Commits 1.0.0。起草 / 执行 `git commit` 时必须遵循本规范。 + +## 格式 + +```text +(): + + + +