using-agentops
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAgentOps Workflow
AgentOps工作流
You have access to the AgentOps skill set for structured development workflows.
你可以使用AgentOps技能集来进行结构化的开发工作流。
The RPI Workflow
RPI工作流
Research → Plan → Implement → Validate
↑ │
└──── Knowledge Flywheel ────┘Research → Plan → Implement → Validate
↑ │
└──── Knowledge Flywheel ────┘Research Phase
研究阶段
bash
/research <topic> # Deep codebase exploration
/knowledge <query> # Query existing knowledgeOutput:
.agents/research/<topic>.mdbash
/research <topic> # 深度代码库探索
/knowledge <query> # 查询现有知识输出:
.agents/research/<topic>.mdPlan Phase
规划阶段
bash
/pre-mortem <spec> # Simulate failures before implementing
/plan <goal> # Decompose into trackable issuesOutput: Beads issues with dependencies
bash
/pre-mortem <spec> # 在实现前模拟故障
/plan <goal> # 分解为可追踪的任务输出: 带有依赖关系的Beads任务
Implement Phase
实现阶段
bash
/implement <issue> # Single issue execution
/crank <epic> # Autonomous epic loop (uses swarm for waves)
/swarm # Parallel execution (fresh context per agent)Output: Code changes, tests, documentation
bash
/implement <issue> # 执行单个任务
/crank <epic> # 自主史诗级任务循环(使用swarm进行多轮执行)
/swarm # 并行执行(每个Agent拥有独立上下文)输出: 代码变更、测试、文档
Validate Phase
验证阶段
bash
/vibe [target] # Code validation (security, quality, architecture)
/post-mortem # Extract learnings after completion
/retro # Quick retrospectiveOutput: ,
.agents/learnings/.agents/patterns/bash
/vibe [target] # 代码验证(安全性、质量、架构)
/post-mortem # 完成后提取经验
/retro # 快速回顾输出: ,
.agents/learnings/.agents/patterns/Phase-to-Skill Mapping
阶段与技能映射表
| Phase | Primary Skill | Supporting Skills |
|---|---|---|
| Research | | |
| Plan | | |
| Implement | | |
| Validate | | |
Choosing the skill:
- Use for single issue execution.
/implement - Use for autonomous epic execution (loops waves via swarm until done).
/crank - Use directly for parallel execution without beads (TaskList only).
/swarm - Use to gate/record progress through RPI.
/ratchet
| 阶段 | 核心技能 | 支持技能 |
|---|---|---|
| 研究 | | |
| 规划 | | |
| 实现 | | |
| 验证 | | |
技能选择指南:
- 针对单个任务执行,使用。
/implement - 针对自主史诗级任务执行,使用(通过swarm循环多轮直至完成)。
/crank - 若无需Beads(仅使用任务列表)进行并行执行,直接使用。
/swarm - 使用来管控/记录RPI流程中的进度。
/ratchet
Available Skills
可用技能
| Skill | Purpose |
|---|---|
| Deep codebase exploration |
| Failure simulation before implementing |
| Epic decomposition into issues |
| Execute single issue |
| Autonomous epic loop (uses swarm for each wave) |
| Fresh-context parallel execution (Ralph pattern) |
| Code validation |
| Extract learnings |
| Full validation + knowledge extraction |
| Issue tracking operations |
| Root cause analysis |
| Query knowledge artifacts |
| Code complexity analysis |
| Documentation generation |
| Trace artifact lineage to sources |
| Trace design decisions through history |
| 技能 | 用途 |
|---|---|
| 深度代码库探索 |
| 实现前故障模拟 |
| 将史诗级任务分解为子任务 |
| 执行单个任务 |
| 自主史诗级任务循环(每轮使用swarm) |
| 独立上下文并行执行(Ralph模式) |
| 代码验证 |
| 提取经验 |
| 完整验证 + 知识提取 |
| 任务追踪操作 |
| 根因分析 |
| 查询知识工件 |
| 代码复杂度分析 |
| 文档生成 |
| 追踪工件溯源 |
| 追溯历史中的设计决策 |
Knowledge Flywheel
知识飞轮
Every feeds back to :
/post-mortem/research- Learnings extracted →
.agents/learnings/ - Patterns discovered →
.agents/patterns/ - Research enriched → Future sessions benefit
每次的结果都会反馈给:
/post-mortem/research- 提取的经验 →
.agents/learnings/ - 发现的模式 →
.agents/patterns/ - 丰富的研究内容 → 未来会话可从中受益
Natural Language Triggers
自然语言触发
Skills auto-trigger from conversation:
| Say This | Runs |
|---|---|
| "I need to understand how auth works" | |
| "Check my code for issues" | |
| "What could go wrong with this?" | |
| "Let's execute this epic" | |
| "Spawn agents to work in parallel" | |
| "How did we decide on this?" | |
| "Where did this learning come from?" | |
技能会从对话中自动触发:
| 你可以说 | 执行的技能 |
|---|---|
| "我需要理解认证机制的工作原理" | |
| "检查我的代码是否存在问题" | |
| "这个方案可能会出什么问题?" | |
| "我们来执行这个史诗级任务" | |
| "生成多个Agent并行工作" | |
| "我们当初是如何做出这个决定的?" | |
| "这个经验来自哪里?" | |
Issue Tracking
问题追踪
AgentOps uses beads for git-native issue tracking:
bash
bd ready # Unblocked issues
bd show <id> # Issue details
bd close <id> # Close issue
bd sync # Sync with gitAgentOps使用beads进行原生Git问题追踪:
bash
bd ready # 查看未阻塞的任务
bd show <id> # 查看任务详情
bd close <id> # 关闭任务
bd sync # 与Git同步