Phase 1: Schema/Terminology Definition
Define the language and data structures of your project
Purpose
Create a shared vocabulary and data model before writing any code.
Deliverables
1. Terminology Glossary
markdown
## Terms | Term | Definition | Example | |------|------------|---------| | User | A registered account | john@email.com | | Order | A purchase transaction | ORD-123 | | Product | An item for sale | Blue Widget |
2. Entity Definitions
typescript
interface User {
id: string;
email: string;
name: string;
createdAt: Date;
}
interface Order {
id: string;
userId: string;
items: OrderItem[];
total: number;
status: 'pending' | 'paid' | 'shipped';
}
3. Relationship Diagram
code
User (1) ──── (N) Order (N) ──── (N) Product
│
└── (N) OrderItem
Output
Save to: docs/01-plan/schema.md
Next Phase
After completion: /phase-2-convention or /pdca design {feature}