# Architecture Prompt Template Use this prompt structure for technical design: ``` Read the feature spec at features/PROJ-X-feature-name.md. Design the technical architecture and add a Tech Design section to the spec file. Focus on: - Component structure (for frontend) - API design (endpoints, request/response shapes) - Database schema (tables, relationships, indexes) - Implementation order (what to build first, dependencies) - Security considerations - Tech stack decisions (libraries, patterns) ``` Example: ``` exec "Read features/PROJ-1-login.md. Design the auth architecture: JWT vs sessions, database schema for users, password hashing approach, and implementation order." ```