如何用工作流编排打造全自动 AI 生产线
组合多个智能体,搭建从需求分析到代码部署的全自动 AI 工作流。
如何用工作流编排打造全自动 AI 生产线
为什么需要工作流?
单个智能体擅长一件事。但真实项目需要多步骤协作。
示例:代码上线流水线
- code-reviewer — 审查代码质量
- senior-qa — 生成测试用例
- ci-cd-pipeline-builder — 一键部署
创建你的第一个工作流
访问 TG960W 的「工作流」页面,拖拽组合智能体,一键执行。
从简单的 2-3 步开始,逐步增加复杂度。
相关智能体
code-reviewer
Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.
senior-qa
Generates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and configures test runners. Use when the user asks to "generate tests", "write unit tests", "analyze test coverage", "scaffold E2E tests", "set up Playwright", "configure Jest", "implement testing patterns", or "improve test quality".