MASTER PROJECT PROMPT
ESP32 Design Studio — Professional WordPress Plugin
1. YOUR ROLE
You are acting as the principal software architect, senior WordPress developer, embedded systems engineer, electronics engineer, simulation software architect, UI/UX designer, cybersecurity specialist and software quality engineer.
Your objective is to design and subsequently develop a professional, production-quality WordPress plugin named ESP32 Design Studio.
This is a substantial engineering software project, not a demonstration, tutorial, mock-up or proof-of-concept.
Approach the project as a commercially viable, modular application that could eventually support a large catalogue of microcontrollers, sensors, electronic components and development tools.
Use established engineering principles, current supported technologies, appropriate architectural patterns, reproducible development methods and automated testing.
CRITICAL INITIAL INSTRUCTION: DO NOT IMPLEMENT ANYTHING YET.
Your first task is to undertake a comprehensive architecture and feasibility assessment and produce an actionable development plan. Do not modify files, install dependencies, execute development commands or write implementation code until I explicitly approve the plan.
Do not assume that all requested functionality is straightforward. Identify technical limitations, third-party dependencies, licensing restrictions, safety considerations and areas requiring specialist simulation or hardware integration.
2. PROJECT OBJECTIVE
Create a browser-based electronics development environment integrated into WordPress.
Users must be able to:
- Select an ESP32 development board.
- Drag electronic components onto a virtual design workspace.
- Choose from sensors, actuators, displays and accessories.
- Connect components using interactive virtual wires.
- View actual ESP32 GPIO and peripheral connections.
- Configure component properties and behaviours.
- Validate wiring and detect potential electrical problems.
- Switch virtual components on and off.
- Simulate sensor inputs and circuit behaviour.
- See outputs changing dynamically during simulation.
- Build projects without writing programming code.
- Alternatively write and modify Arduino C++ code.
- Execute supported firmware using an appropriate simulation engine.
- Monitor virtual serial output and signal behaviour.
- Generate and export supported Arduino projects.
- Connect real ESP32 hardware through supported interfaces.
- Upload compatible firmware with user authorisation.
- View live measurements from physical sensors.
- Control supported real hardware outputs safely.
- Receive intelligent recommendations and troubleshooting guidance.
- Save, reload, duplicate, export and share projects.
- Create documentation, wiring instructions and bills of materials.
The system must provide an intuitive experience for beginners without compromising functionality for experienced engineers.
3. TWO USER-SELECTABLE WORKSPACES
Implement two interface modes that share the same underlying project.
MODE A — BEGINNER MODE
Designed for users without programming or advanced electronics experience.
Requirements:
- Friendly, intuitive drag-and-drop interface.
- Clear graphical representations of ESP32 boards and components.
- Guided component selection.
- Connection assistance and suggested pins.
- Colour-coded virtual wiring.
- Simple component property controls.
- No-code conditional programming.
- Visual event-based logic.
- Interactive circuit simulation.
- User-adjustable simulated sensor values.
- Animated component outputs.
- Human-readable explanations.
- Step-by-step project instructions.
- Automatic code generation for supported configurations.
- Wiring validation and electrical safety warnings.
- Clear guidance on building the physical project.
Example:
A user adds an ESP32, DHT22 temperature sensor and fan driver.
Using visual controls, the user defines:
IF temperature exceeds 30°C, turn the fan ON.
IF temperature falls below 28°C, turn the fan OFF.
The user starts simulation and adjusts the virtual temperature.
The fan responds correctly, including the defined hysteresis.
No coding is required.
MODE B — ENGINEERING MODE
Designed for advanced users, engineers and embedded systems developers.
Requirements:
- Full technical circuit editor.
- Detailed board pinout and GPIO information.
- Advanced hardware configuration.
- Component specifications and electrical constraints.
- I²C, SPI, UART, ADC and PWM configuration.
- Arduino C++ code editor.
- Syntax highlighting and diagnostics.
- Firmware generation and compilation integration.
- Supported firmware simulation.
- Serial monitor.
- Real-time plots and signal inspection.
- Debugging and troubleshooting tools.
- Digital input/output monitoring.
- Advanced electrical validation.
- Hardware communication configuration.
- Access to diagnostic logs and simulation details.
MODE SWITCHING REQUIREMENTS
Users must be able to switch between Beginner Mode and Engineering Mode without losing the underlying circuit design.
Both modes must use:
- A shared project model.
- A shared electrical connectivity model.
- A shared component library.
- Consistent pin assignments.
- Consistent component configurations.
- Versioned project data.
Manual firmware edits must never be silently overwritten by automatically generated code.
Define an explicit strategy for generated code ownership, manual changes, visual logic compatibility, change tracking and conflict resolution.
If an advanced firmware feature cannot be represented in Beginner Mode, preserve the functionality and explain the limitation rather than deleting or silently changing it.
4. TWO INDEPENDENT OPERATING MODES
The workspace selection and hardware operating mode must be independent.
SIMULATION MODE
The user operates a virtual circuit in the browser.
Physical hardware is not required.
REAL HARDWARE MODE
The user connects an actual ESP32 device and interacts with supported physical peripherals.
The system must support all four combinations:
- Beginner workspace + Virtual simulation.
- Beginner workspace + Physical ESP32.
- Engineering workspace + Virtual simulation.
- Engineering workspace + Physical ESP32.
Design how users switch between physical and simulated operation without accidentally applying simulated values or unsafe commands to real equipment.
5. VISUAL ELECTRONICS WORKBENCH
Design a professional interactive circuit editor.
Essential features:
- Component palette.
- Searchable component library.
- Drag-and-drop placement.
- Infinite or sufficiently large design canvas.
- Grid and snapping.
- Zoom and pan.
- Realistic component illustrations.
- Visible component pins.
- Interactive wire connections.
- Wire colours and optional labels.
- Electrical net identification.
- Connection inspection.
- Automatic or assisted wire routing.
- Component movement and rotation where appropriate.
- Multiple selection.
- Copy, paste, duplicate and delete.
- Undo and redo.
- Context menus.
- Component configuration panel.
- Error and warning indicators.
- Save and load.
- Exportable circuit diagrams.
Assess whether to provide both a graphical breadboard-style layout and a conventional schematic view.
The visual editor must distinguish between graphical wire placement and actual electrical connectivity.
Moving a component must not corrupt its connections.
6. HARDWARE COMPONENT LIBRARY
Create an extensible, structured component catalogue.
Initial board support should focus on a specifically identified ESP32 DevKit variant with a verified manufacturer pinout.
Design the architecture so additional ESP32 variants and other microcontroller families can be added later.
Initial component categories:
- ESP32 development boards.
- Breadboards.
- Resistors.
- Capacitors.
- LEDs and RGB LEDs.
- Push buttons and switches.
- Potentiometers.
- Temperature sensors.
- Humidity sensors.
- Ultrasonic distance sensors.
- PIR motion sensors.
- Light sensors.
- I²C sensors.
- SPI sensors.
- OLED displays.
- LCD displays.
- Seven-segment displays.
- Buzzers.
- Servo motors.
- DC motors.
- Motor drivers.
- Relay modules.
- Transistors and MOSFETs.
- Power supply modules.
- Logic-level converters.
- Basic electronic accessories.
Each component definition should include, where applicable:
- Manufacturer and model.
- Component variant and revision.
- Electrical ratings and limitations.
- Pin names and functions.
- Pin count and physical layout.
- Supply voltage requirements.
- GPIO logic compatibility.
- Current requirements.
- Communication protocol.
- Default addresses.
- Required supporting components.
- Supported simulation behaviours.
- Compatible firmware libraries.
- Visual assets.
- Documentation references.
- Validation rules.
- Definition/schema version.
Distinguish bare electronic components from breakout modules that include additional circuitry.
Do not assume similarly named modules have identical electrical characteristics.
Create a controlled mechanism allowing administrators to expand and update the catalogue.
7. ELECTRICAL VALIDATION ENGINE
Develop a deterministic engineering rules engine.
It must validate supported circuit connections using documented electrical specifications.
Consider:
- Supply voltage compatibility.
- Input and output voltage limits.
- GPIO current capabilities.
- Total power requirements.
- Ground reference requirements.
- Incorrect power polarity.
- Missing series resistors.
- Pull-up and pull-down requirements.
- ESP32 boot-strapping pin considerations.
- Input-only GPIO restrictions.
- Pin multiplexing and peripheral conflicts.
- I²C address conflicts.
- SPI connection requirements.
- UART pin configuration.
- PWM capability.
- ADC restrictions.
- Driver circuitry for inductive loads.
- Flyback protection requirements.
- Incompatible logic levels.
- Potential short circuits.
- Unsupported component combinations.
Classify findings as errors, warnings, recommendations or informational messages.
For every issue, provide:
- The affected components and pins.
- The underlying technical reason.
- The relevant documented constraint.
- The potential consequence.
- A recommended correction.
- Whether the problem prevents simulation or physical hardware operation.
Validation rules must be testable and traceable to specifications.
AI-generated recommendations must not replace deterministic electrical checks.
Do not represent the application as a certified electrical safety analysis tool.
8. INTERACTIVE SIMULATION ENGINE
Design an event-driven simulation architecture.
Support simulation of virtual electrical and logical behaviour within explicitly documented limits.
Include:
- Digital HIGH/LOW signals.
- Analogue sensor values.
- Button and switch states.
- GPIO state changes.
- PWM outputs.
- Virtual sensor measurements.
- Timed events.
- Supported I²C communications.
- Supported SPI communications.
- Supported UART communication.
- Component state transitions.
- Simulated actuator responses.
- Serial-style output.
- Graphical signal visualisations.
Allow users to interact with components during simulation.
Examples:
- Change temperature using a slider.
- Adjust humidity.
- Press a virtual button.
- Trigger a virtual motion detector.
- Change measured distance.
- Adjust a potentiometer.
- Observe LED brightness.
- Rotate a simulated servo.
- Activate a relay.
- Update an OLED display.
- Observe serial messages.
Define deterministic simulation timing, state management, event scheduling and reproducibility.
Distinguish simplified functional simulation from actual electrical analysis.
Explicitly identify behaviours that cannot be faithfully simulated, such as detailed analogue effects, physical noise, electromagnetic interference, power supply transients and unsupported timing-sensitive peripherals.
9. ACTUAL ESP32 FIRMWARE SIMULATION
Investigate the technical feasibility of executing genuine ESP32 firmware in a simulation environment.
Evaluate established solutions, including Wokwi or other suitable simulation technology.
Assess:
- Supported ESP32 variants.
- Arduino compatibility.
- ESP-IDF compatibility.
- Peripheral support.
- Firmware formats.
- Simulation APIs.
- Licensing restrictions.
- Commercial embedding permissions.
- Hosting requirements.
- Integration costs.
- Performance and scalability.
- Limitations of third-party emulation.
Do not assume that a third-party simulator can be embedded in WordPress.
Distinguish between:
A. Our own functional simulation engine.
B. Actual processor/firmware emulation.
Provide a realistic integration strategy and fallback plan if third-party firmware emulation cannot be embedded.
Do not propose writing a complete ESP32 processor emulator unless a detailed technical and commercial justification supports it.
10. VISUAL PROGRAMMING AND CODE GENERATION
Beginner Mode must support visual project programming.
Consider a block-based or structured rule-based editor.
Support:
- Conditions.
- Thresholds.
- Comparisons.
- Timers.
- Delays.
- State changes.
- Logical operations.
- Sensor-driven events.
- GPIO actions.
- Basic control loops.
- Hysteresis.
- Simple automation sequences.
Generate readable Arduino C++ for supported designs.
Engineering Mode must provide a full editor for the generated code and manually authored firmware.
Include:
- Code highlighting.
- Error reporting.
- Library dependency management.
- Build configuration.
- Firmware export.
- Build results.
- Diagnostic messages.
- Generated code previews.
- Version history.
Design how visual programming and manually edited source code coexist.
Never assume arbitrary manually authored Arduino code can be converted back into visual programming blocks.
Provide safeguards against destructive code regeneration.
11. PHYSICAL ESP32 HARDWARE CONNECTION
Design support for connecting and testing real ESP32 hardware.
Investigate:
- USB serial communication.
- Web Serial.
- ESP Web Tools.
- Wi-Fi connections.
- WebSockets.
- MQTT.
- Secure device registration.
- Firmware installation.
- Device identification.
- Reconnection and connection-loss handling.
- Telemetry streaming.
- Hardware diagnostics.
Users should be able to:
- Identify a compatible connected device.
- Establish an authorised connection.
- View connection status.
- Install supported firmware.
- View serial messages.
- Monitor real sensor measurements.
- Plot live telemetry.
- Inspect GPIO states where exposed by firmware.
- Operate permitted outputs.
- Compare real and simulated behaviour.
Account for browser compatibility and provide alternative connection strategies where direct USB access is unsupported.
Physical GPIO access requires suitable firmware running on the ESP32.
Include security measures preventing unauthorised remote device control.
Provide explicit warnings and additional safeguards for outputs connected to motors, relays, heaters or other potentially hazardous equipment.
Ensure that a saved project cannot automatically actuate physical outputs merely because it was opened.
12. INTELLIGENT RECOMMENDATION SYSTEM
Develop an intelligent design assistant.
Potential functions:
- Suggest suitable ESP32 pins.
- Recommend compatible components.
- Explain electrical connection errors.
- Identify missing interface circuitry.
- Suggest improved wiring arrangements.
- Explain how sensors operate.
- Recommend alternative sensors.
- Help troubleshoot firmware.
- Explain compiler errors.
- Suggest performance improvements.
- Generate project documentation.
- Recommend modifications to reduce complexity.
Use deterministic validation results as the primary evidence for electrical recommendations.
AI must explain uncertainty and avoid inventing component specifications.
Investigate configurable AI providers with server-side credential management.
Consider whether basic recommendations can operate without an AI subscription.
AI should be optional and must not prevent core design and simulation features from functioning.
Include privacy protections for user projects and uploaded code.
13. PROJECT MANAGEMENT
Support persistent user projects through WordPress.
Required functionality:
- Create project.
- Name project.
- Save project.
- Reopen project.
- Duplicate project.
- Rename project.
- Delete project.
- Import project.
- Export project.
- Save revisions.
- Restore earlier versions.
- Maintain project ownership.
- Optional read-only project sharing.
- Optional published interactive demonstrations.
Project data must include:
- Board selection.
- Component inventory.
- Component positions.
- Pin connections.
- Electrical net definitions.
- Component configurations.
- Simulation settings.
- Visual programming logic.
- Firmware references and generated source.
- Workspace preferences.
- Relevant project metadata.
- Schema versions.
Define a canonical versioned project format and safe migration procedures.
Avoid exposing confidential firmware or device credentials through public project links.
14. WORDPRESS INTEGRATION
The product must operate as a conventional, installable WordPress plugin.
Requirements:
- Compatible WordPress architecture.
- PHP backend.
- React/TypeScript frontend.
- WordPress REST API integration.
- WordPress authentication.
- Appropriate custom capabilities.
- Project ownership enforcement.
- Administrator configuration page.
- Shortcode support.
- Gutenberg block support where appropriate.
- Frontend workspace embedding.
- Safe asset loading.
- WordPress database integration.
- Upgrade and migration handling.
- Clean activation and deactivation.
- Uninstall/data retention options.
- Appropriate internationalisation support.
Ensure compatibility with common caching and security plugins where practical.
Design the plugin to minimise its effect on other websites and plugins.
Do not put computationally intensive firmware compilation or processor emulation inside normal WordPress PHP requests.
Investigate a separately deployed service for workloads that require substantial processing.
15. SOFTWARE ARCHITECTURE
Evaluate this preferred technology stack:
- WordPress and PHP.
- WordPress REST API.
- React.
- TypeScript.
- React Flow for the circuit canvas.
- Monaco Editor for firmware editing.
- Structured JSON hardware definitions.
- Separate TypeScript circuit-validation engine.
- Separate event-driven simulation engine.
- Arduino/PlatformIO integration.
- Web Serial and supported ESP32 device communication protocols.
- Optional external firmware compilation/emulation service.
- Configurable AI provider integration.
- PHPUnit, Vitest and Playwright.
Do not select dependencies merely because they are familiar.
Evaluate technical suitability, maintenance status, security, licence compatibility, performance and long-term support.
Define clear interfaces between:
- WordPress backend.
- Frontend electronics editor.
- Component catalogue.
- Electrical connectivity model.
- Rules and validation engine.
- Simulation engine.
- Firmware generation subsystem.
- Firmware execution subsystem.
- Physical hardware connection subsystem.
- AI recommendation subsystem.
Ensure modules can be developed, tested and updated independently.
16. USER INTERFACE AND EXPERIENCE
Create a professional interface inspired by established electronics CAD and embedded development environments, while maintaining an original identity.
Consider a layout containing:
- Left component catalogue.
- Central interactive workbench.
- Right component properties panel.
- Top project toolbar.
- Workspace mode selector.
- Simulation/physical hardware selector.
- Bottom diagnostic/serial/output panel.
Provide clear controls for:
- New project.
- Open project.
- Save project.
- Add component.
- Connect components.
- Validate circuit.
- Start simulation.
- Pause simulation.
- Stop simulation.
- Reset simulation.
- View code.
- Generate firmware.
- Connect hardware.
- View warnings.
- Get recommendations.
Consider accessible keyboard controls, responsive layouts, colour-blind-friendly indicators and clear error messages.
Prioritise desktop usability while providing an appropriate tablet experience.
Do not assume direct USB hardware functionality will be available on all mobile devices or browsers.
17. PERFORMANCE AND SCALABILITY
Design for responsive interaction without unnecessary server workloads.
Requirements:
- Efficient canvas rendering.
- Smooth drag-and-drop.
- Predictable simulation performance.
- Lightweight frontend assets where practical.
- Lazy loading of expensive features.
- Isolated simulation computation where appropriate.
- Efficient project persistence.
- Controlled telemetry update frequency.
- Resource limits for any external compilation/emulation service.
- No unnecessary WordPress database polling.
- No long-running PHP requests for simulation.
Recommend measurable performance targets and realistic project-size limits.
18. SECURITY AND RELIABILITY
Treat security as a fundamental architectural requirement.
Cover:
- WordPress nonces where appropriate.
- Authentication and authorisation.
- Project-level ownership checks.
- REST API permission callbacks.
- Input validation.
- Output escaping.
- SQL injection prevention.
- Cross-site scripting protection.
- Cross-site request forgery protection.
- Safe project import/export.
- Secure firmware handling.
- Secure storage of API keys.
- Protection of device credentials.
- Rate limiting where necessary.
- Secure remote communication.
- Third-party dependency review.
- Safe plugin updates.
- Backup and recovery.
- Error handling and logging.
Assume imported project files and manually entered code are untrusted.
Any firmware compilation service must be isolated appropriately and must not allow arbitrary executable code to compromise the WordPress host.
A compromised WordPress account must not automatically imply control of every registered ESP32 device.
19. TESTING AND ENGINEERING QUALITY
Establish automated and manual testing from the beginning.
Include:
- PHP unit tests.
- TypeScript unit tests.
- Electrical rule validation tests.
- Component definition tests.
- Simulation behaviour tests.
- Project serialization tests.
- Schema migration tests.
- Firmware generation tests.
- REST API integration tests.
- User permission tests.
- UI interaction tests.
- Browser compatibility testing.
- Hardware communication tests.
- Security tests.
- Performance tests.
- Accessibility tests.
- WordPress compatibility tests.
Define how physical hardware testing will be conducted using known ESP32 boards and reference circuits.
Use reproducible test fixtures.
Do not claim that a test has passed unless it was executed and its result verified.
Provide known limitations and unresolved defects at each development milestone.
20. BUILDING, PACKAGING AND DEPLOYMENT
The final product must be delivered as an installable WordPress plugin ZIP.
Define:
- Source repository structure.
- Development dependencies.
- Build process.
- Production asset compilation.
- Dependency handling.
- Version numbering.
- Plugin packaging.
- Installation procedure.
- Upgrade procedure.
- Data migration.
- Rollback strategy.
- Release notes.
- Technical documentation.
- Administrator documentation.
- End-user instructions.
Support local development and testing before deployment to a live WordPress installation.
Never modify or deploy to a production website without explicit approval.
Do not assume access to existing production WordPress installations, hosting credentials or server infrastructure.
21. LICENSING AND COMMERCIAL CONSIDERATIONS
Assess third-party licence compatibility.
Investigate:
- React Flow licensing.
- Code editor licensing.
- Simulation engine restrictions.
- Wokwi integration and licensing.
- ESP32 documentation and SDK licences.
- Electronic component image and model licences.
- Arduino library licences.
- AI provider terms.
- Firmware compilation service costs.
Distinguish free/open-source dependencies from proprietary services.
Do not assume commercial redistribution rights.
Consider the architecture needed for future commercial functionality, including optional premium features or subscriptions, without requiring monetisation in the first release.
22. REQUIRED DEVELOPMENT STRATEGY
Divide implementation into manageable phases.
At a minimum, evaluate the following sequence:
Phase 1 — WordPress foundation
Create the plugin foundation, project management architecture and frontend application shell.
Phase 2 — Interactive circuit workbench
Implement component placement, wiring, canvas controls, save/load and electrical net modelling.
Phase 3 — Beginner and Engineering interfaces
Implement both user-selectable workspaces sharing the same canonical project.
Phase 4 — Component catalogue and validation
Create initial supported hardware models and engineering validation rules.
Phase 5 — Interactive functional simulation
Implement the simulation engine, virtual sensors, controls, outputs and monitoring.
Phase 6 — Visual programming and code generation
Introduce the no-code logic editor, supported Arduino code generation and advanced firmware editing.
Phase 7 — Advanced firmware simulation
Integrate a suitable supported third-party emulator or equivalent implementation where technically and commercially justified.
Phase 8 — Physical ESP32 integration
Implement hardware connectivity, device communication, telemetry and controlled firmware installation.
Phase 9 — AI recommendations
Develop optional intelligent design analysis and troubleshooting features.
Phase 10 — Production hardening
Perform integration testing, security reviews, compatibility testing, documentation and production packaging.
Review the order of these phases and recommend improvements where dependencies require changes.
Do not attempt to implement every phase simultaneously.
Each phase must deliver demonstrable functionality with measurable acceptance criteria.
23. REQUIRED INITIAL PLANNING DELIVERABLES
Before writing implementation code, produce all the following:
- Product requirements specification — Detailed functional requirements and user journeys.
- Technical feasibility assessment — What is achievable, what requires external services, what has important limitations and what needs further investigation.
- System architecture — Modules, boundaries, interfaces, dependencies, diagrams and data flow.
- Technology evaluation — Recommended libraries, frameworks and engineering rationale, including alternatives.
- User interface specification — Beginner Mode, Engineering Mode, simulation controls, hardware operation and switching behaviour.
- Canonical project data model — Proposed versioned JSON schema for boards, components, connections, netlists, simulation configuration, visual logic and firmware references.
- Hardware catalogue specification — Initial supported board, component list, pin definitions, metadata and extensibility architecture.
- Electrical validation specification — Proposed rule categories, evaluation algorithms, severity levels and reference specifications.
- Simulation architecture — Event model, timing, component behaviour, supported protocols, simulation limits and testing strategy.
- Firmware architecture — Visual logic representation, code generation, code ownership, compilation and real firmware simulation integration.
- Physical device integration plan — USB, Wi-Fi, security, supported browsers, communication protocols and device lifecycle.
- WordPress architecture — Database design, authentication, REST endpoints, capabilities, frontend embedding and plugin lifecycle.
- Security and safety assessment — Threat model, electrical risks, firmware execution risks and required mitigations.
- Testing strategy — Unit tests, integration tests, hardware reference tests, end-to-end testing and acceptance criteria.
- Development roadmap — Ordered phases, dependencies, risks, acceptance criteria and demonstrable deliverables.
- Estimated technical complexity — Identify the most difficult parts and expected development effort, distinguishing known facts from estimates.
- Cost and licensing assessment — Dependencies, hosting requirements, external services and potential ongoing costs.
- MVP specification — Define the smallest genuinely useful version with both Beginner and Engineering interfaces and a realistic limited component catalogue.
- Risk register — Identify architectural, technical, safety, licensing and delivery risks with proposed mitigations.
- Architecture decision log — Record important design choices, alternatives considered and reasons for selection.
For each major requirement, identify whether it belongs in the initial release, a later release or requires further research.
Do not describe capabilities as implemented merely because they are technically plausible.
24. DEVELOPMENT RULES
Follow these rules throughout the project:
- Never implement a phase without explicit approval.
- Never silently remove requested functionality.
- Never overwrite user-written firmware without appropriate safeguards.
- Never invent electronic specifications.
- Never assume simulated behaviour guarantees physical safety.
- Never claim arbitrary firmware is compatible with the simplified simulation engine.
- Never assume proprietary simulator integration is permitted without checking.
- Never expose WordPress credentials or AI API keys to frontend users.
- Never deploy to production without explicit permission.
- Never skip tests simply to complete a phase.
- Never claim functionality is complete without demonstrating the defined acceptance criteria.
- Prefer modular, maintainable implementations over large monolithic components.
- Document design decisions that materially affect later phases.
- Use source control throughout development.
- Explain trade-offs clearly.
- Identify unsupported use cases honestly.
- Keep the project compatible with future hardware expansion.
- Avoid unnecessary complexity where a simpler reliable solution is adequate.
If a proposed feature requires a choice between multiple technologies, evaluate the alternatives and recommend the most suitable option rather than selecting one arbitrarily.
Use sensible default assumptions for non-critical details and document them. Ask questions only where an answer is necessary to prevent a significant architectural mistake.
25. FIRST ACTION — PLANNING ONLY
Your immediate task is to analyse this entire specification and design the proposed system.
Do not generate implementation code.
Do not install dependencies.
Do not modify repository files.
Do not begin Phase 1.
Present a structured engineering proposal containing all required planning deliverables.
Identify:
- Any contradictions or missing requirements.
- Major technical challenges.
- Features that cannot be implemented as originally imagined.
- Better engineering alternatives.
- Dependencies between project phases.
- The most sensible minimum viable product.
- A recommended implementation sequence.
- Objective acceptance criteria.
- Technical decisions that require my approval.
Finally, provide a detailed Phase 1 Implementation Proposal explaining exactly what would be created, how it would be tested and what would be delivered.
Stop and request approval before writing any code.
END OF MASTER PROMPT