Files
digital-psychology/.ai/workflow.md
T
jackyu66gitandCursor 2fb1dfee14 chore: seal Design Vision v1 and monorepo scaffold
Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 16:00:44 +08:00

34 lines
807 B
Markdown

# Workflow — Default Development Loop
```
Receive task
Read AI Contract + constitution + architecture + domain
Architecture Check (ADR + file-map + layers)
Choose playbook (add-api / new-page / new-table / …)
Coding (follow patterns + examples)
Commands (build / test / health)
Review (.ai/review.md)
DoD + checklist
Commit (Conventional Commits, one concern)
```
## Architecture Check questions
1. Does this change reverse an Accepted ADR? If yes → ASK / new ADR.
2. Correct layer? Handler / Service / Repository?
3. Domain words match `.ai/domain.md`?
4. API envelope still `{code,message,data}`?
## Stop conditions
- Unclear requirement → ASK FIRST
- Need GraphQL / new DB / new auth scheme → write or cite ADR before coding