refactor: enhance prompt generation process with direct output and improved internal analysis

This commit is contained in:
catlog22
2025-10-18 22:33:29 +08:00
parent 49c2b189d4
commit b8935777e7
2 changed files with 141 additions and 125 deletions

View File

@@ -338,29 +338,3 @@ const agentContext = {
mcp_analysis: executeMcpDiscovery()
}
```
## Usage Examples
```bash
# Agent Mode (default) - steps without command field
/workflow:tools:task-generate-agent --session WFS-auth
# CLI Execute Mode - steps with command field
/workflow:tools:task-generate-agent --session WFS-auth --cli-execute
# Called by /workflow:plan (default mode)
SlashCommand(command="/workflow:tools:task-generate-agent --session WFS-[id]")
# Called by /workflow:plan --cli-execute (CLI mode)
SlashCommand(command="/workflow:tools:task-generate-agent --session WFS-[id] --cli-execute")
```
## Related Commands
- `/workflow:plan` - Orchestrates planning and calls this command
- `/workflow:plan --cli-execute` - Planning with CLI execution mode
- `/workflow:tools:task-generate` - Manual version without agent
- `/workflow:tools:context-gather` - Provides context package
- `/workflow:tools:concept-enhanced` - Provides analysis results
- `/workflow:execute` - Executes generated tasks