catlog22
ccb4490ed4
refactor(cli-tools): remove redundant model parameters for improved command clarity
2025-11-16 21:11:16 +08:00
catlog22
4a5c8490b1
refactor(cli-explore-agent): update color scheme from blue to yellow for improved visibility
2025-11-15 18:17:08 +08:00
catlog22
a8e8412477
feat(agents): add cli-explore-agent and enhance workflow documentation
...
Add new cli-explore-agent for code structure analysis and dependency mapping:
- Dual-source strategy (Bash + Gemini CLI) for comprehensive code exploration
- Three analysis modes: quick-scan, deep-scan, dependency-map
- Language-agnostic support (TypeScript, Python, Go, Java, Rust)
Enhance lite-plan workflow documentation:
- Clarify agent call prompts with structured return formats
- Add expected return structures for cli-explore-agent and cli-planning-agent
- Simplify AskUserQuestion usage with clearer examples
- Document data flow between workflow phases
Add code-map-memory command:
- Generate Mermaid code flow diagrams from feature keywords
- Create SKILL packages for code understanding
- Auto-continue workflow with phase skipping
Improve UI design system:
- Add theme colors guide to ui-design-agent
- Enhance code import workflow documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-12 21:13:42 +08:00
catlog22
9ccf348827
refactor(ui-design): enhance agent operation documentation and optimize layout structure
2025-11-12 10:23:25 +08:00
catlog22
fdcdf73d60
Implement feature X to enhance user experience and fix bug Y in module Z
2025-11-12 09:50:36 +08:00
catlog22
8f8467e016
Implement feature X to enhance user experience and fix bug Y in module Z
2025-11-12 09:40:48 +08:00
catlog22
d602ca052b
refactor(ui-design): enhance usage recommendations and extraction processes in design workflows
2025-11-11 21:52:47 +08:00
catlog22
8786b8c34d
refactor(ui-design): enhance conflict detection methods and improve semantic search for primary color definitions
2025-11-11 21:38:44 +08:00
catlog22
e209799756
refactor(ui-design): enhance conflict detection and validation processes in import-from-code workflow
2025-11-11 21:36:18 +08:00
catlog22
7184a3be66
Implement feature X to enhance user experience and fix bug Y in module Z
2025-11-11 20:31:28 +08:00
catlog22
30071f48e8
refactor(ui-design): streamline output files for animation, layout, and style extraction commands by removing unnecessary guide files
2025-11-11 20:23:46 +08:00
catlog22
19351cd938
refactor(ui-design): enhance design token and layout template handling in reference page generation
2025-11-11 20:12:15 +08:00
catlog22
a795538182
refactor(test-workflow): implement multi-layered testing strategy with quality gates
...
Introduce comprehensive test quality assurance framework to prevent "hollow tests"
from masking real issues. Optimize JSON data structures following minimal-but-sufficient principle.
Major Changes:
- Multi-layered test strategy (L0: Static, L1: Unit, L2: Integration, L3: E2E)
- New quality gate task (IMPL-001.5-review) validates tests before fix cycle
- Layer-aware failure diagnosis with test_type field support
- JSON simplification: removed redundant failure_context (~44% size reduction)
File Changes:
- new: cli-planning-agent.md - CLI analysis executor with layer-specific guidance
- mod: test-fix-gen.md - multi-layered test planning and quality gate generation
- mod: test-fix-agent.md - layer-aware test execution and failure classification
- mod: test-cycle-execute.md - 95% pass rate threshold with criticality assessment
Technical Details:
- test_type field tracks test layer (static/unit/integration/e2e)
- IMPL-fix-N.json simplified: removed 350 lines of redundant data
- Single source of truth: iteration-N-analysis.md contains full context
- Quality config: ~/.claude/workflows/test-quality-config.json (not in repo)
Benefits:
- Prevents symptom-level fixes through layer-specific diagnosis
- Ensures test quality with static analysis and coverage validation
- Reduces JSON file size by 44% while maintaining information completeness
- Enforces comprehensive test coverage (happy path + negative + edge cases)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-10 15:34:17 +08:00
catlog22
fb65e8f90f
docs(ui-design-agent): add remote assets reference guidelines
...
Add comprehensive remote assets reference section:
- Image CDN services (Unsplash, Picsum, Placeholder.com)
- Icon libraries (Lucide, Font Awesome, Material Icons)
- Usage patterns with HTML examples
- Best practices for external resource loading
Guidelines include:
- HTTPS URLs mandatory
- Width/height attributes for layout stability
- Lazy loading for below-fold images
- Accessibility requirements (alt attributes)
- Prohibit local file paths and base64 embedding
Position: Between Typography System and Visual Effects System
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-09 15:05:47 +08:00
catlog22
7269f20f57
refactor: reorganize ui-design-agent with 3 task patterns covering 6 task types
...
Restructure agent documentation to avoid confusion and clarify responsibilities.
All 6 task types now organized into 3 clear patterns with shared standards.
## New Structure
**Task Patterns** (replaces Core Capabilities):
- Pattern 1: Option Generation (2 tasks)
* DESIGN_DIRECTION_GENERATION_TASK
* LAYOUT_CONCEPT_GENERATION_TASK
- Pattern 2: System Generation (3 tasks)
* DESIGN_SYSTEM_GENERATION_TASK
* LAYOUT_TEMPLATE_GENERATION_TASK
* ANIMATION_TOKEN_GENERATION_TASK
- Pattern 3: Assembly (1 task)
* LAYOUT_STYLE_ASSEMBLY
Each pattern documents:
- Purpose and autonomy level
- Task types covered
- Common process flow
- Task-specific inputs/outputs
- Key principles
## Benefits
1. **Complete Coverage**: All 6 task types explicitly documented
2. **Clear Organization**: Tasks grouped by similar characteristics
3. **Reduced Duplication**: Shared design standards and execution principles
4. **Pattern Recognition**: Agent knows which rules apply per task type
5. **Maintainability**: Single agent easier to maintain than multiple agents
## Updated Sections
- **Task Patterns**: New section replacing fragmented Core Capabilities
- **Execution Flow**: Generic pattern-based flow (was task-specific)
- **Core Execution Principles**: Simplified with pattern-specific autonomy levels
- **Key Reminders**: Updated to reference patterns, removed external invocation terms
## Verification
✅ Pattern 1 covers: DESIGN_DIRECTION_GENERATION, LAYOUT_CONCEPT_GENERATION
✅ Pattern 2 covers: DESIGN_SYSTEM_GENERATION, LAYOUT_TEMPLATE_GENERATION, ANIMATION_TOKEN_GENERATION
✅ Pattern 3 covers: LAYOUT_STYLE_ASSEMBLY
All commands (style-extract, layout-extract, animation-extract, generate) now properly supported.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 21:20:23 +08:00
catlog22
3199b91255
refactor: remove external invocation references from ui-design-agent
...
Agent should focus on task execution, not who invokes it. Remove all
references to orchestrator commands and external callers.
Changes:
1. **Agent description** (line 19):
- Before: "invoked by orchestrator commands (e.g., generate.md)"
- After: Focus on autonomous execution
2. **Core Capabilities** (line 25):
- Removed: "Invoked by: generate.md Phase 2"
- Agent doesn't need to know its caller
3. **Execution Process** (line 250):
- Before: "When invoked by orchestrator command"
- After: "Standard execution flow for design generation tasks"
4. **Task prompt terminology** (line 259):
- Changed: "orchestrator prompt" → "task prompt"
5. **Invocation Model → Task Responsibilities** (lines 295-305):
- Before: "You are invoked by orchestrator commands..."
- After: Focus on task responsibilities and expected output
6. **Execution Principles** (lines 310, 315):
- Changed: "orchestrator command" → "task prompt"
- Changed: "Each invocation" → "Each task"
7. **Performance Optimization → Generation Approach** (lines 342-348):
- Removed: Two-layer architecture with orchestrator responsibility
- Added: Single-pass assembly focus (matches current implementation)
8. **Scope & Boundaries** (line 359):
- Simplified "NOT Your Responsibilities" to "Out of Scope"
- Removed: workflow orchestration, task scheduling references
- Focus on what agent does, not external workflow
9. **Path Handling** (lines 423-426):
- Changed: "Orchestrator provides" → "Task prompts provide"
- Changed: "Agent uses" → "Use" (more direct)
Result: Agent documentation now focuses on task execution without
references to external callers or orchestration.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 21:12:06 +08:00
catlog22
e20604bb21
refactor: align ui-design-agent.md with current generate.md implementation
...
Remove obsolete content and update documentation to match actual workflow:
1. **Remove consolidate.md references**:
- Updated agent invocation description (line 19)
- Replaced "Invocation Model" section (lines 296-308)
- consolidate.md doesn't exist in current workflow
2. **Replace obsolete Core Capabilities section** (lines 21-101):
- Removed outdated task definitions:
* Design Token Synthesis (referenced consolidate.md)
* Layout Strategy Generation (referenced consolidate.md)
* Obsolete UI Prototype Generation with CSS placeholders
* Consistency Validation (no longer used)
- Added correct "Layout & Style Assembly" documentation matching generate.md:
* Task type: [LAYOUT_STYLE_ASSEMBLY]
* Direct CSS reference: <link href="{target}-style-{style_id}-layout-{layout_id}.css">
* Self-contained CSS architecture (no placeholders)
* Assembly process matching generate.md lines 130-174
3. **Remove CSS placeholder instructions**:
- Removed {{STRUCTURAL_CSS}} and {{TOKEN_CSS}} placeholder pattern
- These placeholders are NOT used in current implementation
- Current system uses direct CSS file references with resolved var() values
Key improvements:
- Accurate documentation of current [LAYOUT_STYLE_ASSEMBLY] task
- Correct CSS reference pattern matching generate.md:134
- Removed all references to non-existent consolidate.md
- Self-contained CSS architecture properly documented
Verified consistency with generate.md implementation (lines 130-174).
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 21:07:21 +08:00
catlog22
915eb396e7
feat: enhance quantification requirements across workflow tools
...
Enhanced task generation with mandatory quantification standards to eliminate ambiguity:
- Add Quantification Requirements section to all task generation commands
- Enforce explicit counts and enumerations in requirements, acceptance criteria, and modification points
- Standardize formats: "Implement N items: [list]" vs vague "implement features"
- Include verification commands for measurable acceptance criteria
- Simplify documentation by removing verbose examples while preserving all key information
Changes:
- task-generate.md: Add quantification section, streamline Task JSON schema, remove CLI examples
- task-generate-agent.md: Add quantification rules, improve template selection clarity
- task-generate-tdd.md: Add TDD-specific quantification formats for Red-Green-Refactor phases
- action-planning-agent.md: Add quantification requirements with validation checklist and updated examples
Impact:
- Reduces task documentation from ~900 lines to ~600 lines (33% reduction)
- All requirements now require explicit counts: "5 files", "15 test cases", ">=85% coverage"
- Acceptance criteria must include verification commands
- Modification points must specify exact targets with line numbers
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 15:02:07 +08:00
catlog22
5aa9931dd7
feat: optimize documentation generation process with batch processing and unified analysis
2025-11-03 15:59:30 +08:00
catlog22
e53a1bf397
feat: add CLI execution mode support to documentation commands and update argument hints
2025-11-03 15:47:18 +08:00
catlog22
b18647353b
feat: enhance documentation generation process with improved structure and quality guidelines
2025-11-03 15:17:37 +08:00
catlog22
6326fbf2fb
refactor: consolidate agent architecture and archive legacy templates
...
- Remove general-purpose agent in favor of universal-executor
- Enhance workflow session completion with better state management
- Improve context-gather with advanced filtering and validation
- Archive legacy prompt templates for reference
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-27 15:00:00 +08:00
catlog22
367040037a
refactor: migrate prompt templates to standardized structure and enhance CLI command documentation
...
Template Migration:
- Move templates from .claude/prompt-templates/ to .claude/workflows/cli-templates/prompts/
- Rename and reorganize: bug-fix.md → development/bug-diagnosis.txt
- Rename and reorganize: code-analysis.md → analysis/code-execution-tracing.txt
- Rename and reorganize: plan.md → planning/architecture-planning.txt
CLI Command Enhancements:
- Add clear tool selection hierarchy (gemini primary, qwen fallback, codex alternative)
- Enhance analyze.md, chat.md with tool descriptions and agent context
- Enhance mode/code-analysis.md, mode/bug-diagnosis.md, mode/plan.md with Task() wrapper
- Add all necessary codex parameters (--skip-git-repo-check -s danger-full-access)
- Simplify descriptions while preserving core functionality
Agent Updates:
- Streamline cli-execution-agent.md (600→250 lines, -60%)
- Add complete templates reference for standalone usage
- Remove dependency on intelligent-tools-strategy.md
Reference Updates:
- Update test-task-generate.md template path references
- Delete duplicate bug-index.md
- All template paths now use ~/.claude/workflows/cli-templates/prompts/ format
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-27 10:26:35 +08:00
catlog22
2b52eae3f8
refactor: enhance test-context-gather and test-context-search-agent for improved context collection and coverage analysis
2025-10-25 19:13:37 +08:00
catlog22
18d369e871
refactor: update context-gather command to utilize context-search-agent for project context collection
2025-10-25 15:26:30 +08:00
catlog22
c363b5dd0e
refactor: remove redundant references to workflow architecture in documentation
2025-10-25 14:48:55 +08:00
catlog22
692a68da6f
Refactor workflow tools and user interaction methods
...
- Updated synthesis tool to enhance user interaction with multi-select options and improved question presentation in Chinese.
- Revised conflict resolution tool to allow batch processing of conflicts, increasing the limit from 4 to 10 per round and changing user interaction from AskUserQuestion to text output.
- Added context_package_path to task generation tools for better context management.
- Improved task generation schema to include context_package_path for enhanced context delivery.
- Updated CLI templates to reflect changes in task JSON schema, ensuring context_package_path is included.
2025-10-25 14:43:55 +08:00
catlog22
89f22ec3cf
refactor: update file naming conventions and restrictions for analysis outputs in multiple agents
2025-10-25 13:15:14 +08:00
catlog22
71138a95e1
refactor: add Windows path format guidelines to multiple agent documents
2025-10-24 22:46:49 +08:00
catlog22
7701bbd28c
refactor(agents): remove code-index MCP dependencies
...
Remove references to mcp__code-index MCP tool and simplify context discovery to use native search tools (ripgrep, find) with MCP Exa for external research.
Changes:
- action-planning-agent.md: Remove code-index from capabilities and examples
- cli-execution-agent.md: Remove MCP code-index discovery section, update to use ripgrep/find only
- code-developer.md: Minor documentation updates
- task-json-agent-mode.txt: Remove code-index references
- task-json-cli-mode.txt: Remove code-index references
- workflow-architecture.md: Update MCP integration documentation
Rationale:
- Simplify dependency stack
- Native tools (rg, find) provide sufficient file discovery capabilities
- MCP Exa remains for external research (best practices, documentation)
- Reduces maintenance overhead and improves reliability
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-24 17:35:07 +08:00
catlog22
ee7ffdae67
docs: enhance workflow documentation with role analysis and conflict resolution details
2025-10-24 11:56:50 +08:00
catlog22
57fa379e45
Refactor workflow to replace synthesis-specification.md with role analysis documents
...
- Updated references in various workflow commands to utilize role analysis documents instead of synthesis-specification.md.
- Modified CLI templates and command references to reflect the new architecture and document structure.
- Introduced conflict-resolution command to analyze and resolve conflicts between implementation plans and existing codebase.
- Deprecated synthesis role template and provided migration guidance for transitioning to the new role analysis approach.
2025-10-24 11:08:15 +08:00
catlog22
047d809e23
docs: rename general-purpose agent to universal-executor and update documentation
...
Major updates in this release:
1. Agent Renaming (13 files, 21 references):
- Renamed general-purpose → universal-executor to avoid naming conflicts
- Updated all references in commands and workflows
- Maintained backward compatibility in documentation
2. README Updates (4 files):
- Removed /workflow:session:start step (auto-created by /workflow:plan)
- Simplified workflow from 4 steps to 3 steps
- Updated version to v4.6.2
- Added CLI tool usage guidelines
3. GETTING_STARTED Enhancements (2 files):
- Added Design Philosophy section explaining multi-model CLI integration
- Added comprehensive CLI tool usage guide with common workflows
- Reorganized quick start to emphasize automatic session creation
- Added examples for bug fixes and feature development
Files modified:
- Agent config: .claude/agents/general-purpose.md
- Commands: 7 files in .claude/commands/
- Workflows: 5 files in .claude/workflows/
- Documentation: README.md, README_CN.md, GETTING_STARTED.md, GETTING_STARTED_CN.md
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-23 21:18:36 +08:00
catlog22
a73a51355e
docs: 更新文档,增加大文件自动拆分功能,优化分析文件生成流程
2025-10-23 09:57:44 +08:00
catlog22
d3f8d012a1
docs: 更新文档,增强CLI工具使用说明,明确命令行参数和上下文组装指南
2025-10-22 22:17:00 +08:00
catlog22
b6c1880abf
feat: 更新文档更新脚本,添加策略参数以支持单层和多层更新
2025-10-22 10:35:30 +08:00
catlog22
7783ee0ac5
refactor: 更新 update_module_claude.sh 脚本,调整参数顺序并添加模型选择说明
2025-10-21 21:02:17 +08:00
catlog22
83664cb777
feat: migrate to Gemini CLI v0.11.0-nightly with native prompt support
...
## Major Changes
### Gemini CLI Integration (google-gemini/gemini-cli#11228 )
- Migrate from wrapper scripts to native Gemini CLI v0.11.0-nightly
- Remove `-p` flag requirement for prompt strings
- Deprecate `gemini-wrapper` and `qwen-wrapper` scripts
- Update all commands and workflows to use direct CLI syntax
### Command Syntax Updates
- **Before**: `gemini -p "CONTEXT: @**/* prompt"`
- **After**: `gemini "CONTEXT: @**/* prompt"`
- Apply to all 70+ command files and workflow templates
- Maintain backward compatibility for Qwen fallback
### File Pattern Migration
- Replace `@{CLAUDE.md}` with `@CLAUDE.md`
- Replace `@{**/*}` with `@**/*`
- Update all file references to use direct @ notation
- Remove legacy brace syntax across all documentation
### Documentation Improvements
- Reorganize `intelligent-tools-strategy.md` structure
- Add Quick Start section with decision matrix
- Enhance `--include-directories` best practices
- Add comprehensive command templates and examples
- Improve navigation with clearer section hierarchy
### Files Modified (75+ files)
- Commands: All CLI commands updated (cli/, workflow/, task/, memory/)
- Workflows: Core strategy files and templates
- Agents: CLI execution agent and doc generator
- Templates: Planning roles and tech stack guides
## Breaking Changes
- Gemini CLI v0.11.0-nightly or later required
- Old wrapper scripts no longer supported
- Legacy `@{pattern}` syntax deprecated
## Migration Guide
Users should:
1. Update Gemini CLI to v0.11.0-nightly or later
2. Remove `-p` flag from existing commands
3. Update file patterns from `@{pattern}` to `@pattern`
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-21 14:46:16 +08:00
catlog22
d2c66135fb
refactor: update CLI commands and tool agent configurations
...
- Enhanced CLI command documentation for analyze, chat, and execute
- Updated mode-specific commands (bug-index, code-analysis, plan)
- Added cli-execution-agent for autonomous CLI task handling
- Refined agent configurations for Codex, Gemini, and Qwen
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-16 13:47:26 +08:00
catlog22
58153ecb83
Refactor implementation approach structure across task generation files
...
- Updated implementation_approach in task-generate-tdd.md to use an array format with detailed steps for minimal code implementation and iterative testing.
- Enhanced task-generate.md to support CLI execution mode with Codex, including examples for task execution and session management.
- Modified test-task-generate.md to incorporate CLI execution mode, allowing Codex to autonomously generate tests and execute iterative test-fix cycles.
- Revised task-core.md and workflow-architecture.md to adopt a step-based implementation approach, improving clarity and dependency management in task execution.
- Improved documentation in workflow-architecture.md to clarify flow control structure and variable referencing.
2025-10-12 14:09:47 +08:00
catlog22
36728b6e59
refactor(ui-design-agent): remove script execution details and clarify agent responsibilities
...
- Remove detailed shell script integration documentation (convert_tokens_to_css.sh, ui-instantiate-prototypes.sh)
- Scripts are orchestrator's responsibility, not agent's
- Simplify Performance Optimization section to focus on architecture concept
- Clarify Layer 1 (agent's creative work) vs Layer 2 (orchestrator's file operations)
- Keep agent documentation focused on design generation, MCP research, and file writing
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-10 11:26:51 +08:00
catlog22
9c1131e384
refactor(ui-design-agent): enhance MCP integration and add detailed shell script documentation
...
- Remove Code Index MCP integration (focus on design trends only)
- Replace mcp__exa__get_code_context_exa with mcp__exa__web_search_exa for design trend research
- Add detailed shell script integration documentation:
- convert_tokens_to_css.sh: Token JSON to CSS conversion with usage patterns and error handling
- ui-instantiate-prototypes.sh: Template instantiation with auto-detection and mode options
- Update MCP use cases to focus on design trends, color/typography, and accessibility patterns
- Clarify that agent uses web search for current design trends, not code implementation
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-10 11:24:40 +08:00
catlog22
a2a608f3ca
refactor(ui-design): enhance imitate-auto workflow with key features and interactive confirmation
2025-10-10 11:12:34 +08:00
catlog22
83155ab662
refactor(ui-design-agent): optimize structure and remove version info
...
**Changes**:
- Merged duplicate Reference section into Design Standards
- Simplified Core Capabilities quality standards
- Consolidated Tool Operations sections
- Removed Version & Changelog section (40 lines)
- Reduced from 693 to 578 lines (16.6% reduction)
**Key improvements**:
- Eliminated content duplication (Token System, Quality Standards)
- Improved document flow and readability
- All technical details and requirements preserved
- Version history now maintained in CHANGELOG.md only
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-10 10:31:47 +08:00
catlog22
af7ff3a86a
refactor(ui-design): enhance execution clarity and file writing process in consolidate command
2025-10-10 10:22:32 +08:00
catlog22
4cf66b41a4
refactor(ui-design): update workflow commands and agent configuration
...
**Agent Changes:**
- Update ui-design-agent.md with refined task definitions
- Improve agent prompt structure and guidelines
**Workflow Command Updates:**
- Simplify explore-auto.md workflow orchestration (-589 lines)
- Streamline imitate-auto.md for faster execution (-378 lines)
- Optimize update.md command flow and documentation (-136 lines)
**Architecture Updates:**
- Update workflow-architecture.md with current patterns
- Refine command parameter documentation
**Cleanup:**
- Remove outdated release-notes-v3.5.0.md
**Summary:**
- Net reduction: 729 lines removed
- Improved clarity and maintainability
- Better alignment with agent-driven execution model
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-10 09:46:27 +08:00
catlog22
f0bed9e072
Refactor UI design workflow scripts and documentation
...
- Removed the generation of a unified consolidation report in the consolidate.md file, streamlining the output structure.
- Updated the extract.md file to prioritize the --base-path argument for session management and improved error handling for style variant detection.
- Enhanced generate.md to enforce critical requirements for layout templates, ensuring independence from other targets.
- Added a comprehensive analysis report for the ui-instantiate-prototypes.sh script, detailing issues with style variant mismatches and proposing solutions for validation and prevention.
2025-10-09 22:10:22 +08:00
catlog22
02448ccd21
refactor: unify UI design workflow target parameters for pages and components
...
Consolidate separate page/component modes into a unified target system to
reduce code duplication and simplify the workflow parameter model.
Changes:
- Merge --pages and --components into unified --targets parameter
- Add --target-type (auto|page|component) with intelligent detection
- Remove Phase 0d from explore-auto.md (131 lines of duplicate logic)
- Implement detect_target_type() helper for automatic classification
- Update generate.md to support adaptive wrapper generation
- Full HTML structure for pages
- Minimal wrapper for isolated components
- Update imitate-auto.md and update.md for parameter consistency
- Enhance ui-design-agent.md with adaptive design capabilities
- Maintain full backward compatibility with legacy syntax
Benefits:
- Code reduction: -35% in target inference logic (255 → 165 lines)
- Maintenance: Single unified logic path vs dual implementations
- Extensibility: Foundation for future mixed-mode support
- UX: Simpler parameter model with automatic type detection
Technical Details:
- explore-auto.md: 605 lines changed (unified Phase 0c)
- generate.md: 353 lines changed (targets + adaptive wrapper)
- Net change: +685 insertions, -504 deletions across 5 files
All existing workflows remain compatible via legacy parameter support.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-09 20:33:09 +08:00
catlog22
1d573979c7
feat: refactor UI design workflow for agent-driven execution and default separate mode
...
## Core Changes
### 1. Fix Token Application Issues (v4.2.1-fix)
- Add convert_tokens_to_css.sh script for design-tokens.json → tokens.css conversion
- Auto-generate Google Fonts @import for web fonts
- Auto-generate global font application rules (body, headings)
- Add Phase 1.8 to generate.md: Token Variable Name Extraction
- Update generate.md Phase 2a: Inject exact variable names into agent prompt
- Fix CSS variable naming mismatches (20+ variables)
### 2. Refactor consolidate.md - Default to Separate Mode
- Remove --keep-separate parameter (now default behavior)
- Remove Unified Mode (Phase 4A) entirely
- Use ui-design-agent for multi-file generation (Phase 4)
- Generate N independent design systems by default
- Update documentation and completion messages
- Add Task(*) to allowed-tools
### 3. Update explore-auto.md Integration
- Remove --keep-separate from Phase 2 consolidate command
- Update comments to reflect default separate mode behavior
### 4. Refactor ui-design-agent.md (v2.0 → v3.0)
- Remove slash command execution logic
- Focus on consolidate.md and generate.md task execution
- Remove workflow orchestration content
- Add MCP integration strategies (Exa + Code Index)
- Integrate v4.2.1-fix changes
## Impact
- All workflows now default to separate design systems (matrix-ready)
- Agent handles multi-file generation efficiently
- Token application issues resolved
- Simplified user experience (fewer parameters)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-09 19:42:50 +08:00
catlog22
51bd51ea60
refactor: optimize docs workflow with lightweight planning strategy
...
**Core Changes**:
- Shift from heavy analysis in planning to targeted analysis in execution
- Reduce main process context by collecting only metadata (paths, structure)
- Simplify pre_analysis steps to be more declarative
**docs.md optimizations**:
- Phase 2: Lightweight metadata collection (get_modules_by_depth.sh + Code Index MCP)
- Planning phase now collects only paths and structure, not file content
- IMPL-001: Simplified to 2 pre_analysis steps (structure + tech stack from config files only)
- IMPL-002: Removed system_context loading, single focused analysis step
- IMPL-N (API): Replace rg with mcp__code-index__search_code_advanced for better structure
**doc-generator.md optimizations**:
- Add "Scope-Limited Analysis" philosophy
- Add "Optimized Execution Model" section
- Emphasize analysis is always limited to focus_paths to prevent context explosion
**Benefits**:
- Main process context stays minimal (no risk of overflow)
- Each task has controlled, scoped context
- Better separation: planning = metadata, execution = deep analysis
- More maintainable pre_analysis steps (less nested commands)
- Better use of MCP tools for structured data
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-06 12:19:18 +08:00