Files
Claude-Code-Workflow/.claude/commands/qwen/mode/plan.md
catlog22 817f51c09f feat: Add Qwen CLI integration and update task commands
- Add Qwen CLI wrapper and commands for analyze and execute
- Update task create and execute documentation
- Enhance CLI tool integration capabilities

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 19:07:38 +08:00

1.8 KiB

name, description, usage, argument-hint, examples, allowed-tools, model
name description usage argument-hint examples allowed-tools model
plan Project planning and architecture analysis using qwen CLI with specialized template /qwen:mode:plan "planning topic" planning topic or architectural challenge to analyze
/qwen:mode:plan "design user dashboard feature architecture"
/qwen:mode:plan "plan microservices migration strategy"
/qwen:mode:plan "implement real-time notification system"
Bash(qwen:*) sonnet

Planning Analysis Command (/qwen:mode:plan)

Overview

This command uses qwen CLI for comprehensive project planning and architecture analysis. It leverages qwen CLI's powerful codebase analysis capabilities combined with expert planning templates to provide strategic insights and implementation roadmaps.

Key Features

  • qwen CLI Integration: Utilizes qwen CLI's deep codebase analysis for informed planning decisions

--cd Parameter Rule: When --cd parameter is provided, always execute cd [path] && qwen --all-files -p "prompt" to ensure analysis occurs in the specified directory context.

Usage

Basic Usage

/qwen:mode:plan "design authentication system"

Directory-Specific Analysis

/qwen:mode:plan "design authentication system" --cd "src/auth"

Command Execution

Smart Directory Detection: Auto-detects relevant directories based on topic keywords

Executes:

# Project-wide analysis
qwen --all-files -p "$(cat ~/.claude/prompt-templates/plan.md)
Planning Topic: [user_description]"

# Directory-specific analysis  
cd [directory] && qwen --all-files -p "$(cat ~/.claude/prompt-templates/plan.md)
Planning Topic: [user_description]"

Session Output

saves to: .workflow/WFS-[topic]/.chat/plan-[timestamp].md

Includes:

  • Planning topic
  • Template used
  • Analysis results
  • Implementation roadmap
  • Key decisions