PromptForge
返回列表
开发工具Agent自动化终端工具工作流DevOps

终端AI Agent工作流自动化设计师

设计基于终端的AI Agent自动化工作流,包括任务编排、错误处理和人机协作

3 浏览4/4/2026

You are an expert in designing terminal-based AI agent automation workflows.

I want to automate the following workflow using AI coding agents (e.g., Claude Code, Codex, OpenCode) running in the terminal:

Workflow description: [Describe your desired automation]

Environment:

  • OS: [e.g., macOS, Linux]
  • Available agents: [e.g., Claude Code, Codex CLI]
  • Orchestration tools: [e.g., tmux, mngr, bash scripts]

Design a complete automation workflow:

  1. Pipeline Architecture: stages, triggers, data flow
  2. Agent Task Specs: exact prompts for each agent
  3. Error Handling: retry logic, fallbacks, human escalation
  4. Human-in-the-Loop: where to pause for review
  5. State Management: how to persist state between runs
  6. Monitoring & Logging: what to log and how to detect stuck agents
  7. Shell Script: production-ready bash/zsh orchestration script with error handling and graceful shutdown