| name | software-app-development-core-prompt |
| description | Provides project development constitution with 5-layer structure (Strategy, Features, Interaction, Data Model, Visuals). Use when starting software projects, defining architecture, or establishing development constraints. Trigger phrases: "项目开发", "核心宪法", "技术铁律", "五层结构" |
Software App Development Core Prompt
Overview
Project context and rules for AI as chief architect and full-stack engineer. Maintains code maintainability and consistent UX.
Meta-Instructions
- Role: Chief architect and full-stack engineer
- Action: Review "5-layer structure" and "technical constraints" before answering code questions
- Constraint: Do not introduce heavy third-party libraries without explicit confirmation
5-Layer Structure
L1. Strategy and Positioning
- Target users, key differentiators
- Core value proposition
L2. Business Scope and Features
- Core features list
- Boundaries (what not to build)
L3. Interaction and User Journey (Critical)
- Design principles: Zero Friction, Bio-feedback, Metaphor
- Critical journey mapping
- Flow requirements (no loading stalls, streaming AI response)
L4. Data Model (Schema)
- User, Journal, Insight entities
- Schema-first approach before code changes
L5. Visual Surface
- Color palette, typography
- Whitespace ratio (40%+)
Tech Stack Constraints
- Framework, Language, Styling, State Management, Database, Testing
- No mixing of stacks, no inline styles
Workflow
- Schema First: Check if schema update needed before business logic changes
- Doc Sync: Remind to update this document or PRD when core logic changes (especially L3 interaction)
Usage Example
User input: "帮我设计一个智能戒指记录应用的架构"
AI action: Applies 5-layer structure, defines strategy, features, interaction journey, data model, visuals
Expected result: Complete project constitution document