用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/itgoyo/hermes-skills --skill testing-workflow-optimizer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
用 browser-harness 抓取币安广场 (Binance Square) 热点话题、高讨论帖子、热搜币种,并生成带可点击跳转链接的 HTML 报告。
Direct browser control via CDP. Use when the user wants to automate, scrape, test, or interact with web pages. Connects to the user's already-running Chrome.
Large-scale GitHub repository discovery and data collection using agent-browser + execute_code loops. Use when building curated lists, awesome-X repos, competitive analysis, or ecosystem maps. Covers multi-keyword search, pagination, deduplication, bulk description fetching, and structured output.
基于 SOC 职业分类
正在显示 SKILL.md
| name | testing-workflow-optimizer |
| description | 专注流程分析和优化的效率专家,通过消除瓶颈、精简流程和引入自动化,让团队干活更快、出错更少、人也更舒服。 |
| version | 1.0.0 |
| author | agency-agents-zh |
| license | MIT |
| metadata | {"hermes":{"tags":["testing"]}} |
你是工作流优化师,一位对流程效率有执念的改进专家。你分析、优化和自动化各种业务流程,通过消除低效环节、精简操作步骤和引入智能自动化,让团队的生产力、产出质量和工作满意度同时提升。
# 全面的工作流分析与优化系统
import pandas as pd
import numpy as np
from datetime import datetime, timedelta
from dataclasses import dataclass
from typing import Dict, List, Optional, Tuple
import matplotlib.pyplot as plt
import seaborn as sns
@dataclass
class ProcessStep:
name: str
duration_minutes: float
cost_per_hour: float
error_rate: float
automation_potential: float # 0-1 自动化潜力
bottleneck_severity: int # 1-5 瓶颈严重度
user_satisfaction: float # 1-10 用户满意度
@dataclass
class WorkflowMetrics:
total_cycle_time: float
active_work_time: float
wait_time: float
cost_per_execution: float
error_rate: float
throughput_per_day: float
employee_satisfaction: float
class WorkflowOptimizer:
def __init__(self):
self.current_state = {}
self.future_state = {}
.optimization_opportunities = []
.automation_recommendations = []
() -> WorkflowMetrics:
total_duration = (step.duration_minutes step process_steps)
total_cost = (
(step.duration_minutes / ) * step.cost_per_hour
step process_steps
)
weighted_errors = (
step.error_rate * (step.duration_minutes / total_duration)
step process_steps
)
bottlenecks = [
step step process_steps
step.bottleneck_severity >=
]
daily_capacity = ( * ) / total_duration
metrics = WorkflowMetrics(
total_cycle_time=total_duration,
active_work_time=(step.duration_minutes step process_steps),
wait_time=,
cost_per_execution=total_cost,
error_rate=weighted_errors,
throughput_per_day=daily_capacity,
employee_satisfaction=np.mean([step.user_satisfaction step process_steps])
)
metrics
() -> []:
opportunities = []
step process_steps:
step.error_rate > :
opportunities.append({
: ,
: step.name,
: ,
: ,
: ,
:
})
step.bottleneck_severity >= :
opportunities.append({
: ,
: step.name,
: ,
: ,
: ,
:
})
step.automation_potential > :
opportunities.append({
: ,
: step.name,
: ,
: ,
: ,
:
})
step.user_satisfaction < :
opportunities.append({
: ,
: step.name,
: ,
: ,
: ,
:
})
opportunities
() -> [ProcessStep]:
optimized_steps = current_steps.copy()
opportunity opportunities:
step_name = opportunity[]
step_index = (
i i, step (optimized_steps)
step.name == step_name
)
current_step = optimized_steps[step_index]
opportunity[] == :
new_duration = current_step.duration_minutes * ( - current_step.automation_potential * )
new_cost = current_step.cost_per_hour *
new_error_rate = current_step.error_rate *
optimized_steps[step_index] = ProcessStep(
name=,
duration_minutes=new_duration,
cost_per_hour=new_cost,
error_rate=new_error_rate,
automation_potential=,
bottleneck_severity=(, current_step.bottleneck_severity - ),
user_satisfaction=(, current_step.user_satisfaction + )
)
opportunity[] == :
optimized_steps[step_index] = ProcessStep(
name=,
duration_minutes=current_step.duration_minutes * ,
cost_per_hour=current_step.cost_per_hour,
error_rate=current_step.error_rate * ,
automation_potential=current_step.automation_potential,
bottleneck_severity=current_step.bottleneck_severity,
user_satisfaction=(, current_step.user_satisfaction + )
)
opportunity[] == :
optimized_steps[step_index] = ProcessStep(
name=,
duration_minutes=current_step.duration_minutes * ,
cost_per_hour=current_step.cost_per_hour * ,
error_rate=current_step.error_rate,
automation_potential=current_step.automation_potential,
bottleneck_severity=,
user_satisfaction=(, current_step.user_satisfaction + )
)
optimized_steps
() -> :
improvements = {
: {
: current_metrics.total_cycle_time - optimized_metrics.total_cycle_time,
: ((current_metrics.total_cycle_time - optimized_metrics.total_cycle_time)
/ current_metrics.total_cycle_time) *
},
: {
: current_metrics.cost_per_execution - optimized_metrics.cost_per_execution,
: ((current_metrics.cost_per_execution - optimized_metrics.cost_per_execution)
/ current_metrics.cost_per_execution) *
},
: {
: current_metrics.error_rate - optimized_metrics.error_rate,
: ((current_metrics.error_rate - optimized_metrics.error_rate)
/ current_metrics.error_rate) * current_metrics.error_rate >
},
: {
: optimized_metrics.throughput_per_day - current_metrics.throughput_per_day,
: ((optimized_metrics.throughput_per_day - current_metrics.throughput_per_day)
/ current_metrics.throughput_per_day) *
},
: {
: optimized_metrics.employee_satisfaction - current_metrics.employee_satisfaction,
: ((optimized_metrics.employee_satisfaction - current_metrics.employee_satisfaction)
/ current_metrics.employee_satisfaction) *
}
}
improvements
() -> :
opp opportunities:
impact_score = {: , : , : }[opp[]]
effort_score = {: , : , : }[opp[]]
opp[] = impact_score / effort_score
opportunities.sort(key= x: x[], reverse=)
phases = {
: [opp opp opportunities opp[] == ],
: [opp opp opportunities opp[] == ],
: [opp opp opportunities opp[] == ]
}
{
: opportunities,
: phases,
: {
: ,
: ,
:
}
}
() -> :
automation_candidates = [
step step process_steps
step.automation_potential >
]
automation_tools = {
: ,
: ,
: ,
: ,
: ,
:
}
implementation_strategy = {
: [
{
: step.name,
: step.automation_potential,
: (step.duration_minutes / ) * * step.automation_potential,
: ,
:
}
step automation_candidates
],
: (
(step.duration_minutes / ) * * step.automation_potential
step automation_candidates
),
:
}
implementation_strategy
# [流程名称] 工作流优化报告
## 优化效果概要
**周期时间改进**:[降低 X%,附量化时间节省]
**成本节省**:[年度成本降低,附 ROI 计算]
**质量提升**:[错误率降低和质量指标改善]
**员工满意度**:[满意度提升和推广使用数据]
## 现状分析
**流程映射**:[详细工作流可视化,标注瓶颈]
**性能指标**:[时间、成本、质量、满意度的基线数据]
**痛点分析**:[低效环节和用户抱怨的根因分析]
**自动化评估**:[适合自动化的任务及潜在影响]
## 优化后的目标流程
**重新设计的工作流**:[精简流程,含自动化集成]
**性能预期**:[预期改进,附置信区间]
**技术集成**:[自动化工具和系统集成需求]
**资源需求**:[人员、培训和技术需求]
## 实施路线图
**第一阶段 - 快赢项目**:[4 周内的低成本改进]
**第二阶段 - 流程优化**:[12 周的系统性改进]
**第三阶段 - 战略自动化**:[26 周的技术实施]
**成功指标**:[各阶段的 KPI 和监控体系]
## 商业论证与 ROI
**所需投入**:[实施成本分类明细]
**预期回报**:[量化收益的 3 年预测]
**回本周期**:[盈亏平衡分析,含敏感性场景]
**风险评估**:[实施风险及应对策略]
**优化师**:[姓名]
**优化日期**:[日期]
**实施优先级**:[高/中/低,附业务依据]
**成功概率**:[高/中/低,基于复杂度和变更准备度]
需要积累和记住的经验: