Workflow Commands

Slash commands for planning, deliberation, auditing, goal management, and parallel team orchestration. These commands drive the structured workflow lifecycle in CLI-JAW -- from initial idea through execution and completion.

Overview

Workflow commands are invoked with a leading / in the chat interface. They trigger specialized planning and orchestration routines that go beyond what a single conversational turn can accomplish. Each command activates a dedicated workflow with its own context, prompts, and output structure.

You do not need to memorize exact syntax. Natural language works too -- say "이 기능 계획 세워줘" and CLI-JAW will route to /plan automatically. The slash command form gives you precise control when you want it.
CommandPurposeQuick Example
/planGenerate an implementation plan/plan add OAuth2 login
/interviewClarify requirements with targeted questions/interview build a notification system
/deliberateMulti-persona deliberation (planner + architect + critic)/deliberate database migration strategy
/planauditRead-only audit of an existing plan/planaudit
/goalPersistent goal lifecycle management/goal set Implement auth module
/teamParallel multi-agent team orchestration/team plan Refactor API layer

/plan [request]

Generates a structured implementation plan from a natural language request. The plan includes phases, file-level tasks, acceptance criteria, risks, and estimated effort. Output is formatted as markdown and can be piped directly into a /goal.

Arguments

ArgumentRequiredDescription
[request]OptionalFree-form description of what to plan. If omitted, CLI-JAW uses the current conversation context.

What it produces

Example usage

# Plan a new feature
/plan add WebSocket-based real-time notifications

# Plan a refactor
/plan refactor the authentication middleware to support multiple providers

# Plan from conversation context (no argument)
/plan

# Plan with constraints
/plan migrate from REST to GraphQL, keep backward compatibility for 2 releases
~해줘 tip: "이 기능 계획 세워줘", "플랜 만들어줘", "구현 계획 짜줘" -- all route to /plan. You can mix Korean and English freely: "OAuth 로그인 plan 세워줘".

/interview <request>

Before jumping into implementation, /interview asks 1--3 targeted clarifying questions to nail down ambiguous requirements. This prevents wasted effort from misunderstood specifications and produces a refined requirement document that downstream commands (/plan, /goal) can consume.

Arguments

ArgumentRequiredDescription
<request>RequiredThe feature or task description to clarify. Can be vague -- that is the point.

How it works

  1. Analyze -- Parses the request to identify ambiguous areas, unstated assumptions, and missing constraints
  2. Ask -- Generates 1--3 focused questions ranked by impact on implementation decisions
  3. Refine -- Incorporates your answers into a refined requirement summary
  4. Hand off -- The refined requirement is ready for /plan or /goal set

Example usage

# Clarify a vague request
/interview build a notification system

# Clarify with some context already provided
/interview add user roles -- we need admin and viewer at minimum

# Clarify a complex migration
/interview migrate the monolith to microservices

Typical questions the interview might produce:

1. Should notifications be real-time (WebSocket/SSE) or polling-based?
   This affects architecture, infrastructure, and client complexity.

2. What notification channels are in scope -- in-app only, or also
   email/push/SMS?

3. Do notifications need to persist (read/unread state, history) or
   are they ephemeral?
~해줘 tip: "요구사항 정리해줘", "질문 좀 해줘", "뭐가 필요한지 인터뷰해줘" -- all route to /interview. Great for when you have a rough idea but have not thought through the details yet.

/deliberate <topic>

Runs a structured multi-persona deliberation on a topic. Three internal personas -- Planner, Architect, and Critic -- debate the topic from different angles, producing a balanced analysis with trade-offs, recommendations, and dissenting opinions.

Arguments

ArgumentRequiredDescription
<topic>RequiredThe design decision, architecture choice, or technical trade-off to deliberate.

The three personas

PersonaRoleFocus
PlannerProject leadFeasibility, timeline, resource allocation, phasing, risk management
ArchitectSystem designerTechnical soundness, scalability, maintainability, patterns, data flow
CriticDevil's advocateEdge cases, failure modes, hidden costs, over-engineering, missing alternatives

Output structure

Example usage

# Deliberate an architecture decision
/deliberate should we use event sourcing or CRUD for the order service?

# Deliberate a technology choice
/deliberate database migration strategy: PostgreSQL vs CockroachDB for multi-region

