Working with Plans
When you ask Nativeline to build something, the AI creates an internal plan and immediately starts executing it. Understanding how this works helps you collaborate more effectively.How the AI Works
When you describe what you want, the AI:- Analyzes your request
- Breaks it into logical steps internally
- Executes each step in order
- Shows you code previews and tool cards as it works
- Builds and tests your app automatically
Example
You say: “Add a profile screen with user avatar, name, and settings” The AI internally plans to:- Create ProfileView.swift
- Add avatar image component
- Add name display
- Add settings section
- Connect to navigation
- Build and test
Slash Commands
Nativeline provides commands to help manage the AI:| Command | What it does |
|---|---|
/help | Shows all available commands |
/plan | Shows the current internal plan status |
/planclear | Clears the current plan (keeps your code) |
/debug | Toggles debug logging on/off |
The /planclear Command
/planclear clears the current plan and lets you start fresh.
When to use it:
- You want to work on something different
- The AI seems stuck or going in the wrong direction
- You’ve changed your mind about what you want
- The AI keeps trying to complete something you no longer need
- Does NOT undo any code changes
- Does NOT delete your files
- Does NOT reset your project
The /plan Command
Use/plan to see what the AI is currently working on:
Resuming Work
Coming Back to a Project
If you had work in progress and return later: Option 1: Continue where you left offWhat if the AI is Stuck?
If the AI keeps trying and failing:- Try: “Let’s try a different approach to [the stuck task]”
- Or:
/planclearand re-describe what you want - Or: Provide more specific guidance about what’s going wrong
Best Practices
1. Let the AI Figure Out the Details
You don’t need to tell the AI exactly what files to create or what code to write. Just describe the feature and let it work. Don’t:2. Watch and Redirect
As the AI works, you’ll see code previews showing what it’s creating. You can:- Let it work: Most of the time, just watch it build
- Redirect: “Actually, don’t include email, just username”
- Clarify: “That’s not quite what I want, let me explain differently”
3. Keep Requests Focused
One clear request = focused work. Too broad:4. Don’t Interrupt Mid-Task (Usually)
Let the AI complete its current task before adding new requests. Interrupting can lead to half-finished work. However, if you see it going wrong, it’s fine to say:Handling Build Errors
If a build fails while the AI is working:- The AI automatically detects the error
- It attempts to fix it (up to 3 times)
- After fixing, it continues with remaining work
- You don’t need to restart anything
Common Scenarios
”I want to change direction”
”I want to add more features”
Wait for the current work to complete, then:“The AI keeps failing on something”
“I don’t understand what’s happening”
AI Memory
The AI remembers:- What it’s already built and tried
- Previous conversation context
- Your project’s structure and patterns
- Your preferences and style
- Avoid repeating failed approaches
- Build consistently with existing code
- Remember your preferences
The .nativeline Folder
Your project contains a hidden.nativeline folder with AI memory about your project. Don’t delete this folder unless you want to reset the AI’s memory completely.
Troubleshooting
Plan won't clear
Plan won't clear
Make sure you type exactly:
/planclearIt should work immediately. If not, try closing and reopening the project.AI keeps working on old task
AI keeps working on old task
- Type
/planclearexplicitly - Wait for confirmation
- Then start your new request
AI is trying to do too much
AI is trying to do too much
Clear it and start smaller:
AI seems confused
AI seems confused
Try:Or use
/plan to check the status, then /planclear if needed.