streamline

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MANDATORY PREPARATION

强制准备工作

Invoke {{command_prefix}}agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run {{command_prefix}}teach-maestro first. Consult the agent-architecture reference in the agent-workflow skill for complexity assessment and topology simplification.

Reduce complexity without reducing capability. Every component should earn its place.
调用 {{command_prefix}}agent-workflow — 它包含工作流原则、反模式以及Context Gathering Protocol。在继续操作前请遵循该协议——如果还不存在工作流上下文,你必须先运行 {{command_prefix}}teach-maestro。 参考agent-workflow skill中的agent-architecture参考文档进行复杂度评估和拓扑简化。

在不降低功能的前提下降低复杂度,每个组件都应该有其存在的必要性。

Streamlining Analysis

精简分析

For each component, ask:
  1. Does this add measurable value? If you can't name the specific value, remove it.
  2. Can this be combined with another component? Merge overlapping responsibilities.
  3. Is this solving a real problem or an imagined one? Remove speculative complexity.
  4. Would a simpler alternative work? Prefer simplicity over elegance.
针对每个组件,自问:
  1. 它是否能带来可衡量的价值? 如果你说不出具体价值,就移除它。
  2. 它能否和其他组件合并? 合并重叠的职责。
  3. 它解决的是真实问题还是假想问题? 移除推测性的复杂度。
  4. 是否存在更简单的可行替代方案? 优先选择简单性而非优雅性。

Common Streamlining Targets

常见精简对象

Pipeline Steps
  • Remove steps that transform data without changing it meaningfully
  • Combine sequential steps that could be one prompt
  • Eliminate validation steps that duplicate downstream validation
Tool Consolidation
  • Merge tools that operate on the same data with different filters
  • Remove tools the model never selects (check usage logs)
  • Combine read tools with similar signatures
Prompt Simplification
  • Remove instructions the model follows by default
  • Consolidate redundant constraints
  • Shorten few-shot examples to minimum viable length
Configuration Reduction
  • Remove config parameters that always use the default
  • Hardcode values that never change between environments
  • Merge related config into logical groups
流水线步骤
  • 移除仅对数据进行无意义转换的步骤
  • 合并可整合为单个prompt的连续步骤
  • 取消与下游验证重复的验证步骤
工具整合
  • 合并使用不同过滤器操作同一数据的工具
  • 移除模型从未选用的工具(检查使用日志)
  • 合并具有相似签名的读取工具
Prompt简化
  • 移除模型默认就会遵循的指令
  • 整合重复的约束条件
  • 将少样本示例缩短到最小可用长度
配置精简
  • 移除始终使用默认值的配置参数
  • 硬编码不同环境下都不会变化的值
  • 将相关配置合并到逻辑分组中

Streamlining Report

精简报告

For each recommendation:
  1. What to remove/simplify — specific component or code
  2. Why it's safe — what ensures functionality is preserved
  3. Expected impact — latency reduction, cost reduction, or maintainability improvement
针对每条精简建议:
  1. 要移除/精简的内容 —— 具体的组件或代码
  2. 安全性依据 —— 确保功能不受影响的理由
  3. 预期影响 —— 延迟降低、成本减少或可维护性提升

Complexity Score

复杂度评分

ComponentCurrentMinimal ViableAction
Pipeline steps??Remove/merge ?
Tools??Consolidate ?
Config params??Remove ?
Agent count??Collapse ?
组件当前值最小可用值操作
流水线步骤??移除/合并 ?
工具??整合 ?
配置参数??移除 ?
Agent数量??合并 ?

Streamlining Checklist

精简检查清单

  • Each component justified with concrete value
  • Redundant steps identified and marked for removal
  • Tool usage logs checked for never-used tools
  • Golden test set passes after each simplification
  • No safety guardrails, logging, or error handling removed
  • 每个组件都有具体价值作为存在依据
  • 已识别重复步骤并标记待移除
  • 已检查工具使用日志,确认未用到的工具
  • 每次精简后黄金测试集都能通过
  • 未移除任何安全防护、日志记录或错误处理逻辑

Recommended Next Step

推荐后续步骤

After streamlining, run
{{command_prefix}}evaluate
to verify functionality is preserved, then
{{command_prefix}}refine
for final polish.
NEVER:
  • Remove error handling in the name of simplicity
  • Streamline without verifying the golden test set still passes
  • Remove logging or observability
  • Simplify below the level of correctness
  • Remove safety guardrails
精简完成后,运行
{{command_prefix}}evaluate
验证功能完整保留,然后运行
{{command_prefix}}refine
做最终优化。
绝对禁止
  • 不得以简化为名移除错误处理逻辑
  • 不得在未验证黄金测试集仍可通过的情况下进行精简
  • 不得移除日志或可观测性相关内容
  • 不得简化到影响正确性的程度
  • 不得移除安全防护机制