# Deliberate a process decision
/deliberate monorepo vs polyrepo for our 5-service backend

# Deliberate with constraints
/deliberate real-time sync approach -- must work offline, team of 2, 3-week deadline
~해줘 tip: "이것 좀 토론해줘", "장단점 분석해줘", "설계 논의해줘", "아키텍처 deliberate 해줘" -- all route to /deliberate. Use this when you need more than a quick opinion -- when the decision has lasting consequences.

/planaudit [plan]

Performs a read-only audit of an existing plan. Unlike /plan which generates plans, /planaudit reviews them -- checking for gaps, unrealistic estimates, missing edge cases, dependency issues, and scope risks. It does not modify the plan; it produces an audit report.

Arguments

ArgumentRequiredDescription
[plan]OptionalThe plan text to audit. If omitted, audits the most recently generated plan in the current conversation.

Audit dimensions

DimensionWhat it checks
CompletenessAre all requirements addressed? Are there missing phases or tasks?
FeasibilityAre time estimates realistic? Are dependencies available?
CorrectnessAre the proposed approaches technically sound?
Edge casesDoes the plan account for error handling, concurrency, and failure modes?
Scope riskIs there scope creep? Are non-goals clearly defined?
TestabilityAre acceptance criteria measurable and verifiable?

Example usage

# Audit the current plan in conversation
/planaudit

# Audit a specific plan
/planaudit The plan is: Phase 1 - Set up database schema ...

# Audit after generating a plan
/plan add user authentication
/planaudit

Sample audit output:

Plan Audit Report
=================
Overall score: 7/10

[PASS] Completeness -- All stated requirements have corresponding tasks
[WARN] Feasibility  -- Phase 2 estimates 2 days for OAuth integration;
                       typical implementations take 3-5 days
[FAIL] Edge cases   -- No error handling for token refresh failures
[PASS] Scope risk   -- Non-goals clearly stated
[WARN] Testability  -- "Works correctly" is not a measurable criterion;
                       suggest specific test scenarios
~해줘 tip: "플랜 검토해줘", "계획 감사해줘", "이 플랜 괜찮은지 봐줘" -- all route to /planaudit. Run this before committing to a plan to catch blind spots early.

/goal set|status|done|cancel|update|history

Manages persistent goals that survive across conversation sessions. Goals track progress, accumulate context, and provide a structured lifecycle from creation through completion. Goal state is persisted to disk and synced across instances via the dashboard.

Subcommands

SubcommandArgumentsDescription
/goal set <description>Goal description (free text)Create a new goal with the given description. Returns a goal ID.
/goal statusNoneDisplay all active goals with their current progress, phase, and last activity.
/goal done [id]Optional goal IDMark a goal as completed. Triggers an API call to finalize the goal record. If no ID is given, completes the most recent active goal.
/goal cancel [id]Optional goal IDCancel a goal. The goal is archived but not deleted, preserving its history.
/goal update <message>Progress update textAppend a progress update to the active goal. Updates are timestamped and appear in the goal timeline.
/goal historyNoneShow the full history of all goals -- active, completed, and cancelled -- with timestamps and progress entries.

Goal lifecycle

  set ──> active ──> done
             │
             ├──> update (repeatable, appends progress)
             │
             └──> cancel (archived)

Example usage

# Create a goal
/goal set Implement WebSocket notification system with read/unread tracking

# Check progress
/goal status

# Record incremental progress
/goal update Phase 1 complete -- schema and migrations are in place
/goal update Phase 2 in progress -- WebSocket server handler done, client pending

# Complete the goal
/goal done

# Cancel a goal that is no longer relevant
/goal cancel 3

# Review all past goals
/goal history
/goal done is an API call, not a CLI command. It triggers a server-side finalization that archives the goal, saves the final context snapshot, and updates the dashboard. Make sure the server is running.

Integration with other commands

Goals compose naturally with other workflow commands:

# Interview, plan, then set a goal from the refined output
/interview build user authentication
# (answer the clarifying questions)
/plan
/goal set Implement user authentication per refined requirements

# The goal tracks progress as you work
/goal update Auth middleware scaffolded, starting JWT integration
/goal update JWT working, adding refresh token rotation
/goal done
~해줘 tip: "목표 설정해줘" routes to /goal set. "지금 상태 알려줘" routes to /goal status. "이거 다 했어" routes to /goal done. "목표 취소해줘" routes to /goal cancel. "진행 상황 업데이트해줘" routes to /goal update. "지금까지 한 거 보여줘" routes to /goal history.

