Add documentation for new CLI commands: docs-related-cli and lite-fix

- Implemented the `docs-related-cli` command for context-aware documentation generation and update for changed modules using CLI execution with tool fallback.
- Introduced the `lite-fix` command for lightweight bug diagnosis and fix workflow, featuring intelligent severity assessment and optional hotfix mode for production incidents.
This commit is contained in:
catlog22
2025-11-23 22:18:39 +08:00
parent 4bb4bdc124
commit 7453987cfe
76 changed files with 3848 additions and 2013 deletions

View File

@@ -372,7 +372,6 @@ RULES: $(cat ~/.claude/workflows/cli-templates/prompts/analysis/02-analyze-code-
- Use `cd` to navigate to primary focus directory
- Use `--include-directories` for additional context
- ⚠️ CONTEXT must explicitly list external files AND command must include `--include-directories`
- Benefits: Minimizes irrelevant file interference, more precise file references
- Pattern matching rule: `@../dir/**/*` in CONTEXT → `--include-directories ../dir` in command (MANDATORY)
### CONTEXT Field Configuration

View File

@@ -37,11 +37,6 @@ This document defines the complete workflow system architecture using a **JSON-o
└── WFS-old-feature/ # Archived session (completed)
```
**Directory-Based Benefits**:
- **Simple Discovery**: Session location determines state (active/ = active sessions, archives/ = completed)
- **No Marker Files**: Location is the state
- **Clean Structure**: Clear separation between active and completed sessions
- **Easy Migration**: Move between active/ and archives/ to change state
### Session Operations