mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
- Introduced `/workflow:test-gen` command to automate test workflow generation based on completed implementation tasks, including detailed lifecycle phases, task decomposition, and agent assignment. - Implemented `/workflow:concept-eval` command for pre-planning evaluation of concepts, assessing feasibility, risks, and optimization recommendations using strategic and technical analysis tools. - Added `/workflow:docs` command for generating hierarchical architecture and API documentation, with structured task creation and session management. - Developed `/workflow:status` command to provide on-demand views of workflow state, supporting multiple formats and validation checks for task integrity and relationships.
2.3 KiB
2.3 KiB
name, description, usage, argument-hint, examples
| name | description | usage | argument-hint | examples | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| start | Discover existing sessions or start a new workflow session with intelligent session management | /workflow:session:start [task_description] |
|
|
Start Workflow Session (/workflow:session:start)
Overview
Manages workflow sessions - discovers existing active sessions or creates new ones.
Usage
/workflow:session:start # Discover/select existing sessions
/workflow:session:start "task description" # Create new session
Implementation Flow
Step 1: Check for Active Sessions
ls .workflow/.active-* 2>/dev/null
Step 2: List Existing Sessions
ls -1 .workflow/WFS-* 2>/dev/null | head -5
Step 3: Create New Session (if needed)
mkdir -p .workflow
echo "auth-system" | sed 's/[^a-zA-Z0-9]/-/g' | tr '[:upper:]' '[:lower:]'
Step 4: Create Session Directory Structure
mkdir -p .workflow/WFS-auth-system/.process
mkdir -p .workflow/WFS-auth-system/.task
mkdir -p .workflow/WFS-auth-system/.summaries
Step 5: Create Session Metadata
echo '{"session_id":"WFS-auth-system","project":"authentication system","status":"planning"}' > .workflow/WFS-auth-system/workflow-session.json
Step 6: Mark Session as Active
touch .workflow/.active-WFS-auth-system
Step 7: Clean Old Active Markers (if creating new)
rm .workflow/.active-WFS-* 2>/dev/null
Simple Bash Commands
Basic Operations
- Check sessions:
ls .workflow/.active-* - List sessions:
ls .workflow/WFS-* - Create directory:
mkdir -p .workflow/WFS-session-name/.process - Create file:
echo 'content' > .workflow/session/file.json - Mark active:
touch .workflow/.active-WFS-session-name - Clean markers:
rm .workflow/.active-*
No Complex Logic
- No variables or functions
- No conditional statements
- No loops or pipes
- Direct bash commands only
Related Commands
/workflow:plan- Uses this for session management/workflow:execute- Uses this for session discovery/workflow:session:status- Shows session information