Feature Planning Workflow

Structured approach to planning and implementing new features with AI assistance

P
Updated January 17, 2024
development
productivity
planning

Follow this workflow to plan and implement features effectively:

  1. Create a new file: feature-name-plan.md

  2. Initial Planning (CMD + K):

    • Chat to create a comprehensive todo list
    • Include specific data requirements
    • List required libraries
    • Document connections and dependencies
  3. Validation Check:

    • Select entire plan
    • CMD + K to ask Claude for gaps
    • Review and refine based on feedback
  4. Detailed Planning: Paste into o1 chat:

    We need to come up with a feature plan for: [feature name/idea]
    Help me come up with a plan and ask clarifying questions.
    Here's a rough checklist of everything I'd like the feature to do:
    [paste todo list]
    
  5. Implementation Steps: Request atomic steps breakdown:

    Great. Now take everything we spoke about and break it down into atomic steps for a junior dev.
    Include specific data from the original checklist such that nothing is conceptual,
    and this list can be given to a developer to implement for production.
    Do not write code. If necessary though you can use pseudocode.
    
  6. Documentation:

    • Save final plan to work-pg-plan.md
  7. Development Setup:

    • Open Cursor composer in agent mode
    • Use Claude-3-5-sonnet-20241022
  8. Implementation: Add context and initiate with:

    Analyze @plan.md. You are responsible for completing all work in the file.
    Step by step. Pick 3-5 at a time then we'll continue...
    [rest of the prompt instructions]
    
  9. Progress Tracking:

    • Examine plan and track completed tasks
    • Continue implementation
    • Regular validation of components and data

Models Used

Steps

  1. Create planning document
  2. Generate initial todo list with AI
  3. Validate and identify gaps
  4. Create detailed feature plan
  5. Break down into atomic steps
  6. Set up development environment
  7. Implement with AI assistance
  8. Track progress and validate

Libraries & Tools

Cursor
Claude 3 Sonnet
GitHub