Build, plan & review

Written By Stanislas

Last updated About 16 hours ago

Overview

How Swiftask Code works on your project: choosing a mode, planning bigger work, controlling approvals, and reviewing changes.

Prerequisites

  • Swiftask Code installed and signed in

  • A basic understanding of the chat panel (see Chat & context)

Step-by-step guide

1. Choose the right mode

Your goal

Mode

Fix a bug, add a feature, run tests

Build

Learn the codebase, ask questions, code review (no edits)

Ask

Scope a large change before touching code

Plan

Pick a mode in the chat input based on what you want to happen.

2. Understand the three modes

Build (default) β€” for implementing features, fixing bugs, refactoring, running tests. Swiftask Code can search your project, edit files, and run commands.

Ask β€” for learning the codebase, architecture questions, review without edits. Swiftask Code reads and searches only.

Plan β€” for larger work where you want a written plan before any code changes. Swiftask Code researches your project and writes a structured plan. It won't edit source files until you choose Build.

Build

Ask

Plan

Answer questions

Yes

Yes

Yes

Change source files

Yes

No

No

Run commands

Yes

No

No

Create a written plan

No

No

Yes

3. Plan before you build (for non-trivial work)

  1. Switch to Plan mode

  2. Describe what you want β€” scope, constraints, anything important

  3. Swiftask Code produces a plan you can read in chat

  4. Open it from the Plans library (checklist icon) to read or edit

  5. When you're satisfied, click Build to start implementation in Build mode

You can stay in Plan mode and ask for updates to the same plan before building.

4. Control what runs automatically

In Swiftask Settings β†’ Permissions, choose how much Swiftask Code can do without asking:

Setting

Experience

Run everything

Swiftask Code proceeds on file edits and commands without stopping you (except when it needs a clarifying answer)

Ask before sensitive actions

You confirm before file changes; commands only run automatically if they match your trusted commands list

Trusted commands are shell commands you're comfortable auto-approving β€” for example yarn test, npm run typecheck, or git status. Edit the list in Settings.

File edits always ask for confirmation in Ask before sensitive actions mode.

Approval examples

SituationWhat you seeAction

File edit (ask-first mode)

Permission card with file path

Allow or Deny

Shell command not in trusted list

Command preview

Allow once or add to trusted

Ambiguous request

Clarifying questions (choices in the chat input)

Pick option(s), or Other, then continue


When Swiftask Code asks to clarify

If your request is ambiguous, Swiftask Code may pause with clarifying questions in the chat input β€” before it edits files or runs commands.

This is separate from Allow / Deny permissions. Permissions control risky actions; clarifying questions resolve what you meant.

What you'll see

  • One or a few short questions (up to four)

  • Suggested answers to click (usually 2–4 options)

  • An Other option for your own wording

  • Sometimes a short β€œwhy this matters” note under the question

  • Continue when you’ve answered; you can Skip a question if it doesn’t apply

  • If there are several questions, use the pager to move between them

Some questions allow more than one option; others are single choice.

What happens next

After you submit answers, Swiftask Code continues the same turn with your choices β€” you don’t need to restate the whole request.

Clarifying questions can appear in any mode, including when permissions are set to Run everything.

Tip: Be specific in your first message (scope, files, constraints) to reduce follow-up questions. You can also @-mention the files or folders you care about β€” see Chat & context.


5. Review file changes

In Build mode, when Swiftask Code changes files, you review before moving on.

In the chat β€” a Files changed section lists what was modified. You can:

  • Keep all β€” accept every change

  • Undo all β€” revert everything from that turn

  • Open a diff per file

  • Keep or undo one file at a time

In the editor β€” on a changed file, the title bar may show Keep agent edits and Undo agent edits.

6. Track progress on multi-step tasks

On multi-step tasks, Swiftask Code may show a checklist in the chat so you can see what's done and what's left β€” especially useful during Plan β†’ Build work.

Practical use cases

Copy and adapt these prompts β€” pick the mode first, then paste into chat.

Build mode:

Task

Sample prompt

Fix a bug

When I run the tests I get this error: [paste error]. Find the cause and fix it. β€” @-mention the test file or terminal output

Small feature

Add [feature]. Match the existing UI style and run the type checker when you're done.

Run tests

Run the project test suite and fix any failures. β€” add the command to trusted commands if you use ask-first mode

Focused refactor

Extract [logic] from this file into a shared helper and update callers. Don't change behavior.

Review Files changed before Keep all.

Plan mode:

Task

Sample prompt

Large feature

Plan how to add [feature]: scope, UI, risks, and open questions. Don't write code yet.

Wide refactor

Plan a rename of [old] to [new] across the codebase, including tests and docs.

Read the plan in the Plans library, adjust if needed, then click Build.

More read-only examples (explore codebase, code review) are in Chat & context.

Tips & best practices

Tip: Describe the outcome ("add session collections with list UI") not every file to touch β€” Swiftask Code will discover those during planning.

Ask first if unsure: List the main places that depend on [module]. β€” then switch to Plan or Build.

Auto-format: optional β€” Settings β†’ Permissions β†’ Auto-format on finish runs your formatter on edited files after each turn.

Approval examples:

Situation

What you see

Action

File edit (ask-first mode)

Permission card with file path

Allow or Deny

Shell command not in trusted list

Command preview

Allow once or add to trusted

Ambiguous request

Multiple-choice clarify prompt

Pick the option that matches your intent

Additional resources

  • Chat & context β€” sessions, @-mentions, Ask mode examples

  • Customize β€” rules and permission defaults

  • Help & FAQ β€” tips, approvals, and edit issues