mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
refactor(workflow): remove redundant sections, focus on core responsibilities
Streamline workflow command documentation by removing sections that don't belong to core command responsibilities. ## Changes ### init.md (-46 lines) - Remove Integration with Existing Commands section - Remove Performance Considerations section - Remove Related Commands section - Focus: Project initialization and analysis only ### session/complete.md (-30 lines) - Remove Quick Commands reference section - Remove Archive Query Commands section - Focus: Session archival and feature registry updates only ### session/start.md (-34 lines) - Remove Simple Bash Commands reference section - Keep: Session ID Format (specification/standard) - Focus: Session creation and discovery only ### status.md (-165 lines) - Remove Simple Bash Commands section - Remove Simple Output Format examples - Remove Project Mode Quick Commands section - Focus: Status display logic only ### context-gather.md (-29 lines) - Remove Usage Examples section - Remove Success Criteria section - Remove Error Handling table - Keep: Notes (core design principles) - Focus: Context gathering orchestration only ## Benefits - Reduced documentation redundancy (~304 lines removed) - Clearer command responsibilities and boundaries - Easier maintenance and updates - Commands focus on their specific roles in workflow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -114,19 +114,6 @@ Complete workflow session archival. Session already moved to archive location.
|
||||
- Remove active marker
|
||||
- Return success/error result
|
||||
|
||||
## Quick Commands
|
||||
|
||||
```bash
|
||||
# Phase 1: Find and move
|
||||
bash(find .workflow/ -name ".active-*" -type f | head -1)
|
||||
bash(basename .workflow/.active-WFS-session-name | sed 's/^\.active-//')
|
||||
bash(mkdir -p .workflow/.archives/)
|
||||
bash(mv .workflow/WFS-session-name .workflow/.archives/WFS-session-name)
|
||||
|
||||
# Phase 2: Agent completes archival
|
||||
Task(subagent_type="universal-executor", description="Complete session archival", prompt=`...`)
|
||||
```
|
||||
|
||||
### Phase 3: Update Project Feature Registry
|
||||
|
||||
**Purpose**: Record completed session as a project feature in `.workflow/project.json`.
|
||||
@@ -278,22 +265,3 @@ function getLatestCommitHash() {
|
||||
- If extraction fails: Use minimal defaults
|
||||
|
||||
**Phase 3 Total Commands**: 2 bash reads + JSON manipulation
|
||||
|
||||
## Archive Query Commands
|
||||
|
||||
After archival, you can query the manifest:
|
||||
|
||||
```bash
|
||||
# List all archived sessions
|
||||
jq '.archives[].session_id' .workflow/.archives/manifest.json
|
||||
|
||||
# Find sessions by keyword
|
||||
jq '.archives[] | select(.description | test("auth"; "i"))' .workflow/.archives/manifest.json
|
||||
|
||||
# Get specific session details
|
||||
jq '.archives[] | select(.session_id == "WFS-user-auth")' .workflow/.archives/manifest.json
|
||||
|
||||
# List all watch patterns across sessions
|
||||
jq '.archives[].lessons.watch_patterns[]' .workflow/.archives/manifest.json
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user