mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
- Updated command invocation for SKILL memory generator to use session ID instead of incremental mode. - Enhanced documentation on the processing of archived sessions and intelligent aggregation by the agent. - Added templates for generating conflict patterns, lessons learned, SKILL index, and sessions timeline. - Established clear update strategies for incremental and full modes across all new templates. - Improved structure and formatting rules for better clarity and usability in generated documents.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
Template for generating sessions-timeline.md
|
|
|
|
## Purpose
|
|
Create or update chronological timeline of workflow sessions with functional domain grouping.
|
|
|
|
## File Location
|
|
`.claude/skills/workflow-progress/sessions-timeline.md`
|
|
|
|
## Update Strategy
|
|
- **Incremental mode**: Append new session to timeline, keep existing content
|
|
- **Full mode**: Regenerate entire timeline from all sessions
|
|
|
|
## Structure
|
|
|
|
```markdown
|
|
# Workflow Sessions Timeline
|
|
|
|
## Recent Sessions (Last 5)
|
|
|
|
### {session_id} ({archived_date})
|
|
**Description**: {description}
|
|
**Tags**: {tag1}, {tag2}, {tag3}
|
|
**Metrics**: {task_count} tasks, {success_rate}% success, {duration_hours} hours
|
|
**Context Package**: [{session_id}/context-package.json](../../../.workflow/.archives/{session_id}/.process/context-package.json)
|
|
|
|
**Key Outcomes**:
|
|
- ✅ {success_item_1}
|
|
- ✅ {success_item_2}
|
|
- ⚠️ Watch: {watch_pattern}
|
|
|
|
---
|
|
|
|
## By Functional Domain
|
|
|
|
### {Domain_Name} ({count} sessions)
|
|
- {session_id_1} ({date}) - {one_line_description}
|
|
- {session_id_2} ({date}) - {one_line_description}
|
|
|
|
### {Domain_Name_2} ({count} sessions)
|
|
...
|
|
```
|
|
|
|
## Data Sources
|
|
- Session metadata: `.workflow/.archives/{session_id}/workflow-session.json`
|
|
- Manifest entry: `.workflow/.archives/manifest.json`
|
|
- Lessons: `manifest.json` -> `archives[].lessons`
|
|
|
|
## Formatting Rules
|
|
- Sort recent sessions by archived_at (newest first)
|
|
- Group by functional domain using tags
|
|
- Use relative paths for context package links
|
|
- Use ✅ for successes, ⚠️ for watch patterns
|
|
- Keep descriptions concise (one line)
|