skill-sop-creator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

skill-sop-creator

Skill-SOP创建工具

Guide for creating Standard Operating Procedures (SOPs) and composite workflows by combining atomic Agent Skills. Use this skill when users want to design, structure, or implement multi-step workflows (SOPs) that orchestrate multiple skills to achieve complex business goals. This skill transforms loose collections of tools into reliable, repeatable business processes.
本工具介绍如何通过组合原子Agent Skills来创建标准操作流程(SOP)和复合工作流。当用户想要设计、构建或实现多步骤工作流(SOP),以协调多个技能达成复杂业务目标时,可使用本工具。它能将零散的工具集合转化为可靠、可重复的业务流程。

Parameters

参数

NameTypeRequiredDescription
actionstringtrueThe action to perform. One of
search_skills
,
draft_sop
,
validate_sop
.
contextstringfalseContext for the action (e.g. business goal for drafting, search query for searching).
名称类型必填描述
actionstringtrue要执行的操作,可选值为
search_skills
draft_sop
validate_sop
contextstringfalse操作的上下文信息(例如,起草SOP时的业务目标,搜索技能时的查询词)。

Actions

操作

1. Search Atomic Skills

1. 搜索原子技能

Finds available atomic skills to include in your SOP.
  • Command:
    skill-sop-creator(action="search_skills", context="pdf processing")
  • Output: List of relevant atomic skills (e.g.,
    pdf-split
    ,
    pdf-merge
    ,
    ocr-extract
    ) that can be steps in your SOP.
查找可纳入SOP的可用原子技能。
  • 命令
    skill-sop-creator(action="search_skills", context="pdf processing")
  • 输出:相关原子技能列表(例如
    pdf-split
    pdf-merge
    ocr-extract
    ),可作为SOP中的步骤。

2. Draft SOP Structure

2. 起草SOP结构

Generates a draft
SKILL.md
for a composite skill (SOP) based on a business goal.
  • Command:
    skill-sop-creator(action="draft_sop", context="Daily Competitor Analysis Report")
  • Output: A structured markdown template defining the workflow steps, required atomic skills, and decision logic.
基于业务目标为复合技能(SOP)生成草稿
SKILL.md
  • 命令
    skill-sop-creator(action="draft_sop", context="Daily Competitor Analysis Report")
  • 输出:结构化的Markdown模板,定义了工作流步骤、所需原子技能和决策逻辑。

3. Validate SOP

3. 验证SOP

Checks if a proposed SOP structure is valid and if referenced skills exist.
  • Command:
    skill-sop-creator(action="validate_sop", context="<sop_content>")
  • Behavior: Verifies that steps are logical and dependencies are met.
检查拟议的SOP结构是否有效,以及引用的技能是否存在。
  • 命令
    skill-sop-creator(action="validate_sop", context="<sop_content>")
  • 行为:验证步骤是否符合逻辑,且依赖关系是否满足。

SOP Design Principles

SOP设计原则

  1. Atomic Foundation: SOPs should rely on small, single-purpose skills (e.g.,
    pencil-draw-rect
    not
    draw-entire-ui
    ).
  2. Deterministic Flow: Define clear steps: Step 1 -> Step 2 -> Decision -> Step 3.
  3. Human-in-the-loop: Include checkpoints where the Agent should ask for user confirmation.
  1. 原子基础:SOP应依赖小型、单一用途的技能(例如
    pencil-draw-rect
    而非
    draw-entire-ui
    )。
  2. 确定性流程:定义清晰的步骤:步骤1 -> 步骤2 -> 决策 -> 步骤3。
  3. 人机协作:设置检查点,让Agent在此处请求用户确认。

Example SOP Structure

示例SOP结构

markdown
undefined
markdown
undefined

Daily Competitor Analysis SOP

每日竞品分析SOP

1. Information Gathering

1. 信息收集

  • Skill:
    web-search
  • Action: Search for "competitor name" + "news"
  • Output: List of URLs
  • 技能
    web-search
  • 操作:搜索“竞品名称” + “新闻”
  • 输出:URL列表

2. Content Extraction

2. 内容提取

  • Skill:
    web-scraper
  • Input: URLs from Step 1
  • Output: Raw text
  • 技能
    web-scraper
  • 输入:步骤1的URL
  • 输出:原始文本

3. Analysis

3. 分析

  • Skill:
    llm-summarize
  • Input: Raw text
  • Prompt: "Identify key pricing changes and feature launches."
  • 技能
    llm-summarize
  • 输入:原始文本
  • 提示词:“识别关键定价变化和功能发布信息。”

4. Reporting

4. 报告生成

  • Skill:
    pdf-generator
  • Input: Summary
  • Output: PDF Report
undefined
  • 技能
    pdf-generator
  • 输入:分析摘要
  • 输出:PDF报告
undefined

Notes

说明

  • An SOP is essentially a "Composite Skill" that acts as a conductor for other "Atomic Skills".
  • This skill helps you design that conductor.
  • SOP本质上是一种“复合技能”,充当其他“原子技能”的协调者。
  • 本工具可帮助您设计这个协调者。