This guide explains the available AIWF commands and how to use them effectively in your projects.
Multi-language Support: AIWF supports both Korean and English. Commands and documentation are provided in the language selected during installation.
AIWF commands follow the format /aiwf_<command_name> [arguments].
Note:
- The
/project:aiwf:<command_name>format is still supported for backward compatibility.- Korean commands may have a
_krsuffix (e.g.,/aiwf_initialize_kr)
AIWF includes a comprehensive language management system with:
- Intelligent Language Detection: Automatically detects system language preferences
- Persistent Language Storage: Saves your language preference for future installations
- Interactive Language Switching: Switch between languages with simple commands
- Command-Line Language Tools: Dedicated CLI tools for language management
Purpose: Comprehensive language management interface
Usage:
/aiwf_language_manager
Behavior:
- Shows current language settings and preferences
- Provides options to change language interactively
- Manages language detection and storage
- Validates language settings across the system
Purpose: Check current language configuration and status
Usage:
/aiwf_language_status
Behavior:
- Displays current active language
- Shows detected system language preferences
- Reports language file availability and consistency
- Provides language-specific installation status
Purpose: Switch between supported languages
Usage:
/aiwf_switch_language
# Interactive language selection
/aiwf_switch_language ko
# Switch to Korean
/aiwf_switch_language en
# Switch to English
Behavior:
- Updates language preferences
- Reinstalls commands in selected language
- Maintains project settings and data
- Provides confirmation of successful language switch
- Default Commands: English or standardized multilingual
- Korean Commands: Complete Korean versions with full feature parity
- Language Management: Available in both languages with identical functionality
Purpose: Initialize AIWF in a new or existing project
Usage:
/aiwf_initialize
Behavior:
- Scans and analyzes the project
- Requests project type confirmation
- Checks for existing AIWF documents
- Guides document creation (import existing or create new)
- Creates first milestone
- Generates project manifest
When to Use: When first setting up AIWF in a project
Purpose: Load project context at the start of a coding session
Usage:
/aiwf_prime
Behavior:
- Reads project manifest
- Loads current milestone and sprint information
- Identifies active tasks
- Provides quick status overview
When to Use: At the start of a coding session to quickly understand the overall situation
Purpose: Break down milestones into manageable sprints
Usage:
/aiwf_create_sprints_from_milestone 001_MVP_FOUNDATION
Behavior:
- Analyzes milestone requirements
- Groups related requirements into ~1 week sprints
- Creates sprint folders and META files
- Updates sprint information in manifest
When to Use: After creating a new milestone
Purpose: Create detailed task breakdown for a sprint
Usage:
/aiwf_create_sprint_tasks S01
# or for specific sprint:
/aiwf_create_sprint_tasks S02_001_MVP_FOUNDATION
Behavior:
- Analyzes sprint requirements
- Breaks them into concrete, actionable tasks
- Creates task files with clear goals
- Handles inter-task dependencies
When to Use: At the start of each sprint
Purpose: Create standalone tasks not tied to sprints
Usage:
/aiwf_create_general_task
# Then describe your task when prompted
Example Tasks:
- "Fix memory leak in physics engine"
- "Update documentation for API changes"
- "Refactor database connection pooling"
When to Use: For maintenance, bug fixes, or work outside sprint scope
Purpose: Execute a specific task
Usage:
/aiwf_do_task
# Lists available tasks and prompts for selection
# Or specify task directly:
/aiwf_do_task T001_S01_setup_tauri
Behavior:
- Read task requirements
- Implement solution
- Run tests if applicable
- Update task status
- Create necessary files/changes
When to Use: When ready to work on a specific task
Purpose: Create well-structured git commits and link with GitHub issues
Usage:
/aiwf_commit
# Reviews changes and creates commit
# Or for specific task:
/aiwf_commit T001_S01_setup_tauri
# With review:
/aiwf_commit --review
Behavior:
- Analyze changes
- Group related changes
- Generate meaningful commit messages
- Link commits to tasks/requirements
- Integrate with GitHub issues (fixes #123, relates to #456)
- Optionally run code review first
When to Use: When you want to save completed work
Purpose: Run tests and fix common issues
Usage:
/aiwf_test
# Run all tests
/aiwf_test unit
# Run specific test suite
Behavior:
- Identify test commands from package.json
- Run appropriate tests
- Fix common issues (missing dependencies, config)
- Report results clearly
When to Use: Before committing or when tests fail
Purpose: Review code against specifications
Usage:
/aiwf_code_review
# Review uncommitted changes
/aiwf_code_review src/app/components/GameCanvas.tsx
# Review specific file
Behavior:
- Check code against requirements
- Verify patterns and conventions
- Identify bugs and issues
- Suggest improvements
- Ensure spec compliance
When to Use: Before committing significant changes
Purpose: Overall project health check
Usage:
/aiwf_project_review
Behavior:
- Review overall architecture
- Identify technical debt
- Analyze progress vs schedule
- Identify risks and blockers
- Suggest improvements
When to Use: Weekly or at sprint boundaries
Purpose: Analyze test coverage and quality
Usage:
/aiwf_testing_review
Behavior:
- Review test coverage
- Identify missing test cases
- Check test quality
- Suggest improvements
When to Use: After implementing features
Purpose: Technical discussion about review findings
Usage:
/aiwf_discuss_review
# After running other review commands
Behavior:
- Provide detailed explanations
- Discuss pros and cons
- Suggest solutions
- Answer questions
When to Use: To better understand review feedback
Purpose: Autonomous task execution
Usage:
/aiwf_yolo
# Execute all open tasks sequentially
/aiwf_yolo S02
# Execute specific sprint sequentially
/aiwf_yolo sprint-all
# Execute all sprints sequentially
/aiwf_yolo milestone-all
# Execute all milestones sequentially
/aiwf_yolo S02 worktree
# Execute in Git worktree mode
Behavior:
- Identify open tasks
- Execute in order
- Handle dependencies
- Commit completed tasks
- Update progress
- Update GitHub issue status
Safety Features:
- Won't modify schema without confirmation
- Skips dangerous operations
- Maintains code quality
- Creates logical commits
- Stops on test failures
When to Use: When you want autonomous progress
Purpose: Create independent sprints without milestones for rapid YOLO execution
Usage:
# Extract from README TODOs
aiwf sprint independent --from-readme
# Create from GitHub issue
aiwf sprint independent --from-issue 123
# Interactive creation with engineering level
aiwf sprint independent "Quick Feature" --minimal
aiwf sprint independent "API Development" --balanced
aiwf sprint independent "Complex System" --completeFeatures:
- No milestone dependency required
- Automatic task extraction from README/Issues
- Configurable engineering levels
- YOLO-optimized sprint structure
Purpose: Manage YOLO execution checkpoints for recovery and tracking
Usage:
# List checkpoints
aiwf checkpoint list
aiwf checkpoint list --limit 20
# Check current session status
aiwf checkpoint status
# Restore from checkpoint
aiwf checkpoint restore cp_1234567890
# Create manual checkpoint
aiwf checkpoint create "Before major refactor"
# Clean old checkpoints
aiwf checkpoint clean --keep 10Features:
- Automatic checkpoint creation during YOLO
- Git state tracking
- Session metrics and performance data
- Safe recovery from interruptions
Purpose: Configure YOLO behavior and overengineering prevention
Usage:
# Initialize default config
aiwf yolo-config init
# Interactive configuration wizard
aiwf yolo-config wizard
# Show current configuration
aiwf yolo-config showConfiguration Options:
- Engineering levels (minimal/balanced/complete)
- Focus rules (requirement_first, simple_solution, etc.)
- Execution modes (fast/smart/safe)
- Overengineering prevention limits
- Checkpoint intervals
Purpose: Comprehensive sprint management tool
Usage:
# Create independent sprint
aiwf-sprint independent --from-readme --minimal
# List all sprints
aiwf-sprint list
aiwf-sprint list --status active
# Check sprint status
aiwf-sprint status S01
# Get help
aiwf-sprint helpPurpose: Advanced checkpoint management
Usage:
# Generate progress report
aiwf-checkpoint report
# List with details
aiwf-checkpoint list
# Clean with dry-run
aiwf-checkpoint clean --keep 5 --dry-run
# Get help
aiwf-checkpoint helpPurpose: Create Pull Request with templates to organize changes
Usage:
/aiwf_pr_create
# Create PR interactively
/aiwf_pr_create "Add authentication to API"
# Create PR with title
Behavior:
- Analyze current branch changes
- Identify related issues and tasks
- Generate PR title and description
- Include test checklist
- Create PR on GitHub
Purpose: Create GitHub Issue for bug reports and feature requests
Usage:
/aiwf_issue_create
# Create issue interactively
/aiwf_issue_create "Bug: login fails on Safari"
# Create issue with title
Behavior:
- Get issue title and description
- Auto-assign appropriate labels and milestones
- Apply bug/feature request templates
- Create issue on GitHub
- Convert to task if needed
Purpose: Plan new milestone through interactive process and auto-generate .aiwf/02_REQUIREMENTS/ structure
Usage:
/aiwf_create_milestone_plan
Behavior:
- Define milestone goals and scope
- Create requirements document structure
- Generate PRD and technical spec templates
- Set up milestone directory structure
- Update project manifest
Purpose: Create Product Requirements Document (PRD) with detailed feature specifications
Usage:
/aiwf_create_prd
# Create PRD interactively
/aiwf_create_prd "User Authentication System"
# Create PRD for specific feature
Behavior:
- Define feature purpose and scope
- Write user stories and scenarios
- Specify technical requirements
- Identify constraints and dependencies
- Create PRD document structure
When to Use: When detailed specifications are needed before implementing new features
Purpose: Generate Mermaid diagrams by analyzing codebase
Usage:
/aiwf_mermaid
# Generate overall architecture diagram
/aiwf_mermaid flowchart
# Generate flowchart
/aiwf_mermaid sequence
# Generate sequence diagram
Behavior:
- Analyze codebase structure
- Identify component and module relationships
- Select appropriate diagram type
- Generate diagram in Mermaid syntax
- Output in document-ready format
Purpose: Run advanced iteration loop to generate outputs repeatedly according to specifications
Usage:
/aiwf_infinite
# Infinite iteration mode
/aiwf_infinite 5
# 5 iteration mode
Behavior:
- Define iteration generation rules
- Set initial conditions
- Execute specified number of iterations
- Validate results each iteration
- Integrate final outputs
Purpose: Execute all Task Master subtasks at once to automate progress
Usage:
/aiwf_tm-run-all-subtask
Behavior:
- Identify active subtasks
- Determine dependency order
- Judge parallel execution feasibility
- Execute subtasks sequentially
- Update overall progress
Purpose: Ultra thinking session for deep analysis of broad problems
Usage:
/aiwf_ultrathink_general "Complex business logic design"
Purpose: Ultra thinking session for deep analysis of code-based problems at basic level
Usage:
/aiwf_ultrathink_code_basic "Performance optimization approaches"
Purpose: Ultra thinking session for deep analysis of complex code and architecture problems at advanced level
Usage:
/aiwf_ultrathink_code_advanced "Microservices architecture design"
Purpose: Update and synchronize project documentation
Usage:
/aiwf_update_docs
Behavior:
- Scan project documentation structure
- Identify outdated or missing documentation
- Update documentation to reflect current project state
- Synchronize documentation across different formats
- Validate documentation consistency and completeness
Purpose: Quickly load and prime project context
Usage:
/aiwf_prime_context
Behavior:
- Scan project file list
- Identify key documents
- Summarize current state
- Load context information
- Set task-ready state
Purpose: Switch to a specific AI persona for focused development tasks
Usage:
/project:aiwf:ai_persona:switch architect
# Switch to architect persona
/project:aiwf:ai_persona:switch debugger
# Switch to debugger persona
Available Personas:
architect- System design and architecturedebugger- Bug detection and troubleshootingreviewer- Code quality and standardsdocumenter- Documentation and guidesoptimizer- Performance optimizationdeveloper- General development (default)
Purpose: Shortcut to switch to architect persona
Usage:
/project:aiwf:ai_persona:architect
When to Use: When designing system architecture, planning modules, creating technical designs
Purpose: Shortcut to switch to debugger persona
Usage:
/project:aiwf:ai_persona:debugger
When to Use: When fixing bugs, tracing errors, investigating issues
Purpose: Shortcut to switch to reviewer persona
Usage:
/project:aiwf:ai_persona:reviewer
When to Use: When reviewing code, checking security, ensuring standards
Purpose: Shortcut to switch to documenter persona
Usage:
/project:aiwf:ai_persona:documenter
When to Use: When writing documentation, creating guides, explaining features
Purpose: Shortcut to switch to optimizer persona
Usage:
/project:aiwf:ai_persona:optimizer
When to Use: When optimizing performance, reducing resource usage, improving efficiency
Purpose: Enable or disable automatic persona detection
Usage:
/project:aiwf:ai_persona:auto on
# Enable auto-detection
/project:aiwf:ai_persona:auto off
# Disable auto-detection
Behavior: When enabled, Claude automatically switches personas based on task context
Purpose: Display current persona and session metrics
Usage:
/project:aiwf:ai_persona:status
Output: Shows current persona, behaviors, session duration, interactions, and token usage
Purpose: List all available AI personas
Usage:
/project:aiwf:ai_persona:list
Output: Shows all personas with descriptions and focus areas
Purpose: Detect optimal persona for a specific task
Usage:
/project:aiwf:ai_persona:detect "fix the authentication bug"
# Detects debugger persona
/project:aiwf:ai_persona:detect "design the API structure"
# Detects architect persona
Purpose: Generate performance report for persona usage
Usage:
/project:aiwf:ai_persona:report
# Generate report for all time
/project:aiwf:ai_persona:report week
# Generate report for past week
Output: Performance metrics, persona usage statistics, recommendations
Purpose: View detailed statistics for a specific persona
Usage:
/project:aiwf:ai_persona:stats debugger
# View debugger persona stats
/project:aiwf:ai_persona:stats
# View current persona stats
Purpose: Reset persona system to default (developer)
Usage:
/project:aiwf:ai_persona:reset
# Start of day
/aiwf_prime
# Enable AI persona auto-detection
/project:aiwf:ai_persona:auto on
# Work on tasks
/aiwf_do_task
/aiwf_test
/aiwf_commit
# End of day
/aiwf_project_review
/project:aiwf:ai_persona:report# Sprint planning
/aiwf_create_sprint_tasks S02
# Sprint execution
/aiwf_do_task T001_S02_first_task
/aiwf_do_task T002_S02_second_task
/aiwf_commit --review
# Sprint review
/aiwf_project_review# Bug fix workflow
/aiwf_create_general_task
# Description: "Fix memory leak in /src/foo.bar"
/aiwf_do_task T003
/aiwf_test
/aiwf_commit T003- Use YOLO for routine work: Useful for simple feature implementation
- Always run prime first: Ensures commands have proper context
- Review before major commits: Catch issues early
- Create bugs as general tasks: Keep them trackable
- Use task-specific commits: Better traceability
- Enable AI persona auto-detection: Let Claude automatically switch to the right mode
- Use architect persona for planning: Better system design decisions
- Switch to debugger for bug fixing: More systematic error analysis
- Use optimizer persona sparingly: Focus on actual bottlenecks
- Check persona reports weekly: Understand your development patterns
AIWF commands include the following safety features:
- Won't delete important files
- Requests confirmation before schema changes
- Validates changes against specifications
- Maintains code quality standards
- Creates incremental commits
If you need help with commands:
- Run commands without arguments to see usage info
- Check this guide
- Look at task examples in
.aiwf/ - Review command sources in
.claude/commands/
π Important: This document is automatically updated when new features are added or existing commands are modified. Always refer to the latest version for accurate command information.
Language Versions: Both English and Korean versions of this guide are maintained and updated simultaneously to ensure consistency across language installations.
Last Updated: 2025-07-09 - AI Persona System Integration and Documentation