Understand Operation Modes

On top of the standard Agentic AI Coding tool modes Ad-Hoc Mode and Plan Mode, ASE adds four distinct operation modes to provide even more flexibility and power.

Operation Modes

Advanced Operation Modes

Quick Mode: The more advanced variant of the Ad-Hoc Mode, where the agent directly modifies artifacts, but where the underlying ASE tenets are still applied and honored and optionally the prompt and its intent can be relentlessly "grilled" as in Task Mode.

Task Mode: The more advanced variant of the Plan Mode, where the user initially crafts and then continuously refines a task plan. The task plan has a fixed format and is persisted and hence is available across agent sessions. The most prominent feature is that the task plan can be relentlessly "grilled" to ensure that the later implementation by the AI really meets the intentions of the user.

Funnel Mode: The even more advanced mode where the user first sketches the plan, then the agent figures out possible approaches, then the user selects one approach, then a task plan is created for this approach, and then finally this switches over to the regular Task Mode. The task plan has a fixed format and is persisted and hence is available across agent sessions.

Sync Mode: The separated reconciliation mode where the user aligns the code and documentation to the specification and architecture ("forward engineering") or even aligns the specification and architecture to the code and documentation ("reverse engineering").

Your Specification Workflows

ASE allows both agile and traditional specification. For this, it allows you to use both small-scale, free-form user-stories and/or large-scale, strictly structured specifications. Choose the specification "weapon" which fits best for you!

Free-Form User-Story

User-Story Task

The simple and agile approach to development is to iteratively work through many small user-stories, each specifying an individual feature. Every user-story is realized as a task in ASE.

Claude Code

Checked Specification

Specification Model

The complex and traditional approach to development is to model the solution with a stricly structured and legally binding specification. Such specifications are realized as SpecBook models in ASE.

Claude Code
/ase-spec-edit --grill […]
/ase-sync-reconcile --source SPEC --target CODE,DOCS

Your Coding Workflows

ASE is based on individual skills which can both be sequentially triggered and partially also automatically chained. This way typical practical workflows can be realized. The following shows typical coding workflows in the Agentic AI Coding tool Anthropic Claude Code CLI.

Which coding workflow to choose depends on the requirements, the desired pros and the acceptable cons. ASE does not mandate a particular coding workflow as the particular tasks of Software Engineers are too different. In practice, one needs nearly all coding workflows, each one at a certain time.

Ad-Hoc Prompt

Simple Prompting

The simplest approach is a straight and ad-hoc instruction, as provided by Anthropic Claude Code CLI already without ASE in its standard mode. The pro is its simplicity, the con is its weakness due to missing detail decisions. Use for simple ad-hoc tasks only.

Claude Code
Create "hello" CLI command which prints "Hello World" in red to the terminal

Quick Mode

Quick & Dirty I

The simple quick & dirty approach in ASE is the Quick Mode, which borrows underlying instructions from the ASE Task Mode and Funnel Mode, but works without the ceremony of the ASE Task Mode. The pro is its speed, the con is that it might require subsequent ad-hoc adjustment promptings, as the expressed intent is still not "grilled" and no "verification" of the result is done. Use for simple and clear ad-hoc tasks only.

Claude Code
/ase-code-edit Create "hello" CLI command which prints "Hello World" in red to the terminal

Quick Mode

Quick & Dirty II

The advanced quick & dirty approach in ASE is the Quick Mode where the expressed intent is "grilled" and the results are verified. The pro is its decent balance between higher speed and good result quality, the con is that it requires more interaction. Use for medium-complex tasks.

Claude Code
/ase-code-edit --grill --verify Create "hello" CLI command which prints "Hello World" in red to the terminal

Plan Mode

Simple Planning

The advanced approach is to use the standard plan mode, as provided by Anthropic Claude Code CLI already without ASE. The pro is its convenience and possibility to interactively add detail decisions, the con is its weakness when it comes to multiple plans: these cannot easily co-exist and be edited in parallel. Use for medium-complex tasks under ad-hoc planning.

Claude Code
/plan
Create "hello" CLI command which prints "Hello World" in red to the terminal
(3) Change output color to blue
(3) Use NPM package "chalk" for coloring
(1) (Yes, and use auto mode)

Task Mode #1

Advanced Planning

The advanced approach is the ASE Task Mode. The pro is that its plans can easily co-exist and be edited in parallel, the con is its weakness because crafting / resolution / refactoring tenets are not internalized by the LLM and hence cannot guide the operation. Use for complex tasks under explicit planning.

Claude Code
/ase-task-edit Create "hello" CLI command which prints "Hello World" in red to the terminal
Change output color to blue
Use NPM package "chalk" for coloring
IMPLEMENT (dialog selection)
DELETE (dialog selection)

Task Mode #2

Professional Planning

The professional approach is the ASE Task Mode, based on various ASE task skills for grilling and preflighting the plan. The pro is that the plan becomes more robust and the result more foreseeable, the con is its necessary extra steps. Use for complex tasks where extra "thinking before acting" is desired.

Claude Code
/ase-task-edit Create "hello" CLI command which prints "Hello World" in red to the terminal
Change output color to blue
Use NPM package "chalk" for coloring
GRILL (dialog selection)
PREFLIGHT (dialog selection)
IMPLEMENT (dialog selection)
DELETE (dialog selection)

Funnel Mode

Expert Planning

The expert approach is the ASE Funnel Mode, followed by the ASE Task Mode. The pro is that crafting / resolution / refactoring tenets are internalized by the LLM and multiple solution approaches are evaluated, the con is its necessary extra steps. Use for complex tasks under explicit planning where the solution approach is not obvious.

Claude Code
/ase-code-craft Create "hello" CLI command which prints "Hello World" in red to the terminal
A1 (dialog selection)
Change output color to blue
Use NPM package "chalk" for coloring
GRILL (dialog selection)
PREFLIGHT (dialog selection)
IMPLEMENT (dialog selection)
DELETE (dialog selection)

Reconciliation Mode

Artifact Reconciliation

The artifact reconciliation approach updates the CODE and DOCS artifacts based on (changed) information in the SPEC artifacts. The pro is its precise grounding and batch operation, the con is its requirement for using a specification-driven development approach. Use for very complex projects where explicit specifications drive the development.

Claude Code
/ase-sync-reconcile --source SPEC --target CODE,DOCS
npm install -g @rse/ase && ase setup install