mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
更新 generate.md 和 layout-extract.md 文档:添加对参考图像的自动检测和使用说明
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: analyze
|
name: analyze
|
||||||
description: Quick codebase analysis using CLI tools (codex/gemini/qwen)
|
description: Quick codebase analysis using CLI tools (codex/gemini/qwen)
|
||||||
usage: /cli:analyze [--tool <codex|gemini|qwen>] [--enhance] <analysis-target>
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] analysis target"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] analysis target"
|
||||||
allowed-tools: SlashCommand(*), Bash(*), TodoWrite(*), Read(*), Glob(*)
|
allowed-tools: SlashCommand(*), Bash(*), TodoWrite(*), Read(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: chat
|
name: chat
|
||||||
description: Simple CLI interaction command for direct codebase analysis
|
description: Simple CLI interaction command for direct codebase analysis
|
||||||
usage: /cli:chat [--tool <codex|gemini|qwen>] [--enhance] "inquiry"
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] inquiry"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] inquiry"
|
||||||
allowed-tools: SlashCommand(*), Bash(*)
|
allowed-tools: SlashCommand(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: cli-init
|
name: cli-init
|
||||||
description: Initialize CLI tool configurations (Gemini and Qwen) based on workspace analysis
|
description: Initialize CLI tool configurations (Gemini and Qwen) based on workspace analysis
|
||||||
usage: /cli:cli-init [--tool <gemini|qwen|all>] [--output=<path>] [--preview]
|
|
||||||
argument-hint: "[--tool gemini|qwen|all] [--output path] [--preview]"
|
argument-hint: "[--tool gemini|qwen|all] [--output path] [--preview]"
|
||||||
allowed-tools: Bash(*), Read(*), Write(*), Glob(*)
|
allowed-tools: Bash(*), Read(*), Write(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: codex-execute
|
name: codex-execute
|
||||||
description: Automated task decomposition and execution with Codex using resume mechanism
|
description: Automated task decomposition and execution with Codex using resume mechanism
|
||||||
usage: /cli:codex-execute [--verify-git] <task-description|task-id>
|
|
||||||
argument-hint: "[--verify-git] task description or task-id"
|
argument-hint: "[--verify-git] task description or task-id"
|
||||||
allowed-tools: SlashCommand(*), Bash(*), TodoWrite(*), Read(*), Glob(*)
|
allowed-tools: SlashCommand(*), Bash(*), TodoWrite(*), Read(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: execute
|
name: execute
|
||||||
description: Auto-execution of implementation tasks with YOLO permissions and intelligent context inference
|
description: Auto-execution of implementation tasks with YOLO permissions and intelligent context inference
|
||||||
usage: /cli:execute [--tool <codex|gemini|qwen>] [--enhance] <description|task-id>
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] description or task-id"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] description or task-id"
|
||||||
allowed-tools: SlashCommand(*), Bash(*)
|
allowed-tools: SlashCommand(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: bug-index
|
name: bug-index
|
||||||
description: Bug analysis and fix suggestions using CLI tools
|
description: Bug analysis and fix suggestions using CLI tools
|
||||||
usage: /cli:mode:bug-index [--tool <codex|gemini|qwen>] [--enhance] [--cd "path"] "bug description"
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] bug description"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] bug description"
|
||||||
allowed-tools: SlashCommand(*), Bash(*)
|
allowed-tools: SlashCommand(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: code-analysis
|
name: code-analysis
|
||||||
description: Deep code analysis and debugging using CLI tools with specialized template
|
description: Deep code analysis and debugging using CLI tools with specialized template
|
||||||
usage: /cli:mode:code-analysis [--tool <codex|gemini|qwen>] [--enhance] [--cd "path"] "analysis target"
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] analysis target"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] analysis target"
|
||||||
allowed-tools: SlashCommand(*), Bash(*)
|
allowed-tools: SlashCommand(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: plan
|
name: plan
|
||||||
description: Project planning and architecture analysis using CLI tools
|
description: Project planning and architecture analysis using CLI tools
|
||||||
usage: /cli:mode:plan [--tool <codex|gemini|qwen>] [--enhance] [--cd "path"] "topic"
|
|
||||||
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] topic"
|
argument-hint: "[--tool codex|gemini|qwen] [--enhance] [--cd path] topic"
|
||||||
allowed-tools: SlashCommand(*), Bash(*)
|
allowed-tools: SlashCommand(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: enhance-prompt
|
name: enhance-prompt
|
||||||
description: Context-aware prompt enhancement using session memory and codebase analysis
|
description: Context-aware prompt enhancement using session memory and codebase analysis
|
||||||
usage: /enhance-prompt <user_input>
|
|
||||||
argument-hint: "user input to enhance"
|
argument-hint: "user input to enhance"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: breakdown
|
name: breakdown
|
||||||
description: Intelligent task decomposition with context-aware subtask generation
|
description: Intelligent task decomposition with context-aware subtask generation
|
||||||
usage: /task:breakdown <task-id>
|
|
||||||
argument-hint: "task-id"
|
argument-hint: "task-id"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: create
|
name: create
|
||||||
description: Create implementation tasks with automatic context awareness
|
description: Create implementation tasks with automatic context awareness
|
||||||
usage: /task:create "title"
|
|
||||||
argument-hint: "\"task title\""
|
argument-hint: "\"task title\""
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: execute
|
name: execute
|
||||||
description: Execute tasks with appropriate agents and context-aware orchestration
|
description: Execute tasks with appropriate agents and context-aware orchestration
|
||||||
usage: /task:execute <task-id>
|
|
||||||
argument-hint: "task-id"
|
argument-hint: "task-id"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: replan
|
name: replan
|
||||||
description: Replan individual tasks with detailed user input and change tracking
|
description: Replan individual tasks with detailed user input and change tracking
|
||||||
usage: /task:replan <task-id> [input]
|
|
||||||
argument-hint: "task-id [\"text\"|file.md]"
|
argument-hint: "task-id [\"text\"|file.md]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: update-memory-full
|
name: update-memory-full
|
||||||
description: Complete project-wide CLAUDE.md documentation update
|
description: Complete project-wide CLAUDE.md documentation update
|
||||||
usage: /update-memory-full [--tool <gemini|qwen|codex>]
|
|
||||||
argument-hint: "[--tool gemini|qwen|codex]"
|
argument-hint: "[--tool gemini|qwen|codex]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: update-memory-related
|
name: update-memory-related
|
||||||
description: Context-aware CLAUDE.md documentation updates based on recent changes
|
description: Context-aware CLAUDE.md documentation updates based on recent changes
|
||||||
usage: /update-memory-related [--tool <gemini|qwen|codex>]
|
|
||||||
argument-hint: "[--tool gemini|qwen|codex]"
|
argument-hint: "[--tool gemini|qwen|codex]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: version
|
name: version
|
||||||
description: Display version information and check for updates
|
description: Display version information and check for updates
|
||||||
usage: /version
|
|
||||||
allowed-tools: Bash(*)
|
allowed-tools: Bash(*)
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: action-plan-verify
|
name: action-plan-verify
|
||||||
description: Perform non-destructive cross-artifact consistency and quality analysis of IMPL_PLAN.md and task.json before execution
|
description: Perform non-destructive cross-artifact consistency and quality analysis of IMPL_PLAN.md and task.json before execution
|
||||||
usage: /workflow:action-plan-verify [--session <session-id>]
|
|
||||||
argument-hint: "[optional: --session session-id]"
|
argument-hint: "[optional: --session session-id]"
|
||||||
allowed-tools: Read(*), TodoWrite(*), Glob(*), Bash(*)
|
allowed-tools: Read(*), TodoWrite(*), Glob(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: artifacts
|
name: artifacts
|
||||||
description: Generate role-specific topic-framework.md dynamically based on selected roles
|
description: Generate role-specific topic-framework.md dynamically based on selected roles
|
||||||
usage: /workflow:brainstorm:artifacts "<topic>" [--roles "role1,role2,role3"]
|
|
||||||
argument-hint: "topic or challenge description for framework generation"
|
argument-hint: "topic or challenge description for framework generation"
|
||||||
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*)
|
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: auto-parallel
|
name: auto-parallel
|
||||||
description: Parallel brainstorming automation with dynamic role selection and concurrent execution
|
description: Parallel brainstorming automation with dynamic role selection and concurrent execution
|
||||||
usage: /workflow:brainstorm:auto-parallel "<topic>"
|
|
||||||
argument-hint: "topic or challenge description"
|
argument-hint: "topic or challenge description"
|
||||||
allowed-tools: SlashCommand(*), Task(*), TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*)
|
allowed-tools: SlashCommand(*), Task(*), TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: auto-squeeze
|
name: auto-squeeze
|
||||||
description: Orchestrate 3-phase brainstorming workflow by executing commands sequentially
|
description: Orchestrate 3-phase brainstorming workflow by executing commands sequentially
|
||||||
usage: /workflow:brainstorm:auto-squeeze "<topic>"
|
|
||||||
argument-hint: "topic or challenge description for coordinated brainstorming"
|
argument-hint: "topic or challenge description for coordinated brainstorming"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*), Glob(*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: data-architect
|
name: data-architect
|
||||||
description: Generate or update data-architect/analysis.md addressing topic-framework discussion points
|
description: Generate or update data-architect/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:data-architect [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: product-manager
|
name: product-manager
|
||||||
description: Generate or update product-manager/analysis.md addressing topic-framework discussion points
|
description: Generate or update product-manager/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:product-manager [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: product-owner
|
name: product-owner
|
||||||
description: Generate or update product-owner/analysis.md addressing topic-framework discussion points
|
description: Generate or update product-owner/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:product-owner [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: scrum-master
|
name: scrum-master
|
||||||
description: Generate or update scrum-master/analysis.md addressing topic-framework discussion points
|
description: Generate or update scrum-master/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:scrum-master [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: subject-matter-expert
|
name: subject-matter-expert
|
||||||
description: Generate or update subject-matter-expert/analysis.md addressing topic-framework discussion points
|
description: Generate or update subject-matter-expert/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:subject-matter-expert [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: synthesis
|
name: synthesis
|
||||||
description: Generate synthesis-specification.md from topic-framework and role analyses with @ references
|
description: Generate synthesis-specification.md from topic-framework and role analyses with @ references
|
||||||
usage: /workflow:brainstorm:synthesis
|
|
||||||
argument-hint: "no arguments required - synthesizes existing framework and role analyses"
|
argument-hint: "no arguments required - synthesizes existing framework and role analyses"
|
||||||
allowed-tools: Read(*), Write(*), TodoWrite(*), Glob(*)
|
allowed-tools: Read(*), Write(*), TodoWrite(*), Glob(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: system-architect
|
name: system-architect
|
||||||
description: Generate or update system-architect/analysis.md addressing topic-framework discussion points
|
description: Generate or update system-architect/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:system-architect [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: ui-designer
|
name: ui-designer
|
||||||
description: Generate or update ui-designer/analysis.md addressing topic-framework discussion points
|
description: Generate or update ui-designer/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:ui-designer [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: ux-expert
|
name: ux-expert
|
||||||
description: Generate or update ux-expert/analysis.md addressing topic-framework discussion points
|
description: Generate or update ux-expert/analysis.md addressing topic-framework discussion points
|
||||||
usage: /workflow:brainstorm:ux-expert [topic]
|
|
||||||
argument-hint: "optional topic - uses existing framework if available"
|
argument-hint: "optional topic - uses existing framework if available"
|
||||||
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: concept-clarify
|
name: concept-clarify
|
||||||
description: Identify underspecified areas in brainstorming artifacts through targeted clarification questions before action planning
|
description: Identify underspecified areas in brainstorming artifacts through targeted clarification questions before action planning
|
||||||
usage: /workflow:concept-clarify [--session <session-id>]
|
|
||||||
argument-hint: "[optional: --session session-id]"
|
argument-hint: "[optional: --session session-id]"
|
||||||
allowed-tools: Read(*), Write(*), Edit(*), TodoWrite(*), Glob(*), Bash(*)
|
allowed-tools: Read(*), Write(*), Edit(*), TodoWrite(*), Glob(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: execute
|
name: execute
|
||||||
description: Coordinate agents for existing workflow tasks with automatic discovery
|
description: Coordinate agents for existing workflow tasks with automatic discovery
|
||||||
usage: /workflow:execute [--resume-session="session-id"]
|
|
||||||
argument-hint: "[--resume-session=\"session-id\"]"
|
argument-hint: "[--resume-session=\"session-id\"]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: plan
|
name: plan
|
||||||
description: Orchestrate 4-phase planning workflow by executing commands and passing context between phases
|
description: Orchestrate 4-phase planning workflow by executing commands and passing context between phases
|
||||||
usage: /workflow:plan [--agent] <input>
|
|
||||||
argument-hint: "[--agent] \"text description\"|file.md"
|
argument-hint: "[--agent] \"text description\"|file.md"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: resume
|
name: resume
|
||||||
description: Intelligent workflow session resumption with automatic progress analysis
|
description: Intelligent workflow session resumption with automatic progress analysis
|
||||||
usage: /workflow:resume "<session-id>"
|
|
||||||
argument-hint: "session-id for workflow session to resume"
|
argument-hint: "session-id for workflow session to resume"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: review
|
name: review
|
||||||
description: Optional specialized review (security, architecture, docs) for completed implementation
|
description: Optional specialized review (security, architecture, docs) for completed implementation
|
||||||
usage: /workflow:review [--type=<type>] [session-id]
|
|
||||||
argument-hint: "[--type=security|architecture|action-items|quality] [optional: session-id]"
|
argument-hint: "[--type=security|architecture|action-items|quality] [optional: session-id]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: workflow:status
|
name: workflow:status
|
||||||
description: Generate on-demand views from JSON task data
|
description: Generate on-demand views from JSON task data
|
||||||
usage: /workflow:status [task-id]
|
|
||||||
argument-hint: "[optional: task-id]"
|
argument-hint: "[optional: task-id]"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: tdd-plan
|
name: tdd-plan
|
||||||
description: Orchestrate TDD workflow planning with Red-Green-Refactor task chains
|
description: Orchestrate TDD workflow planning with Red-Green-Refactor task chains
|
||||||
usage: /workflow:tdd-plan [--agent] <input>
|
|
||||||
argument-hint: "[--agent] \"feature description\"|file.md"
|
argument-hint: "[--agent] \"feature description\"|file.md"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: tdd-verify
|
name: tdd-verify
|
||||||
description: Verify TDD workflow compliance and generate quality report
|
description: Verify TDD workflow compliance and generate quality report
|
||||||
usage: /workflow:tdd-verify [session-id]
|
|
||||||
argument-hint: "[optional: WFS-session-id]"
|
argument-hint: "[optional: WFS-session-id]"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(gemini-wrapper:*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(gemini-wrapper:*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: test-gen
|
name: test-gen
|
||||||
description: Create independent test-fix workflow session by analyzing completed implementation
|
description: Create independent test-fix workflow session by analyzing completed implementation
|
||||||
usage: /workflow:test-gen [--use-codex] <source-session-id>
|
|
||||||
argument-hint: "[--use-codex] source-session-id"
|
argument-hint: "[--use-codex] source-session-id"
|
||||||
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: concept-enhanced
|
name: concept-enhanced
|
||||||
description: Enhanced intelligent analysis with parallel CLI execution and design blueprint generation
|
description: Enhanced intelligent analysis with parallel CLI execution and design blueprint generation
|
||||||
usage: /workflow:tools:concept-enhanced --session <session_id> --context <context_package_path>
|
|
||||||
argument-hint: "--session WFS-session-id --context path/to/context-package.json"
|
argument-hint: "--session WFS-session-id --context path/to/context-package.json"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:concept-enhanced --session WFS-auth --context .workflow/WFS-auth/.process/context-package.json
|
- /workflow:tools:concept-enhanced --session WFS-auth --context .workflow/WFS-auth/.process/context-package.json
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: gather
|
name: gather
|
||||||
description: Intelligently collect project context based on task description and package into standardized JSON
|
description: Intelligently collect project context based on task description and package into standardized JSON
|
||||||
usage: /workflow:tools:context-gather --session <session_id> "<task_description>"
|
|
||||||
argument-hint: "--session WFS-session-id \"task description\""
|
argument-hint: "--session WFS-session-id \"task description\""
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:context-gather --session WFS-user-auth "Implement user authentication system"
|
- /workflow:tools:context-gather --session WFS-user-auth "Implement user authentication system"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: docs
|
name: docs
|
||||||
description: Documentation planning and orchestration - creates structured documentation tasks for execution
|
description: Documentation planning and orchestration - creates structured documentation tasks for execution
|
||||||
usage: /workflow:docs <type> [options]
|
|
||||||
argument-hint: "architecture"|"api"|"all" [--tool <gemini|qwen|codex>] [--scope <path>]
|
argument-hint: "architecture"|"api"|"all" [--tool <gemini|qwen|codex>] [--scope <path>]
|
||||||
examples:
|
examples:
|
||||||
- /workflow:docs all # Complete documentation (gemini default)
|
- /workflow:docs all # Complete documentation (gemini default)
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: task-generate-agent
|
name: task-generate-agent
|
||||||
description: Autonomous task generation using action-planning-agent with discovery and output phases
|
description: Autonomous task generation using action-planning-agent with discovery and output phases
|
||||||
usage: /workflow:tools:task-generate-agent --session <session_id>
|
|
||||||
argument-hint: "--session WFS-session-id"
|
argument-hint: "--session WFS-session-id"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:task-generate-agent --session WFS-auth
|
- /workflow:tools:task-generate-agent --session WFS-auth
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: task-generate-tdd
|
name: task-generate-tdd
|
||||||
description: Generate TDD task chains with Red-Green-Refactor dependencies
|
description: Generate TDD task chains with Red-Green-Refactor dependencies
|
||||||
usage: /workflow:tools:task-generate-tdd --session <session_id> [--agent]
|
|
||||||
argument-hint: "--session WFS-session-id [--agent]"
|
argument-hint: "--session WFS-session-id [--agent]"
|
||||||
allowed-tools: Read(*), Write(*), Bash(gemini-wrapper:*), TodoWrite(*)
|
allowed-tools: Read(*), Write(*), Bash(gemini-wrapper:*), TodoWrite(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: task-generate
|
name: task-generate
|
||||||
description: Generate task JSON files and IMPL_PLAN.md from analysis results with artifacts integration
|
description: Generate task JSON files and IMPL_PLAN.md from analysis results with artifacts integration
|
||||||
usage: /workflow:tools:task-generate --session <session_id>
|
|
||||||
argument-hint: "--session WFS-session-id"
|
argument-hint: "--session WFS-session-id"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:task-generate --session WFS-auth
|
- /workflow:tools:task-generate --session WFS-auth
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: tdd-coverage-analysis
|
name: tdd-coverage-analysis
|
||||||
description: Analyze test coverage and TDD cycle execution
|
description: Analyze test coverage and TDD cycle execution
|
||||||
usage: /workflow:tools:tdd-coverage-analysis --session <session_id>
|
|
||||||
argument-hint: "--session WFS-session-id"
|
argument-hint: "--session WFS-session-id"
|
||||||
allowed-tools: Read(*), Write(*), Bash(*)
|
allowed-tools: Read(*), Write(*), Bash(*)
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: test-concept-enhanced
|
name: test-concept-enhanced
|
||||||
description: Analyze test requirements and generate test generation strategy using Gemini
|
description: Analyze test requirements and generate test generation strategy using Gemini
|
||||||
usage: /workflow:tools:test-concept-enhanced --session <test_session_id> --context <test_context_package_path>
|
|
||||||
argument-hint: "--session WFS-test-session-id --context path/to/test-context-package.json"
|
argument-hint: "--session WFS-test-session-id --context path/to/test-context-package.json"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:test-concept-enhanced --session WFS-test-auth --context .workflow/WFS-test-auth/.process/test-context-package.json
|
- /workflow:tools:test-concept-enhanced --session WFS-test-auth --context .workflow/WFS-test-auth/.process/test-context-package.json
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: test-context-gather
|
name: test-context-gather
|
||||||
description: Collect test coverage context and identify files requiring test generation
|
description: Collect test coverage context and identify files requiring test generation
|
||||||
usage: /workflow:tools:test-context-gather --session <test_session_id>
|
|
||||||
argument-hint: "--session WFS-test-session-id"
|
argument-hint: "--session WFS-test-session-id"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:test-context-gather --session WFS-test-auth
|
- /workflow:tools:test-context-gather --session WFS-test-auth
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: test-task-generate
|
name: test-task-generate
|
||||||
description: Generate test-fix task JSON with iterative test-fix-retest cycle specification
|
description: Generate test-fix task JSON with iterative test-fix-retest cycle specification
|
||||||
usage: /workflow:tools:test-task-generate [--use-codex] --session <test-session-id>
|
|
||||||
argument-hint: "[--use-codex] --session WFS-test-session-id"
|
argument-hint: "[--use-codex] --session WFS-test-session-id"
|
||||||
examples:
|
examples:
|
||||||
- /workflow:tools:test-task-generate --session WFS-test-auth
|
- /workflow:tools:test-task-generate --session WFS-test-auth
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: capture
|
name: capture
|
||||||
description: Batch screenshot capture for UI design workflows using MCP or local fallback
|
description: Batch screenshot capture for UI design workflows using MCP or local fallback
|
||||||
usage: /workflow:ui-design:capture --url-map "<map>" [--base-path <path>] [--session <id>]
|
|
||||||
argument-hint: --url-map "target:url,..." [--base-path path] [--session id]
|
argument-hint: --url-map "target:url,..." [--base-path path] [--session id]
|
||||||
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*), ListMcpResourcesTool(*), mcp__chrome-devtools__*, mcp__playwright__*
|
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*), ListMcpResourcesTool(*), mcp__chrome-devtools__*, mcp__playwright__*
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: explore-layers
|
name: explore-layers
|
||||||
description: Interactive deep UI capture with depth-controlled layer exploration
|
description: Interactive deep UI capture with depth-controlled layer exploration
|
||||||
usage: /workflow:ui-design:explore-layers --url <url> --depth <1-5> [--session <id>] [--base-path <path>]
|
|
||||||
argument-hint: --url <url> --depth <1-5> [--session id] [--base-path path]
|
argument-hint: --url <url> --depth <1-5> [--session id] [--base-path path]
|
||||||
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*), mcp__chrome-devtools__*
|
allowed-tools: TodoWrite(*), Read(*), Write(*), Bash(*), Glob(*), mcp__chrome-devtools__*
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -11,10 +11,11 @@ allowed-tools: TodoWrite(*), Read(*), Write(*), Task(ui-design-agent), Bash(*)
|
|||||||
Pure assembler that combines pre-extracted layout templates with design tokens to generate UI prototypes (`style × layout × targets`). No layout design logic - purely combines existing components.
|
Pure assembler that combines pre-extracted layout templates with design tokens to generate UI prototypes (`style × layout × targets`). No layout design logic - purely combines existing components.
|
||||||
|
|
||||||
**Strategy**: Pure Assembly
|
**Strategy**: Pure Assembly
|
||||||
- **Input**: `layout-templates.json` + `design-tokens.json`
|
- **Input**: `layout-templates.json` + `design-tokens.json` (+ reference images if available)
|
||||||
- **Process**: Combine structure (DOM) with style (tokens)
|
- **Process**: Combine structure (DOM) with style (tokens)
|
||||||
- **Output**: Complete HTML/CSS prototypes
|
- **Output**: Complete HTML/CSS prototypes
|
||||||
- **No Design Logic**: All layout and style decisions already made
|
- **No Design Logic**: All layout and style decisions already made
|
||||||
|
- **Automatic Image Reference**: If source images exist in layout templates, they're automatically used for visual context
|
||||||
|
|
||||||
**Prerequisite Commands**:
|
**Prerequisite Commands**:
|
||||||
- `/workflow:ui-design:style-extract` → Style tokens
|
- `/workflow:ui-design:style-extract` → Style tokens
|
||||||
@@ -30,6 +31,8 @@ bash(find .workflow -type d -name "design-*" | head -1) # Auto-detect
|
|||||||
|
|
||||||
# Get style count
|
# Get style count
|
||||||
bash(ls {base_path}/style-consolidation/style-* -d | wc -l)
|
bash(ls {base_path}/style-consolidation/style-* -d | wc -l)
|
||||||
|
|
||||||
|
# Image reference auto-detected from layout template source_image_path
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Load Layout Templates
|
### Step 2: Load Layout Templates
|
||||||
@@ -78,18 +81,29 @@ Task(ui-design-agent): `
|
|||||||
1. Layout Template:
|
1. Layout Template:
|
||||||
Read("{base_path}/layout-extraction/layout-templates.json")
|
Read("{base_path}/layout-extraction/layout-templates.json")
|
||||||
Find template where: target={target} AND variant_id="layout-{layout_id}"
|
Find template where: target={target} AND variant_id="layout-{layout_id}"
|
||||||
Extract: dom_structure, css_layout_rules, device_type
|
Extract: dom_structure, css_layout_rules, device_type, source_image_path
|
||||||
|
|
||||||
2. Design Tokens:
|
2. Design Tokens:
|
||||||
Read("{base_path}/style-consolidation/style-{style_id}/design-tokens.json")
|
Read("{base_path}/style-consolidation/style-{style_id}/design-tokens.json")
|
||||||
Extract: ALL token values (colors, typography, spacing, borders, shadows, breakpoints)
|
Extract: ALL token values (colors, typography, spacing, borders, shadows, breakpoints)
|
||||||
|
|
||||||
|
3. Reference Image (AUTO-DETECTED):
|
||||||
|
IF template.source_image_path exists:
|
||||||
|
Read(template.source_image_path)
|
||||||
|
Purpose: Additional visual context for better placeholder content generation
|
||||||
|
Note: This is for reference only - layout and style decisions already made
|
||||||
|
ELSE:
|
||||||
|
Use generic placeholder content
|
||||||
|
|
||||||
## Assembly Process
|
## Assembly Process
|
||||||
1. Build HTML: {base_path}/prototypes/{target}-style-{style_id}-layout-{layout_id}.html
|
1. Build HTML: {base_path}/prototypes/{target}-style-{style_id}-layout-{layout_id}.html
|
||||||
- Recursively build from template.dom_structure
|
- Recursively build from template.dom_structure
|
||||||
- Add: <!DOCTYPE html>, <head>, <meta viewport>
|
- Add: <!DOCTYPE html>, <head>, <meta viewport>
|
||||||
- CSS link: <link href="{target}-style-{style_id}-layout-{layout_id}.css">
|
- CSS link: <link href="{target}-style-{style_id}-layout-{layout_id}.css">
|
||||||
- Inject placeholder content (Lorem ipsum, sample data)
|
- Inject placeholder content:
|
||||||
|
* Default: Use Lorem ipsum, generic sample data
|
||||||
|
* If reference image available: Generate more contextually appropriate placeholders
|
||||||
|
(e.g., realistic headings, meaningful text snippets that match the visual context)
|
||||||
- Preserve all attributes from dom_structure
|
- Preserve all attributes from dom_structure
|
||||||
|
|
||||||
2. Build CSS: {base_path}/prototypes/{target}-style-{style_id}-layout-{layout_id}.css
|
2. Build CSS: {base_path}/prototypes/{target}-style-{style_id}-layout-{layout_id}.css
|
||||||
@@ -169,6 +183,7 @@ Configuration:
|
|||||||
- Device Type: {device_type}
|
- Device Type: {device_type}
|
||||||
- Targets: {targets}
|
- Targets: {targets}
|
||||||
- Total Prototypes: {S × L × T}
|
- Total Prototypes: {S × L × T}
|
||||||
|
- Image Reference: Auto-detected (uses source images when available in layout templates)
|
||||||
|
|
||||||
Assembly Process:
|
Assembly Process:
|
||||||
- Pure assembly: Combined pre-extracted layouts + design tokens
|
- Pure assembly: Combined pre-extracted layouts + design tokens
|
||||||
|
|||||||
@@ -144,6 +144,11 @@ Task(ui-design-agent): `
|
|||||||
Each template must include:
|
Each template must include:
|
||||||
- target (string)
|
- target (string)
|
||||||
- variant_id (string, e.g., "layout-1")
|
- variant_id (string, e.g., "layout-1")
|
||||||
|
- source_image_path (string, REQUIRED): Path to the primary reference image used for this layout analysis
|
||||||
|
* For image input: Use the actual image file path from {images_pattern}
|
||||||
|
* For URL input: Use the screenshot path if available, or empty string
|
||||||
|
* For text/prompt input: Use empty string
|
||||||
|
* Example: "{base_path}/screenshots/home.png"
|
||||||
- device_type (string)
|
- device_type (string)
|
||||||
- design_philosophy (string)
|
- design_philosophy (string)
|
||||||
- dom_structure (JSON object)
|
- dom_structure (JSON object)
|
||||||
@@ -276,6 +281,7 @@ bash(echo '{json}' > {base_path}/layout-extraction/layout-templates.json)
|
|||||||
{
|
{
|
||||||
"target": "home",
|
"target": "home",
|
||||||
"variant_id": "layout-1",
|
"variant_id": "layout-1",
|
||||||
|
"source_image_path": "{base_path}/screenshots/home.png",
|
||||||
"device_type": "responsive",
|
"device_type": "responsive",
|
||||||
"design_philosophy": "Responsive 3-column holy grail layout with fixed header and footer",
|
"design_philosophy": "Responsive 3-column holy grail layout with fixed header and footer",
|
||||||
"dom_structure": {
|
"dom_structure": {
|
||||||
|
|||||||
Reference in New Issue
Block a user