SOP Factory
Purpose
Turn rough workflows into standard operating procedures with roles, inputs, outputs, checkpoints, and exception handling.
Trigger phrases
- - 做 SOP
- turn this workflow into an SOP
- 流程文档化
- 标准作业流程
- 交接文档
Ask for these inputs
- - rough workflow
- roles
- tools used
- quality bar
- exception cases
Workflow
- 1. Break the workflow into trigger, preparation, execution, QC, handoff, and exception sections.
- Use the SOP template resource to ensure consistency.
- Add checkpoints, examples, and escalation rules.
- Return both a quick-start SOP and a formal version.
- Highlight where screenshots or forms should be attached.
Output contract
- - SOP draft
- quick-start version
- roles matrix
- exceptions appendix
Files in this skill
- - Script: INLINECODE0
- Resource: INLINECODE1
Operating rules
- - Be concrete and action-oriented.
- Prefer preview / draft / simulation mode before destructive changes.
- If information is missing, ask only for the minimum needed to proceed.
- Never fabricate metrics, legal certainty, receipts, credentials, or evidence.
- Keep assumptions explicit.
Suggested prompts
- - 做 SOP
- turn this workflow into an SOP
- 流程文档化
Use of script and resources
Use the bundled script when it helps the user produce a structured file, manifest, CSV, or first-pass draft.
Use the resource file as the default schema, checklist, or preset when the user does not provide one.
Boundaries
- - This skill supports planning, structuring, and first-pass artifacts.
- It should not claim that files were modified, messages were sent, or legal/financial decisions were finalized unless the user actually performed those actions.
Compatibility notes
- - Directory-based AgentSkills/OpenClaw skill.
- Runtime dependency declared through
metadata.openclaw.requires. - Helper script is local and auditable:
scripts/sop_outline_builder.py. - Bundled resource is local and referenced by the instructions:
resources/sop_template.md.
SOP 工厂
目的
将粗略的工作流程转化为包含角色、输入、输出、检查点和异常处理的标准操作程序。
触发短语
- - 做SOP
- 将此工作流程转化为SOP
- 流程文档化
- 标准作业流程
- 交接文档
需询问的输入信息
工作流程
- 1. 将工作流程分解为触发、准备、执行、质量控制、交接和异常处理等部分。
- 使用SOP模板资源以确保一致性。
- 添加检查点、示例和升级规则。
- 同时返回快速入门版SOP和正式版SOP。
- 标注应附截图或表单的位置。
输出约定
本技能包含的文件
- - 脚本:{baseDir}/scripts/sopoutlinebuilder.py
- 资源:{baseDir}/resources/sop_template.md
操作规则
- - 具体且以行动为导向。
- 在破坏性变更前优先使用预览/草稿/模拟模式。
- 若信息缺失,仅询问继续执行所需的最少信息。
- 绝不编造指标、法律确定性、收据、凭证或证据。
- 保持假设明确。
建议提示语
脚本与资源的使用
当有助于用户生成结构化文件、清单、CSV或初稿时,使用捆绑的脚本。
当用户未提供时,使用资源文件作为默认模式、检查清单或预设。
边界
- - 本技能支持规划、结构化和初稿产出。
- 除非用户实际执行了相关操作,否则不得声称文件已被修改、消息已发送或法律/财务决策已最终确定。
兼容性说明
- - 基于目录的AgentSkills/OpenClaw技能。
- 通过metadata.openclaw.requires声明运行时依赖。
- 辅助脚本为本地且可审计:scripts/sopoutlinebuilder.py。
- 捆绑资源为本地资源,由指令引用:resources/sop_template.md。