Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

update-sop

FreeNo executable scriptsNot checked

Update an existing SOP to reflect changes in tools, processes, or best practices

TheBushidoCollectiveby TheBushidoCollective★ 202 GitHub stars

About this skill

Update Existing SOP

Name

agent-sop:update-sop - Update an existing Standard Operating Procedure

Synopsis

/update-sop

Description

This command guides users through updating existing Standard Operating Procedures (SOPs) to reflect changes in tools, processes, or best practices. It handles version bumping, changelog management, migration guides, and ensures consistency across related SOPs.

Implementation

You are helping the user update an existing Standard Operating Procedure (SOP) to keep it current and accurate.

Your Task

Guide the user through updating an SOP by:

  1. Identify the SOP to update:

    • Which SOP needs updating?
    • What triggered the need for update? (tool change, process change, incident, feedback)
  2. Read the current SOP:

    • Review existing content
    • Note current version (if versioned)
    • Identify sections that need changes
  3. Determine update type:

    • Minor update: Clarifications, typo fixes, small improvements (patch version)
    • Feature update: New steps, additional parameters, enhanced error handling (minor version)
    • Breaking change: Fundamental process change, tool migration (major version)
  4. Update version and changelog:

# {SOP Title}

**Version**: {new_version}
**Last Updated**: {YYYY-MM-DD}
**Changes**: {brief summary of changes}

## Changelog

### v{new_version} ({date})
- {change 1 with detail}
- {change 2 with detail}
- {change 3 with detail}

*Reason: {why these changes were made}*

### v{previous_version} ({previous_date})
- {previous changes}
  1. Make the updates:

    • Update affected sections
    • Add new steps if needed
    • Update parameters
    • Revise success criteria
    • Add new error handling scenarios
    • Update examples to current syntax
    • Verify RFC 2119 keywords are still appropriate
  2. Ensure consistency:

    • Related SOPs may need updates too
    • Update "Related SOPs" section if needed
    • Check if examples still work
    • Verify prerequisites are current

Version Numbering (Semantic Versioning)

  • Major (X.0.0): Breaking changes

    • Tool replacement (Docker → Kubernetes)
    • Fundamental process change
    • Incompatible parameter changes
  • Minor (x.X.0): New features, non-breaking

    • New optional steps
    • Additional parameters
    • Enhanced error handling
  • Patch (x.x.X): Bug fixes, clarifications

    • Typo corrections
    • Clarifying language
    • Updated examples

Update Checklist

After making changes, verify:

  • Version number incremented appropriately
  • Changelog updated with changes and reason
  • Last Updated date is current
  • All tool versions are current
  • Examples use current syntax
  • Prerequisites are accurate
  • Success criteria are measurable
  • Error handling covers known issues
  • Related SOPs are still valid
  • RFC 2119 keywords are appropriate

Common Update Scenarios

Scenario 1: Tool Version Update

## Changelog

### v1.2.0 (2025-12-05)
- Updated Node.js requirement from v16 to v18
- Updated npm commands to use new syntax
- Added troubleshooting for Node v18 breaking changes

*Reason: Node.js v16 reached end-of-life*

## Prerequisites

### Required Tools
- Node.js (v18 or higher) <!-- Changed from v16 -->
- npm (v9 or higher)     <!-- Changed from v8 -->

Scenario 2: Adding Error Handling

## Changelog

### v1.1.0 (2025-12-05)
- Added error handling for connection timeout scenarios
- Included retry logic in deployment steps

*Reason: Production incident #1234 - timeout during deployment*

## Error Handling

### Error: Connection Timeout During Deployment

**Symptoms**: Deployment hangs, connection to server times out

**Cause**: Network issues, server overload, or firewall blocking

**Resolution**:
1. Check network connectivity to deployment target
2. Verify server is responsive: `ping {server}`
3. Retry deployment with increased timeout: `--timeout 300`
4. If persistent, check firewall rules and server logs

Scenario 3: Process Improvement

## Changelog

### v2.0.0 (2025-12-05)
- Added canary deployment step (BREAKING)
- Restructured rollout process for gradual release
- Added monitoring validation between stages

*Reason: Reduce risk of production outages from bad deployments*

## Steps

1. Deploy to canary (10% of traffic)
   - Update canary deployment
   - Route 10% traffic to new version
   - **NEW**: Monitor error rates for 10 minutes
   - **Validation**: Error rate < 1%, latency within 10% of baseline

2. Deploy to production (remaining 90%)
   - If canary successful, proceed
   - If canary fails, rollback automatically
   [... rest of steps ...]

Migration Guide Template

For breaking changes (major version), include migration guide:

## Migration from v{old_major}.x

### Breaking Changes

1. **{Change Name}**
   - **Old Behavior**: {what it was before}
   - **New Behavior**: {what it is now}
   - *
Full SKILL.md on GitHub

Install update-sop in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the update-sop skill do?

Update an existing SOP to reflect changes in tools, processes, or best practices

How do I install the update-sop skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the update-sop skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare update-sop with