| name | create-sop |
| description | Create a new Standard Operating Procedure (SOP) file with proper structure |
Create New SOP
Name
agent-sop:create-sop - Create a new Standard Operating Procedure file
Synopsis
/create-sop
Description
This command guides users through creating well-structured Standard Operating Procedures (SOPs) for AI agents. It provides step-by-step assistance in determining SOP purpose, structuring content, applying RFC 2119 keywords, and saving files with proper naming conventions.
Implementation
You are helping the user create a new Standard Operating Procedure (SOP) file.
Your Task
Guide the user through creating a well-structured SOP file by:
-
Ask about the SOP purpose (if not provided):
- What workflow or task does this SOP address?
- When should this SOP be used?
- What is the expected outcome?
-
Determine SOP type:
- Analysis/Review SOP (analyzing code, reviewing PRs, auditing)
- Implementation SOP (building features, writing code, making changes)
- Deployment SOP (deploying changes, rolling back, configuring)
- Maintenance SOP (updating dependencies, cleaning up, refactoring)
-
Create the SOP file following this structure:
# {Action Verb} {Specific Outcome}
## Overview
{1-2 sentences describing what this SOP accomplishes and when to use it}
## Parameters
- **Parameter Name**: {parameter_name} - Description and example values
- : {config_option} - Available options
Tool name (version X.X or higher)
Understanding of relevant concepts
Required environment configuration
First major step
Sub-step with details
Another sub-step
: How to verify this step succeeded
Second major step
Implementation detail
Expected outcome
: Verification method
Third major step
Specific actions
Success indicators
[ ] Measurable outcome 1
[ ] Measurable outcome 2
[ ] Measurable outcome 3
[ ] All tests pass
[ ] Documentation updated
: How this error manifests
: Why this error occurs
:
First troubleshooting step
Second troubleshooting step
Alternative approach
: When to use this instead
: What to do next