Files
digital-psychology/CLAUDE.md
T
jackyu66gitandCursor bd22d9dddd feat: P1 合盘/星座/问答与测测完整设计包及模拟器取证工具
落地 synastry/star/ask API 与 H5 页面,补齐 cece-frontend-re complete-design 证据文档,并加入 Android 模拟器截图抓取脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:37:53 +08:00

51 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.
# CLAUDE.md
愈心谷 is an **AI-first** Monorepo. Treat `.ai/` as the executable engineering system.
## On every task
1. Read [AGENTS.md](AGENTS.md) (load order is authoritative).
2. Especially: `.ai/ai-contract.md`, `constitution.md`, `architecture.md`, `domain.md`, `forbidden.md`.
3. Competitor parity / reverse engineering: `.ai/design/reverse-engineering-spec.md` (not a short prompt — full STEP 118).
4. Prefer `patterns/` + `examples/` + `playbooks/` over free-form invention.
5. Finish with Review + DoD + matching checklist.
## Layout
| Path | Role |
|---|---|
| `.ai/` | AI Engineering System (source of truth for rules) |
| `apps/api` | Go API |
| `apps/user-h5` | Vue3 user H5 |
| `apps/mini-program` | Mini-program scaffold |
| `packages/*` | sdk / types / utils / ui |
| `apps/docs/` | Human PRD / business docs (not a substitute for `.ai/`) |
## Commands
```bash
export GOPROXY=https://goproxy.cn,direct # if needed
cd apps/api && go run ./cmd/server
npm install && npm run dev:h5
```
## Legacy
Root `yuxingu.html`, `pages/`, `server.py` = prototype. Do not extend. See [LEGACY.md](LEGACY.md).
## Skill routing
When the user's request matches an available skill, invoke it. When in doubt, invoke the skill.
- Product ideas/brainstorming → `/office-hours`
- Strategy/scope → `/plan-ceo-review`
- Architecture → `/plan-eng-review`
- Design → `/design-consultation` or `/plan-design-review`
- Full review pipeline → `/autoplan`
- Bugs/errors → `/investigate`
- QA → `/qa` or `/qa-only`
- Code review → `/review`
- Ship/PR → `/ship` or `/land-and-deploy`
- Save/resume context → `/context-save` / `/context-restore`
- Spec/issue → `/spec`