feat: 添加AI开发规范自动加载配置 — 支持所有AI编码工具

单一信源设计:
- RULES.md: 项目唯一规范信源(218行,覆盖铁律+后端+前端规范)

多工具适配(7个配置文件):
- AGENTS.md: Codex CLI / Claude Code 自动读取
- .cursorrules: Cursor IDE 自动读取
- .github/copilot-instructions.md: GitHub Copilot 自动读取
- .windsurfrules: Windsurf/Codeium 自动读取
- .clinerules: Cline 自动读取
- .aider.conf.yml: Aider 自动读取
- .qwenrules: Qwen Coder/通义灵码 自动读取

子目录 AGENTS.md 同步更新引用 RULES.md
This commit is contained in:
2026-06-06 09:46:15 +08:00
parent 3578a24254
commit e8af9ea40a
10 changed files with 336 additions and 83 deletions

11
.github/copilot-instructions.md vendored Normal file
View File

@@ -0,0 +1,11 @@
# HealthLink-HIS — GitHub Copilot Instructions
Read RULES.md in the project root for complete development standards.
## Quick Reference
- Backend: healthlink-his-server/ (Spring Boot 4.0.6, JDK 25, MyBatis-Plus 3.5.16)
- Frontend: healthlink-his-ui/ (Vue 3, Vite, Element Plus)
- Package: com.healthlink.his
- API prefix: /healthlink-his/api/v1/
- All DB changes via Flyway: healthlink-his-domain/src/main/resources/db/migration/
- Test before commit: mvn clean compile -DskipTests && npm run build:dev