From a8ab192c72cf0d70672c5f35cf8f12b4361a3ef7 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sat, 8 Nov 2025 17:55:55 +0800 Subject: [PATCH] refactor: remove Related Commands section from workflow tool commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only orchestrator commands (plan, execute, resume, test-gen, test-fix-gen, tdd-plan) retain Related Commands section to document workflow phases. Tool commands (conflict-resolution, task-generate-tdd, test-task-generate, test-concept-enhanced, test-context-gather, tdd-coverage-analysis) have Related Commands removed to reduce documentation redundancy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude/commands/workflow/tools/conflict-resolution.md | 7 ------- .claude/commands/workflow/tools/task-generate-tdd.md | 6 ------ .../commands/workflow/tools/tdd-coverage-analysis.md | 4 ---- .../commands/workflow/tools/test-concept-enhanced.md | 5 ----- .claude/commands/workflow/tools/test-context-gather.md | 5 ----- .claude/commands/workflow/tools/test-task-generate.md | 10 ---------- 6 files changed, 37 deletions(-) diff --git a/.claude/commands/workflow/tools/conflict-resolution.md b/.claude/commands/workflow/tools/conflict-resolution.md index 8d41ad5d..2c8b9fe6 100644 --- a/.claude/commands/workflow/tools/conflict-resolution.md +++ b/.claude/commands/workflow/tools/conflict-resolution.md @@ -463,10 +463,3 @@ If Edit tool fails mid-application: ✓ Error handling robust (validate/retry/degrade) ``` -## Related Commands -| Command | Relationship | -|---------|--------------| -| `/workflow:tools:context-gather` | Generates input conflict_detection data | -| `/workflow:plan` | Auto-triggers this when risk ≥ medium | -| `/workflow:tools:task-generate` | Uses resolved conflicts from updated brainstorm files | -| `/workflow:brainstorm:artifacts` | Generates guidance-specification.md (modified by this command) | diff --git a/.claude/commands/workflow/tools/task-generate-tdd.md b/.claude/commands/workflow/tools/task-generate-tdd.md index b51dbb3b..7cebed30 100644 --- a/.claude/commands/workflow/tools/task-generate-tdd.md +++ b/.claude/commands/workflow/tools/task-generate-tdd.md @@ -509,9 +509,3 @@ IMPL (Green phase) tasks include automatic test-fix cycle: - **meta.max_iterations**: Number of fix attempts (default: 3 for TDD, 5 for test-gen) - **meta.use_codex**: Enable Codex automated fixes (default: false, manual) -## Related Commands -- `/workflow:tdd-plan` - Orchestrates TDD workflow planning (6 phases) -- `/workflow:tools:test-context-gather` - Analyzes test coverage -- `/workflow:execute` - Executes TDD tasks in order -- `/workflow:tdd-verify` - Verifies TDD compliance -- `/workflow:test-gen` - Post-implementation test generation diff --git a/.claude/commands/workflow/tools/tdd-coverage-analysis.md b/.claude/commands/workflow/tools/tdd-coverage-analysis.md index 0e9f0ae9..7f8a7c7d 100644 --- a/.claude/commands/workflow/tools/tdd-coverage-analysis.md +++ b/.claude/commands/workflow/tools/tdd-coverage-analysis.md @@ -275,7 +275,3 @@ Overall Compliance: 93/100 Detailed report: .workflow/WFS-auth/.process/tdd-cycle-report.md ``` -## Related Commands -- `/workflow:tdd-verify` - Uses this tool for verification -- `/workflow:tools:task-generate-tdd` - Generates tasks this tool analyzes -- `/workflow:execute` - Executes tasks before analysis diff --git a/.claude/commands/workflow/tools/test-concept-enhanced.md b/.claude/commands/workflow/tools/test-concept-enhanced.md index f6d40cd9..2fb173ee 100644 --- a/.claude/commands/workflow/tools/test-concept-enhanced.md +++ b/.claude/commands/workflow/tools/test-concept-enhanced.md @@ -460,8 +460,3 @@ Synthesize Gemini analysis into standardized format: - ✅ Execution time < 20 minutes - ✅ Output follows existing test conventions -## Related Commands - -- `/workflow:tools:test-context-gather` - Provides input context -- `/workflow:tools:test-task-generate` - Consumes analysis results -- `/workflow:test-gen` - Main test generation workflow diff --git a/.claude/commands/workflow/tools/test-context-gather.md b/.claude/commands/workflow/tools/test-context-gather.md index 6bf9e48f..80e937c7 100644 --- a/.claude/commands/workflow/tools/test-context-gather.md +++ b/.claude/commands/workflow/tools/test-context-gather.md @@ -203,8 +203,3 @@ Refer to `test-context-search-agent.md` Phase 3.2 for complete `test-context-pac - **Framework agnostic**: Supports Jest, Mocha, pytest, RSpec, Go testing, etc. - **Coverage focus**: Primary goal is identifying implementation files without tests -## Related Commands - -- `/workflow:test-gen` - Main test generation workflow -- `/workflow:tools:test-concept-enhanced` - Test generation analysis -- `/workflow:tools:test-task-generate` - Test task JSON generation diff --git a/.claude/commands/workflow/tools/test-task-generate.md b/.claude/commands/workflow/tools/test-task-generate.md index 289f03ab..d05d1d70 100644 --- a/.claude/commands/workflow/tools/test-task-generate.md +++ b/.claude/commands/workflow/tools/test-task-generate.md @@ -393,16 +393,6 @@ This section provides quick reference for test task JSON structure. For complete - Session state updated with test metadata - MCP enhancements integrated (if available) -## Related Commands -- `/workflow:test-gen` - Creates test session and calls this tool (Phase 4) -- `/workflow:test-fix-gen` - Creates test-fix session and calls this tool (Phase 4) -- `/workflow:tools:test-context-gather` - Gathers test coverage context -- `/workflow:tools:test-concept-enhanced` - Generates test strategy analysis (TEST_ANALYSIS_RESULTS.md) -- `/workflow:execute` - Executes the generated test-fix tasks -- `/workflow:test-cycle-execute` - Executes test-fix cycle with iteration management -- `@code-developer` - Agent that executes IMPL-001 (test generation) -- `@test-fix-agent` - Agent that executes IMPL-002 (test execution & fix) - ## Agent Execution Notes The `@test-fix-agent` will execute the task by following the `flow_control.implementation_approach` specification: