mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
**Summary:** Updated all 62 command files in `.claude/commands` directory to improve parameter documentation clarity by replacing `examples` field with descriptive `argument-hint` field. **Changes:** - Added/improved `argument-hint` for all commands based on usage patterns - Removed `examples` field and all example items from YAML headers - Maintained all other YAML fields (name, description, usage, allowed-tools) - Deleted obsolete commands: workflow/issue/*, workflow/session/pause.md, workflow/session/switch.md - Cleaned up temporary analysis files **Rationale:** The `argument-hint` field provides clearer, more concise parameter documentation than example lists, improving command discoverability and usability in the Claude Code interface. **Files Modified:** 62 command files **Lines Changed:** -1570 insertions, +192 deletions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.8 KiB
1.8 KiB
name, description
| name | description |
|---|---|
| resume | Resume the most recently paused workflow session |
Resume Workflow Session (/workflow:session:resume)
Overview
Resume the most recently paused workflow session, restoring all context and state.
Usage
/workflow:session:resume # Resume most recent paused session
Implementation Flow
Step 1: Find Paused Sessions
ls .workflow/WFS-* 2>/dev/null
Step 2: Check Session Status
jq -r '.status' .workflow/WFS-session/workflow-session.json
Step 3: Find Most Recent Paused
ls -t .workflow/WFS-*/workflow-session.json | head -1
Step 4: Update Session Status
jq '.status = "active"' .workflow/WFS-session/workflow-session.json > temp.json
mv temp.json .workflow/WFS-session/workflow-session.json
Step 5: Add Resume Timestamp
jq '.resumed_at = "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"' .workflow/WFS-session/workflow-session.json > temp.json
mv temp.json .workflow/WFS-session/workflow-session.json
Step 6: Create Active Marker
touch .workflow/.active-WFS-session-name
Simple Bash Commands
Basic Operations
- List sessions:
ls .workflow/WFS-* - Check status:
jq -r '.status' session.json - Find recent:
ls -t .workflow/*/workflow-session.json | head -1 - Update status:
jq '.status = "active"' session.json > temp.json - Add timestamp:
jq '.resumed_at = "'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"' - Create marker:
touch .workflow/.active-session
Resume Result
Session WFS-user-auth resumed
- Status: active
- Paused at: 2025-09-15T14:30:00Z
- Resumed at: 2025-09-15T15:45:00Z
- Ready for: /workflow:execute
Related Commands
/workflow:session:pause- Pause current session/workflow:execute- Continue workflow execution/workflow:session:list- Show all sessions