# Changelog All notable changes to Claude Code Workflow (CCW) will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [5.2.1] - 2025-11-03 ### ๐Ÿ”„ Changed **`/memory:load-skill-memory` Command Redesign**: - ๐Ÿ”„ **Manual Activation** - Changed from automatic SKILL discovery to manual activation tool - User explicitly specifies SKILL name: `/memory:load-skill-memory "intent"` - Removed complex 3-tier matching algorithm (path/keyword/action scoring) - Complements automatic SKILL triggering system (use when auto-activation doesn't occur) - ๐Ÿ”„ **Intent-Driven Documentation Loading** - Intelligently loads docs based on task description - Quick Understanding: "ไบ†่งฃ" โ†’ README.md (~2K) - Module Analysis: "ๅˆ†ๆžXXXๆจกๅ—" โ†’ Module README+API (~5K) - Architecture Review: "ๆžถๆž„" โ†’ README+ARCHITECTURE (~10K) - Implementation: "ไฟฎๆ”น", "ๅขžๅผบ" โ†’ Module+EXAMPLES (~15K) - Comprehensive: "ๅฎŒๆ•ด", "ๆทฑๅ…ฅ" โ†’ All docs (~40K) - ๐Ÿ”„ **Memory-Based Validation** - Removed bash validation, uses conversation memory to check SKILL existence - ๐Ÿ”„ **Simplified Structure** - Reduced from 355 lines to 132 lines (-62.8%) - Single representative example instead of 4 examples - Generic use case (OAuth authentication) instead of domain-specific examples - Removed verbose error handling, integration notes, and confirmation outputs **Context Search Strategy Enhancement**: - โœจ **SKILL Packages First Priority** - Added to Core Search Tools with highest priority - Fastest way to understand projects - use BEFORE Gemini analysis - Intelligent activation via Skill() tool with automatic discovery - Emphasized in Tool Selection Matrix and Quick Command Reference **Parameter Naming Consistency**: - ๐Ÿ”„ **`--update` Flag** - Renamed `--regenerate` to `--update` in `/memory:skill-memory` - Consistent naming convention across documentation commands - Updated all references and examples ### ๐ŸŽฏ Benefits **Improved SKILL Workflow**: - โšก **Clearer Purpose** - Distinction between automatic (normal) and manual (override) SKILL activation - โšก **Token Optimization** - Loads only relevant documentation scope based on intent - โšก **Better Discoverability** - SKILL packages now prominently featured as first-priority search tool - โšก **Simpler Execution** - Removed unnecessary validation steps, relies on memory ## [5.2.0] - 2025-11-03 ### ๐ŸŽ‰ New Command: `/memory:skill-memory` - SKILL Package Generator This release introduces a powerful new command that automatically generates progressive-loading SKILL packages from project documentation with intelligent orchestration and path mirroring. #### โœ… Added **New `/memory:skill-memory` Command**: - โœจ **4-Phase Orchestrator** - Automated workflow from documentation to SKILL package - Phase 1: Parse arguments and prepare environment - Phase 2: Call `/memory:docs` to plan documentation - Phase 3: Call `/workflow:execute` to generate documentation - Phase 4: Generate SKILL.md index with progressive loading - โœจ **Auto-Continue Mechanism** - All phases run autonomously via TodoList tracking - โœจ **Path Mirroring** - SKILL knowledge structure mirrors source code hierarchy - โœจ **Progressive Loading** - 4-level token-budgeted documentation access - Level 0: Quick Start (~2K tokens) - README only - Level 1: Core Modules (~8K tokens) - Module READMEs - Level 2: Complete (~25K tokens) - All modules + Architecture - Level 3: Deep Dive (~40K tokens) - Everything + Examples - โœจ **Intelligent Description Generation** - Auto-extracts capabilities and triggers from documentation - โœจ **Regeneration Support** - `--regenerate` flag to force fresh documentation - โœจ **Multi-Tool Support** - Supports gemini, qwen, and codex for documentation generation **Command Parameters**: ```bash /memory:skill-memory [path] [--tool ] [--regenerate] [--mode ] [--cli-execute] ``` **Path Mirroring Strategy**: ``` Source: my_app/src/modules/auth/ โ†“ Docs: .workflow/docs/my_app/src/modules/auth/API.md โ†“ SKILL: .claude/skills/my_app/knowledge/src/modules/auth/API.md ``` **4-Phase Workflow**: 1. **Prepare**: Parse arguments, check existing docs, handle --regenerate 2. **Plan**: Call `/memory:docs` to create documentation tasks 3. **Execute**: Call `/workflow:execute` to generate documentation files 4. **Index**: Generate SKILL.md with progressive loading structure **SKILL Package Output**: - `.claude/skills/{project_name}/SKILL.md` - Index with progressive loading levels - `.claude/skills/{project_name}/knowledge/` - Mirrored documentation structure - Automatic capability detection and trigger phrase generation #### ๐Ÿ“ Changed **Enhanced `/memory:docs` Command**: - ๐Ÿ”„ **Smart Task Grouping** - โ‰ค7 documents per task (up from 5) - ๐Ÿ”„ **Context Sharing** - Prefer grouping 2 top-level directories for shared Gemini analysis - ๐Ÿ”„ **Batch Processing** - Reduced task count through intelligent grouping - ๐Ÿ”„ **Dual Execution Modes** - Agent Mode (default) and CLI Mode (--cli-execute) - ๐Ÿ”„ **Pre-computed Analysis** - Phase 2 unified analysis eliminates redundant CLI calls - ๐Ÿ”„ **Conflict Resolution** - Automatic splitting when exceeding document limit **Documentation Workflow Improvements**: - ๐Ÿ”„ **CLI Execute Support** - Direct documentation generation via CLI tools (gemini/qwen/codex) - ๐Ÿ”„ **workflow-session.json** - Unified session metadata storage - ๐Ÿ”„ **Improved Structure Quality** - Enhanced documentation generation guidelines #### ๐ŸŽฏ Benefits **SKILL Package Features**: - ๐Ÿ“ฆ **Progressive Loading** - Load only what you need (2K โ†’ 40K tokens) - ๐Ÿ“ฆ **Path Mirroring** - Easy navigation matching source structure - ๐Ÿ“ฆ **Auto-Discovery** - Intelligent capability and trigger detection - ๐Ÿ“ฆ **Regeneration** - Force fresh docs with single flag - ๐Ÿ“ฆ **Zero Manual Steps** - Fully automated 4-phase workflow **Performance Optimization**: - โšก **Parallel Processing** - Multiple directory groups execute concurrently - โšก **Context Sharing** - Single Gemini call per task group (2 directories) - โšก **Efficient Analysis** - One-time analysis in Phase 2, reused by all tasks - โšก **Predictable Sizing** - โ‰ค7 docs per task ensures reliable completion - โšก **Failure Isolation** - Task-level failures don't block entire workflow **Workflow Integration**: - ๐Ÿ”— Seamless integration with existing `/memory:docs` command - ๐Ÿ”— Compatible with `/workflow:execute` system - ๐Ÿ”— Auto-continue mechanism eliminates manual steps - ๐Ÿ”— TodoList progress tracking throughout workflow #### ๐Ÿ“ฆ New/Modified Files **New**: - `.claude/commands/memory/skill-memory.md` - Complete command specification (822 lines) **Modified**: - `.claude/commands/memory/docs.md` - Enhanced with batch processing and smart grouping - `.claude/agents/doc-generator.md` - Mode-aware execution support #### ๐Ÿ”— Usage Examples **Basic Usage**: ```bash # Generate SKILL package for current project /memory:skill-memory # Specify target directory /memory:skill-memory /path/to/project # Force regeneration with Qwen /memory:skill-memory --tool qwen --regenerate # Partial mode (modules only) /memory:skill-memory --mode partial # CLI execution mode /memory:skill-memory --cli-execute ``` **Output**: ``` โœ… SKILL Package Generation Complete Project: my_project Documentation: .workflow/docs/my_project/ (15 files) SKILL Index: .claude/skills/my_project/SKILL.md Generated: - 4 documentation tasks completed - SKILL.md with progressive loading (4 levels) - Module index with 8 modules Usage: - Load Level 0: Quick project overview (~2K tokens) - Load Level 1: Core modules (~8K tokens) - Load Level 2: Complete docs (~25K tokens) - Load Level 3: Everything (~40K tokens) ``` --- ## [5.1.0] - 2025-10-27 ### ๐Ÿ”„ Agent Architecture Consolidation This release consolidates the agent architecture and enhances workflow commands for better reliability and clarity. #### โœ… Added **Agent System**: - โœ… **Universal Executor Agent** - New consolidated agent replacing general-purpose agent - โœ… **Enhanced agent specialization** - Better separation of concerns across agent types **Workflow Improvements**: - โœ… **Advanced context filtering** - Context-gather command now supports more sophisticated validation - โœ… **Session state management** - Enhanced session completion with better cleanup logic #### ๐Ÿ“ Changed **Agent Architecture**: - ๐Ÿ”„ **Removed general-purpose agent** - Consolidated into universal-executor for clarity - ๐Ÿ”„ **Improved agent naming** - More descriptive agent names matching their specific roles **Command Enhancements**: - ๐Ÿ”„ **`/workflow:session:complete`** - Better state management and cleanup procedures - ๐Ÿ”„ **`/workflow:tools:context-gather`** - Enhanced filtering and validation capabilities #### ๐Ÿ—‚๏ธ Maintenance **Code Organization**: - ๐Ÿ“ฆ **Archived legacy templates** - Moved outdated prompt templates to archive folder - ๐Ÿ“ฆ **Documentation cleanup** - Improved consistency across workflow documentation #### ๐Ÿ“ฆ Updated Files - `.claude/agents/universal-executor.md` - New consolidated agent definition - `.claude/commands/workflow/session/complete.md` - Enhanced session management - `.claude/commands/workflow/tools/context-gather.md` - Improved context filtering - `.claude/workflows/cli-templates/prompts/archive/` - Legacy template archive --- ## [5.0.0] - 2025-10-24 ### ๐ŸŽ‰ Less is More - Simplified Architecture Release This major release embraces the "less is more" philosophy, removing external dependencies, streamlining workflows, and focusing on core functionality with standard, proven tools. #### ๐Ÿš€ Breaking Changes **Removed Features**: - โŒ **`/workflow:concept-clarify`** - Concept enhancement feature removed for simplification - โŒ **MCP code-index dependency** - Replaced with standard `ripgrep` and `find` tools - โŒ **`synthesis-specification.md` workflow** - Replaced with direct role analysis approach **Command Changes**: - โš ๏ธ Memory commands renamed for consistency: - `/update-memory-full` โ†’ `/memory:update-full` - `/update-memory-related` โ†’ `/memory:update-related` #### โœ… Added **Standard Tool Integration**: - โœ… **ripgrep (rg)** - Fast content search replacing MCP code-index - โœ… **find** - Native filesystem discovery for better cross-platform compatibility - โœ… **Multi-tier fallback** - Graceful degradation when advanced tools unavailable **Enhanced TDD Workflow**: - โœ… **Conflict resolution mechanism** - Better handling of test-implementation conflicts - โœ… **Improved task generation** - Enhanced phase coordination and quality gates - โœ… **Updated workflow phases** - Clearer separation of concerns **Role-Based Planning**: - โœ… **Direct role analysis** - Simplified brainstorming focused on role documents - โœ… **Removed synthesis layer** - Less abstraction, clearer intent - โœ… **Better documentation flow** - From role analysis directly to action planning #### ๐Ÿ“ Changed **Documentation Updates**: - โœ… **All docs updated to v5.0.0** - Consistent versioning across all files - โœ… **Removed MCP badge** - No longer advertising experimental MCP features - โœ… **Clarified test workflows** - Better explanation of generate โ†’ execute pattern - โœ… **Fixed command references** - Corrected all memory command names - โœ… **Updated UI design notes** - Clarified MCP Chrome DevTools retention for UI workflows **File Discovery**: - โœ… **`/memory:load`** - Now uses ripgrep/find instead of MCP code-index - โœ… **Faster search** - Native tools provide better performance - โœ… **Better reliability** - No external service dependencies **UI Design Workflows**: - โ„น๏ธ **MCP Chrome DevTools retained** - Specialized tool for browser automation - โ„น๏ธ **Multi-tier fallback** - MCP โ†’ Playwright โ†’ Chrome โ†’ Manual - โ„น๏ธ **Purpose-built integration** - UI workflows require browser control #### ๐Ÿ› Fixed **Documentation Inconsistencies**: - ๐Ÿ”ง Removed references to deprecated `/workflow:concept-clarify` command - ๐Ÿ”ง Fixed incorrect memory command names in getting started guides - ๐Ÿ”ง Clarified test workflow execution patterns - ๐Ÿ”ง Updated MCP dependency references throughout specs - ๐Ÿ”ง Corrected UI design tool descriptions #### ๐Ÿ“ฆ Updated Files - `README.md` / `README_CN.md` - v5.0 version badge and core improvements - `COMMAND_REFERENCE.md` - Updated command descriptions, removed deprecated commands - `COMMAND_SPEC.md` - v5.0 technical specifications, clarified implementations - `GETTING_STARTED.md` / `GETTING_STARTED_CN.md` - v5.0 features, fixed command names - `INSTALL_CN.md` - v5.0 simplified installation notes #### ๐Ÿ” Technical Details **Performance Improvements**: - Faster file discovery using native ripgrep - Reduced external dependencies improves installation reliability - Better cross-platform compatibility with standard Unix tools **Architectural Benefits**: - Simpler dependency tree - Easier troubleshooting with standard tools - More predictable behavior without external services **Migration Notes**: - Update memory command usage (see command changes above) - Remove any usage of `/workflow:concept-clarify` - No changes needed for core workflow commands (`/workflow:plan`, `/workflow:execute`) ---