PureCode AI
  • PureCode AI Extension
  • Getting Started
    • Getting Started
  • Features
    • Chat
      • @Features
        • @Docs
        • @Files
        • @Folder
        • @Code
        • @Git
        • @Terminal
        • @UI
    • Dual Operation Modes
      • Normal Mode [ Chat ]
      • Agent Mode
      • Switching Between Modes
    • Context Awareness
      • Normal Indexing
      • Advance Indexing
    • Human-like Code Understanding with @codebase
    • Interactive Planning Mode
    • Adaptive Learning Preferences
    • Global and Project Custom Instructions
      • Global Instructions
      • Project Chat Instructions:
    • Docs Indexes and UI Docs Indexes
      • Docs Indexes
      • UI Docs Indexes
    • "Reject" and "Accept"
    • Image-to-Code
    • Video Tutorial's
    • Prompting Techniques
    • Chat Vs Codebase Chat
    • Solving Errors
  • Frequently Asked Questions
  • Changelog
Powered by GitBook
On this page
  • How it Works:
  • Example
  • Benefits:
  1. Features

Interactive Planning Mode

Last updated 2 months ago

Interactive Planning Mode enables you to work collaboratively with PureCodeAI to create a detailed, structured plan for implementing new features or tasks in your project. By enabling this mode, you can break down complex development work into manageable steps.

How it Works:

1

Enable Planning Step:

Toggle on the Planning Mode option located below the chat input box. [ Note : This planning step will be automatically enabled by default ]

2

Generate a Plan:

  • With Planning Mode enabled, prompt in our vs code extension to create a plan for your intended feature or task.

  • Our AI will provide a step-by-step breakdown, detailing key actions, necessary files, and components involved.

3

Execute and Iterate:

  • Review the AI-generated steps and begin implementation.

  • As you progress, you can request further clarifications or adjustments to the plan, ensuring alignment with your project's goals.

Tips for Effective Use:

Continuous Refinement: Iterate on your plans by seeking AI feedback, allowing for continuous improvement and adaptation to project needs.

Collaborative Planning: Use Planning Mode to discuss architectural decisions and strategize feature implementations with your team, leveraging AI-generated insights to inform your approach.

Example

Prompt: "Outline the steps to integrate Stripe payment gateway into a React e-commerce application."

AI-Generated Steps:

  1. Install Stripe SDK: Begin by adding Stripe's JavaScript library to your React project.

  2. Set Up Backend: Create the necessary API endpoints to manage payment intents and communicate with Stripe's servers.

  3. Design Payment Form: Build a user-friendly payment form utilizing Stripe's React components for a seamless experience.

  4. Handle Payment Confirmation: Implement the logic to confirm payments and provide users with success or failure notifications.

  5. Secure Payment Data: Make sure to handle sensitive payment information securely, following PCI compliance standards.

  6. Test Payment Flow: Conduct comprehensive testing of the payment process, including various edge cases and error handling scenarios.

Benefits:

  • Structured Workflow: Ensures that you approach feature development and tasks in a methodical, organized way.

  • Clear Actionable Steps: Breaks down complex tasks into smaller, actionable steps, making development more manageable.

  • Improved Efficiency: Helps you plan better, reduces the risk of missing important steps, and accelerates task completion.

  • Interactive Feedback: If needed, you can ask for adjustments to the plan and PureCodeAI will modify it based on your input, offering a highly adaptable approach.