> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traycer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Phases Mode

> Structured, multi-phase development for complex projects. Break goals into iterative phases with validation between steps.

[Phases mode](https://www.youtube.com/embed/1tPbWsT5npU?rel=0\&cc_load_policy=1\&cc_lang_pref=en\&start=67)

**1. 1. User Query**

State your goal, expected outcome, and constraints.

> [accordion] What context can I provide?
>
> Optional context:
>
> * **Files**: Source files, config files, documentation, test files.
> * **Folders**: Component directories, feature folders, asset directories.
> * **Images**: UI mockups, error screenshots.
> * **Git**:
>   * **Diff against uncommitted changes**: Changes that haven't been committed yet.
>   * **Diff against 'main'**: Changes compared to the main/default branch.
>   * **Diff against branch**: Changes compared to a specific branch of your choice.
>   * **Diff against commit**: Changes compared to a specific commit.

**2. 2. Intent Clarification (if needed)**

Traycer asks strategic questions to refine scope:

* Business goals and user flows.
* Architecture and integration needs.
* Performance, security, and scalability requirements.

**3. 3. Phase Generation**

Traycer structures work into manageable phases:

* **Phase identification**: Clear milestones and outcomes.
* **Sequential breakdown**: Logical progression from start to finish.
* **Scope definition**: Well-defined boundaries for each phase.

Learn more about [managing phases](https://docs.traycer.ai/extension/tasks/phases.md#managing-phases).

**4. 4. Phase Planning**

Traycer creates a detailed plan for each phase:

* **Objectives** and deliverables.
* **File changes** with exact edits.
* **Architecture** and approach.

Learn more about [plan](https://docs.traycer.ai/extension/tasks/plan.md) for each phase.

**5. 5. Hand off to Agent**

Execute the generated plan with your AI coding assistant. See [supported agents](https://docs.traycer.ai/extension/integrations/agents.md).

**6. 6. Verification with Traycer**

Validate each phase before moving on:

* Compares agent's implementation against your original plan to ensure requirements.
* Categorizes verification review comments by severity - Critical, Major, Minor, Outdated.

Learn more about [verification](https://docs.traycer.ai/extension/tasks/verification.md).

**7. 7. Next Phase**

Advance with preserved context:

* Carry forward decisions and mappings.
* Clear progress tracking.
* Plans adapt based on learnings.

## Automating phases with YOLO Mode

> [card] [YOLO Mode](https://docs.traycer.ai/extension/tasks/yolo-mode.md)
>
> **Fully automated workflow.** Configure once and let Traycer automatically orchestrate planning, coding, and verification across all phases without manual handoff clicks.

## Managing phases

After Traycer creates your initial phases, you have full control over the phase structure and can modify it as your project evolves.

### Phase selection mode

You can select multiple phases at once and refer to them in chat or merge them into a single phase using AI.

[Phase selection mode](https://www.youtube.com/embed/FDX7CNIp0ek?rel=0\&cc_load_policy=1\&cc_lang_pref=en\&start=67)

### Adding more phases

![Phases add](https://mintcdn.com/traycerai/nzzd5emSQefoVR6u/images/add-phase.gif?s=0c90f999f7843d53132708655153999a)

You can add additional phases at any point in your project:

* **Insert new phases**: Add phases between existing ones or at the end.
* **Address new requirements**: Add phases for features or changes discovered during development.
* **Refinement phases**: Add phases for optimization, testing, or documentation.

### Re-arranging phase order

![Phases rearrange](https://mintcdn.com/traycerai/nzzd5emSQefoVR6u/images/phase-rearrange.gif?s=81eb60f6f5307ba5d26dfd5a27092235)

Traycer allows you to re-arrange the order of phases to optimize your development process:

* **Drag and drop**: Simply drag phases to reorder them in the sequence.
* **Flexible sequencing**: Change the order based on new insights or changing priorities.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.