单一信源设计: - 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
18 lines
654 B
Plaintext
18 lines
654 B
Plaintext
# HealthLink-HIS AI Development Rules
|
|
|
|
Read and follow RULES.md in the project root. It contains all iron rules and development standards.
|
|
|
|
## Key Rules
|
|
- All code changes must pass compilation tests before commit
|
|
- Database changes must use Flyway migration scripts
|
|
- Follow the layered architecture: Controller → AppService → Service → Mapper → Entity
|
|
- API prefix: /healthlink-his/api/v1/
|
|
- Package: com.healthlink.his
|
|
- Backend: Spring Boot 4.0.6, JDK 25, MyBatis-Plus 3.5.16
|
|
- Frontend: Vue 3, Vite, Element Plus, Pinia
|
|
|
|
## File Structure
|
|
- Backend: healthlink-his-server/
|
|
- Frontend: healthlink-his-ui/
|
|
- Docs: MD/ (all specs in MD/specs/)
|