aiceps-mobile/AGENTS.md

62 lines
1.7 KiB
Markdown
Raw 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.

# PROJECT KNOWLEDGE BASE
## STRUCTURE
```
Project/
├── build/ # Vite 构建插件
│ └── vite-plugin-code-version.js
├── public/ # 静态资源
├── src/ # 源代码
│ ├── api/ # API 接口
│ ├── assets/ # 静态资源
│ ├── components/ # 公共组件
│ ├── extends/ # Vue 扩展
│ ├── icons/ # SVG 图标
│ ├── layout/ # 布局组件
│ ├── plugins/ # 插件
│ ├── router/ # 路由
│ ├── store/ # 状态管理
│ ├── styles/ # 样式
│ ├── utils/ # 工具函数
│ ├── views/ # 页面
│ ├── App.vue # 根组件
│ └── main.js # 入口文件
├── .env # 环境变量
├── .env.development # 开发环境变量
├── .env.production # 生产环境变量
├── index.html # HTML 入口
├── vite.config.js # Vite 配置
└── package.json # 依赖配置
```
## CONVENTIONS
### 路径别名
```typescript
@/* src/*
```
### 提交规范CLAUDE.md 已定义)
- Conventional Commits 格式
- 描述用中文
- `feat|fix|ci|build` 才进 Release Notes
## ANTI-PATTERNS (禁止)
| 禁止 | 原因 |
|------|------|
| 使用箭头函数缩写 | 代码不直观 |
## COMMANDS
```bash
# 开发
npm run dev
# 构建
npm run build
# 检测代码
npm run lint
```