/team plan|audit|status|collect|stop

Orchestrates a parallel multi-agent team for large-scale tasks. The /team command spawns multiple sub-agents, assigns them independent work streams, monitors their progress, and collects their results into a unified output.

Subcommands

SubcommandArgumentsDescription
/team plan <request>Task descriptionDecompose the request into parallel work streams, assign agents, and start execution. Returns a team session ID.
/team auditNoneRun a cross-agent audit -- check for conflicts, duplicated work, inconsistent assumptions, and integration gaps across all active agents.
/team statusNoneDisplay the status of all agents in the current team session: assigned task, progress, and any blockers.
/team collectNoneGather results from all completed agents, merge outputs, resolve conflicts, and produce a unified deliverable.
/team stopNoneGracefully stop all agents in the current team session. In-progress work is saved but not finalized.

How it works

  1. Decomposition -- /team plan analyzes the request and identifies independent work streams that can run in parallel
  2. Assignment -- Each work stream is assigned to a sub-agent with its own context and instructions
  3. Execution -- Agents run in parallel. Each agent has filesystem access but not shared conversation context
  4. Monitoring -- /team status polls all agents for progress updates
  5. Auditing -- /team audit checks for cross-agent conflicts before merging
  6. Collection -- /team collect merges all agent outputs into a single coherent result

Example usage

# Refactor 4 API modules in parallel
/team plan Refactor user, order, product, and payment modules to use new BaseService class

# Check how agents are doing
/team status

# Run an audit to catch conflicts
/team audit

# Collect all results when agents finish
/team collect

# Emergency stop
/team stop

Practical workflow

# Full team workflow for a large migration
/interview migrate from Express to Hono
# (answer clarifying questions)
/plan
/planaudit
/goal set Migrate Express to Hono

# Execute in parallel
/team plan Migrate Express to Hono -- routes, middleware, tests, docs

# Monitor and audit
/team status
/team audit

# Collect and finalize
/team collect
/goal update Migration complete, all tests passing
/goal done
Parallel agents share the filesystem but not conversation context. Avoid assigning agents tasks that modify the same files -- this can cause merge conflicts. Use /team audit before /team collect to detect such issues.
~해줘 tip: "팀으로 나눠서 작업해줘" routes to /team plan. "팀 상태 확인해줘" routes to /team status. "결과 모아줘" routes to /team collect. "팀 작업 중지해줘" routes to /team stop. "팀 감사해줘" routes to /team audit.

Command Chaining

Workflow commands are designed to compose. A typical feature development lifecycle chains several commands in sequence:

# 1. Clarify requirements
/interview 실시간 알림 시스템 만들어야 돼

# 2. Generate a plan from the refined requirements
/plan

# 3. Audit the plan for gaps
/planaudit

# 4. Deliberate on key design decisions
/deliberate WebSocket vs SSE for our notification delivery

# 5. Set a persistent goal
/goal set Implement real-time notification system (WebSocket)

# 6. Execute with a parallel team (for large tasks)
/team plan Implement notification system -- server, client, tests, docs

# 7. Monitor and collect
/team status
/team collect

# 8. Finalize
/goal update All modules integrated and tested
/goal done

Quick Reference

What you want to doCommandKorean shortcut
Generate a plan/plan [request]"계획 세워줘"
Clarify requirements/interview <request>"요구사항 정리해줘"
Multi-persona deliberation/deliberate <topic>"장단점 분석해줘"
Audit a plan/planaudit"플랜 검토해줘"
Create a goal/goal set <desc>"목표 설정해줘"
Check goal progress/goal status"상태 알려줘"
Complete a goal/goal done"다 했어"
Cancel a goal/goal cancel"목표 취소"
Update goal progress/goal update <msg>"진행 상황 업데이트"
View goal history/goal history"목표 히스토리"
Start parallel team/team plan <request>"팀으로 나눠서 해줘"
Check team status/team status"팀 상태 확인"
Audit team work/team audit"팀 감사"
Collect team results/team collect"결과 모아줘"
Stop all agents/team stop"팀 중지"