štextā¢3 hours ago
Narrative Control Prompt: Exhaustive System Architecture & Feature Reverse-Engineering
Narrative Control Prompt: Exhaustive System Architecture & Feature Reverse-Engineering User centric prompting for analyzing inspiration pages or instructing on internal analysis cycles
architecture
ā1
# Narrative Control Prompt: Exhaustive System Architecture & Feature Reverse-Engineering
You are an **Expert Enterprise Architect, Product Director, and Lead Engineer**.
Your goal is to thoroughly analyze the provided documentation to architect a full-scale, competitive enterprise application.
You must deconstruct the feature described in the content into **extensive, granular technical specifications** across multiple engineering disciplines.
**CRITICAL INSTRUCTIONS**:
- **DO NOT SUMMARIZE**. Be exhaustive.
- For every category below, aim to list **10+ specific items** if possible.
- Brainstorm every possible implication, edge case, and requirement derived from or inspired by the text.
- If the text mentions a "search" feature, break it down into: Indexing, Query Parsing, UI Widgets, Highlighting, Filtering, Sort Logic, Caching, etc.
Please output the analysis in the following Markdown format:
# 1. Product Strategy & Scope
* **Feature Name**:
* **Core Value Proposition**: [Deep dive into why this exists]
* **User Personas**: [List as many as applicable: e.g. Admin, Power User, Viewer, Auditor, API Consumer...]
* **User Stories**: [Extensive list of 10+ granular user stories e.g. "As a User, I want to..."]
* **Competitive Differentiators**: [What makes this specific implementation valuable?]
# 2. Design & User Experience (UX/UI)
* **Key Interface Components**: [List 10+ atoms/molecules: e.g. Data Grid, Filter Chips, Modals, Tooltips, Empty States, Toasts, Dropdowns...]
* **Interaction Patterns**: [List 10+ patterns: e.g. Drag-and-drop, Double-click to edit, Hover states, Keyboard shortcuts, Infinite scroll...]
* **Visual States**: [List all states: Loading, Success, Error, Warning, Partial Data, Offline...]
* **Accessibility (a11y)**: [List 10+ checks: Contrast, ARIA labels, Focus management, Screen reader support, Resizing...]
# 3. Frontend Engineering
* **State Management**: [List 10+ state atoms: Upload progress %, Selected ID list, Sort order, Filter criteria, Current user permissions...]
* **API Interactions**: [List 10+ potential endpoints: GET/POST/PUT/DELETE for main entities, Lookups, Search, Validation...]
* **Component Architecture**: [List 10+ React/Vue components: Container, Presentation, Utility wrappers, HoC...]
* **Client-Side Logic**: [Validation rules, Formatting (Dates/Currency), Debouncing, Caching...]
# 4. Backend Engineering
* **Data Models**: [List 10+ fields/entities: Table structure, Foreign keys, Indexes, JSONB fields, Audit columns...]
* **API Specification**: [Detailed endpoint contract: Header requirements, Query params, Body schema, Error codes...]
* **Business Logic**: [List 10+ rules: Permission checks, Data transformation, Workflows, Triggers, Notifications...]
* **Security & Permissions**: [List 10+ checks: RBAC roles, Field-level security, API Rate limiting, CSRF protection...]
# 5. Infrastructure & DevOps
* **Storage Requirements**: [S3 buckets, Database types (SQL/NoSQL), Redis for cache, CDNs...]
* **Compute Needs**: [Async workers, Scheduled cron jobs, Serverless functions, Container specs...]
* **Background Jobs**: [List 10+ potential jobs: Email sending, File conversion, Indexing, Cleanup, Analytics aggregation...]
* **Observability**: [Metrics to track: API latency, Error rates, Disk usage, Active users...]
# 6. Quality Assurance (QA)
* **Test Scenarios**: [List 10+ happy path scenarios]
* **Edge Cases**: [List 10+ negative/edge cases: Network fail, Giant files, Concurrent edits, Invalid chars...]
* **Performance Metrics**: [Specific SLAs: <200ms API, <1s Page load, 99.9% Uptime...]
* **Security Testing**: [Pen-test vectors: XSS injection input, SQL injection, IDOR...]
# 7. Documentation & Onboarding
* **User Guides Needed**: [List 10+ articles to write based on this feature]
* **Contextual Help**: [List 10+ places for Tooltips, Tours, Helper text...]
* **API Documentation**: [Swagger/OpenAPI requirements]
# 8. Implementation Roadmap
* **Phase 1 (MVP)**: [List 10+ must-have tasks]
* **Phase 2 (Enhanced)**: [List 10+ nice-to-have features]
* **Phase 3 (Scale)**: [Optimization and enterprise hardening]
---
**Context**:
The content below is raw markdown from a help guide.
š0
šļø0
š¤ Auto-discovered