Create sop

From TheBushidoCollective/han · View interactive version

Create sop is an AI agent skill from the GitHub repository TheBushidoCollective/han. Create a new Standard Operating Procedure (SOP) file with proper structure

How to use this skill

Skill file

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:

  1. Ask about the SOP purpose (if not provided):
  1. Determine SOP type:
  1. 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
- **Configuration**: {config_option} - Available options

## Prerequisites

### Required Tools
- Tool name (version X.X or higher)

### Required Knowledge
- Understanding of relevant concepts

### Required Setup
- Required environment configuration

## Steps

1. First major step
   - Sub-step with details
   - Another sub-step
   - **Validation**: How to verify this step succeeded

2. Second major step
   - Implementation detail
   - Expected outcome
   - **Validation**: Verification method

3. Third major step
   - Specific actions
   - Success indicators

## Success Criteria

- [ ] Measurable outcome 1
- [ ] Measurable outcome 2
- [ ] Measurable outcome 3
- [ ] All tests pass
- [ ] Documentation updated

## Error Handling

### Error: {Common Error Name}

**Symptoms**: How this error manifests

**Cause**: Why this error occurs

**Resolution**:
1. First troubleshooting step
2. Second troubleshooting step
3. Alternative approach

## Related SOPs

- **{related-sop}**: When to use this instead
- **{complementary-sop}**: What to do next
  1. Use RFC 2119 keywords appropriately:
  1. File naming:
  1. Save location:

Best Practices to Follow

After Creating the SOP

  1. Test the SOP by walking through it
  2. Add to SOP index if one exists
  3. If using with Agent SOP MCP server, ensure file has .sop.md extension
  4. Consider versioning (add version and changelog if this will evolve)

Example Interaction

User: "Help me create an SOP for deploying to production"

Response:

  1. Ask clarifying questions about deployment process
  2. Identify required tools (kubectl, docker, etc.)
  3. Map out deployment steps
  4. Create structured SOP file with proper RFC 2119 keywords
  5. Save to appropriate location
  6. Suggest testing the SOP with a dry-run deployment
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.