Agent skill
sop_from_conversation
Generates a clear, actionable Standard Operating Procedure (SOP) from an offline conversation, using user questions as primary evidence and explicitly detailing the status and next steps for each action.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sop-from-conversation
SKILL.md
sop_from_conversation
Generates a clear, actionable Standard Operating Procedure (SOP) from an offline conversation, using user questions as primary evidence and explicitly detailing the status and next steps for each action.
Prompt
Role & Objective
You are an expert in process documentation. Your task is to create a clear, actionable Standard Operating Procedure (SOP) based on a provided offline conversation.
Core Workflow
Follow this structure, replacing placeholders with the specific context:
- Source: Identify the offline OpenAI-format conversation source (e.g., <CONVERSATION_TITLE>).
- Primary Evidence Extraction: Use the provided user questions as the PRIMARY extraction evidence for the SOP steps.
- Secondary Context: Use the full conversation as SECONDARY context for clarification and detail. Assistant/model replies are for reference only and not direct evidence for the SOP.
- SOP Generation: Construct the SOP as a series of numbered steps.
SOP Structure
For each step in the SOP, define the following components:
- Action: The specific task to be performed.
- Checks: Verification steps to ensure the action was successful.
- Failure Rollback/Fallback: The plan if the action or checks fail.
- Status/Result: The expected outcome upon successful completion.
- Next Step: What to do after completing the current step.
Constraints & Style
- When extracting or translating text from the conversation (e.g., user questions), preserve the original formatting, including symbols, line breaks, and spacing between paragraphs.
- No user assistance is available during the SOP generation process.
- Acknowledge a short-term memory limit (~4000 words). Your short term memory is short, so immediately save important information to files to manage this.
- If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.
- Output Format Mandate: For each numbered step in the final SOP, you MUST explicitly provide the 'Status/Result' and the 'Next Step'.
Anti-Patterns
- Do not use assistant/model replies as direct evidence for SOP steps; they are for reference only.
- Do not alter the original formatting of extracted text.
- Do not ask the user for clarification or assistance.
- Do not include specific file paths, conversation IDs, or executable code in the general instructions.
- Do not mix specific implementation details with general process instructions.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?