refactor(session): migrate remaining bash commands to ccw session

Replace legacy bash operations in session commands with ccw session
commands for consistency and better maintainability.

Changes:
- session/list.md: Replace ls/wc with ccw session list
- session/complete.md: Replace bash marker/manifest ops with ccw session
- skills/command-guide reference docs: Mirror all changes

Commands replaced:
- `ls .workflow/active/WFS-*` → `ccw session list --location active`
- `test -f .archiving` → `ccw session read --type process --filename .archiving`
- `touch .archiving` → `ccw session write --type process --filename .archiving`
- `cat manifest.json` → `ccw session read manifest --type manifest`

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-11 15:08:55 +08:00
parent 0a4c205105
commit c256fd9379
4 changed files with 35 additions and 31 deletions

View File

@@ -77,11 +77,12 @@ Total: 3 sessions (1 active, 1 paused, 1 completed)
### Quick Commands
```bash
# Count all sessions
ls .workflow/active/WFS-* | wc -l
# Count active sessions using ccw
ccw session list --location active --no-metadata
# Returns session count in result.total
# Show recent sessions
ls -t .workflow/active/WFS-*/workflow-session.json | head -3
ccw session list --location active
```
## session_manager Tool Alternative