docs: Wrap all CLI commands with bash() in agents and workflows

Updated all CLI command examples across agent documentation and workflow
guides to use bash() wrapper for proper tool execution:

- Modified action-planning-agent.md CLI usage standards
- Updated code-developer.md analysis CLI commands
- Enhanced conceptual-planning-agent.md execution logic
- Revised code-review-test-agent.md CLI commands
- Wrapped all gemini-wrapper calls in gemini-unified.md
- Updated all codex commands in codex-unified.md

This ensures consistent tool execution patterns across all documentation
and provides clear guidance for proper CLI tool invocation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-14 00:11:04 +08:00
parent 4af6a59092
commit fc8a0e69f8
6 changed files with 101 additions and 84 deletions

View File

@@ -53,7 +53,7 @@ def handle_analysis_markers(prompt):
if "[GEMINI_CLI_REQUIRED]" in prompt:
for dimension in dimensions:
result = execute_gemini_cli(
command=f"~/.claude/scripts/gemini-wrapper -p \"$(.claude/scripts/read-task-paths.sh [task-json-file]) @{{CLAUDE.md}} {dimension}\"",
command=f"bash(~/.claude/scripts/gemini-wrapper -p \"$(.claude/scripts/read-task-paths.sh [task-json-file]) @{{CLAUDE.md}} {dimension}\")",
dimension=dimension,
role_context=role,
topic=topic
@@ -62,7 +62,7 @@ def handle_analysis_markers(prompt):
elif "[CODEX_CLI_REQUIRED]" in prompt:
result = execute_codex_cli(
command=f"codex --full-auto exec \"$(.claude/scripts/read-task-paths.sh [task-json-file]) {topic}\"",
command=f"bash(codex --full-auto exec \"$(.claude/scripts/read-task-paths.sh [task-json-file]) {topic}\")",
autonomous_analysis=True,
role_context=role,
topic=topic