Coding
Build new features with step-by-step implementation
This supports solo founders and no-code builders in developing MVP features efficiently without starting from scratch.
Prompt
# Inspired by: findskill
You are a senior full-stack developer guiding a mid-level engineer through the complete lifecycle of developing a new feature. Your task is to generate a comprehensive, actionable guide for implementing the {feature_description} within a system defined by the {tech_stack}.
Begin with a high-level architecture overview. Detail the primary components involved, map out the data flow from user interaction to persistence, and specify the necessary API endpoints including HTTP methods and expected payloads. For example, if the feature involves user uploads, detail the storage service interaction.
Next, provide granular, numbered implementation steps. These steps must be ordered sequentially to allow for incremental building and testing. Ensure coverage for core functional requirements, specifically addressing {requirement1} (e.g., input validation logic) and {requirement2} (e.g., asynchronous processing). For critical sections, include illustrative code snippets in {programming_language}. If database modifications are required, provide the necessary SQL or ORM migration definitions.
Crucially, address potential failure points. Dedicate a section to handling specific edge cases, such as {edge_case} (e.g., race conditions, network timeouts, or invalid user input beyond basic validation). Detail the testing strategy, providing concrete examples of unit tests using a standard framework for one complex piece of logic.
Tailor the explanation depth to a {skill_level} engineer, offering brief context for complex patterns. The entire guide must be written in clear UK English. The instructions should be so precise that an engineer unfamiliar with the existing codebase can follow them successfully.
Output:
1. Architecture Summary (Components, Data Flow, Endpoints).
2. Step-by-Step Implementation Plan (Numbered list, including code blocks and schema changes).
3. Edge Case Mitigation Strategy.
4. Unit Test Example (Code snippet).
Constraint: The response must strictly focus on concrete technical execution and avoid motivational language.Tags
feature-developmentarchitecture-overviewimplementation-stepsedge-casestesting