sop-writing
Skill0 starsChanged 3 months agoMITView on GitHub
Write procedures anyone can follow: numbered steps, owners, inputs, outputs, escalation and executable templates. Use when authoring Standard Operating Procedures, runbooks, or checklists.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- astDeniss/business-skillstheir own version, first seen Nov 1, 2026
- lhg-plugs/lhg-soptheir own version, first seen Oct 11, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- astDeniss/business-skills★ 8same name
- lhg-plugs/lhg-sop★ 1same name
- yiweiwan/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- book-writingSkill
- executive-summarySkill
- feedback-writingSkill
- grant-writingSkill
- historical-accuracySkill
- job-descriptionsSkill
- line-editingSkill
- longform-book-authorSkill
- marketing-copywriterSkill
- meeting-notesSkill
- screenplay-writerSkill
- screenwritingSkill
- talk-writingSkill
- technical-docsSkill
- technical-writerSkill
- thread-to-articleSkill
- thread-to-blog-converterSkill
- translationSkill
- writing-tasteSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Never write passive guidelines: "Ensure that logs are looked at."
- Very specific: line 31
Write: *"1. Open Datadog dashboard Prod-Ingestion.
- Distinctive: line 37
Every major step must specify its expected output:
- Distinctive: line 46
If the procedure fails mid-stream, provide exact rollback commands to restore the system to a safe baseline state.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sop-writing
Core Philosophy
A Standard Operating Procedure (SOP) is not a theoretical essay or an aspirational policy document. An SOP is an executable algorithmic runbook for human or agentic operators. A great SOP is designed so that a qualified operator under extreme stress at 3:00 AM can execute the process with zero ambiguity, zero guesswork, and zero catastrophic errors. Every step must have deterministic inputs, numbered physical actions, observable acceptance criteria, and explicit escalation paths.
4-Step Standard Operating Procedure (SOP) Architecture
Step 1: Scope, Governance & Pre-Flight Prerequisites
- Metadata & Ownership Header:
- SOP ID, Version (SemVer), Effective Date, Review Cadence (Annual/Bi-annual), Accountable Process Owner.
- Strict Purpose & Scope Boundaries:
- Exactly what this procedure covers, and what it does not cover.
- Prerequisites & Access Permissions:
- List required credentials, VPN access, software packages, and environment variables before the first execution step.
Step 2: The Deterministic Numbered Step Sequence
- Imperative, Unambiguous Action Verbs:
- Begin every step with an active verb: Click, Run, Verify, Copy, Export, Check.
- Never write passive guidelines: "Ensure that logs are looked at."
- Write: "1. Open Datadog dashboard
Prod-Ingestion. 2. Inspect graphp99 Latency. 3. Verify value is below 200ms."
- Copy-Paste Command Hygiene:
- Provide exact CLI commands or code snippets in fenced blocks. Never make operators guess flag names or parameters.
Step 3: Observable Verification & Acceptance Gates
- The "How Do I Know It Worked?" Check:
- Every major step must specify its expected output:
- "Expected Output: Terminal displays
Deployment Complete: 12/12 pods healthy."
- "Expected Output: Terminal displays
- Every major step must specify its expected output:
- Decision Trees & Branching Logic:
- Format conditional logic clearly:
- If status == 200: Proceed to Step 4.
- If status == 500: Jump to Troubleshooting Section 5.1.
- Format conditional logic clearly:
Step 4: Failure Handling, Rollback & Escalation Paths
- The Rollback Runbook:
- If the procedure fails mid-stream, provide exact rollback commands to restore the system to a safe baseline state.
- Escalation SLA & Contact Matrix:
- Who to page, on what channel, with what severity, if the procedure cannot be completed within 15 minutes.
Deliverable Format: Production Standard Operating Procedure (SOP-TEMPLATE.md)
# Standard Operating Procedure: Production Hotfix Deployment
*SOP ID: SOP-ENG-042 | Version: v2.1.0 | Owner: Platform Engineering Lead*
*Effective Date: [YYYY-MM-DD] | Review Cadence: Quarterly*
## 1. Purpose & Scope
This procedure governs the deployment of emergency hotfixes to production clusters outside the standard weekly CI/CD release cycle.
## 2. Prerequisites & Access Requirements
- Production AWS IAM Role `arn:aws:iam::123456789012:role/EmergencyDeployer`
- GitHub CLI (`gh`) authenticated with repository write access
- AWS CLI v2 and `kubectl` configured locally
## 3. Step-by-Step Execution Sequence
### Step 1: Branch Isolation & Verification
1. Checkout hotfix branch from `main`:
```bash
git checkout main && git pull origin main
git checkout -b hotfix/SEC-[IssueNum]- Run full test suite locally:
npm run test:ci- Acceptance Check: Exit code 0; all test suites pass.
Step 2: Build & Tag Container Image
- Trigger automated hotfix build pipeline:
gh workflow run hotfix-build.yml -f branch=hotfix/SEC-[IssueNum]- Expected Output: GitHub Actions emits image digest
sha256:....
- Expected Output: GitHub Actions emits image digest
Step 3: Production Rollout & Canary Verification
- Apply rollout to Canary pod pool (10% traffic):
kubectl set image deployment/api-gateway api=ecr.internal/api:[Digest] -n production - Monitor error rates for 5 minutes:
- Check Grafana dashboard
https://grafana.internal/d/canary-health. - Acceptance Gate: 5xx error rate must remain < 0.01%.
- Check Grafana dashboard
4. Rollback & Contingency Plan
If Canary error rate exceeds 0.05%:
- Roll back deployment immediately:
kubectl rollout undo deployment/api-gateway -n production - Notify Incident Commander on Slack
#incident-war-room.
5. Escalation Contacts
- Primary On-Call SRE: PagerDuty schedule
sre-tier-1 - Engineering VP: Phone: [Number] (Page if outage exceeds 15 minutes)
---
## Worked Example: Database Restoration SOP
- **Context**: Recovery runbook for encrypted PostgreSQL database snapshot restoration.
- **Impact**: Step-by-step SOP allowed a junior engineer on night rotation to restore an accidentally dropped customer table in 11 minutes with zero data corruption.
---
## Verification Checklist
- [ ] Every procedural step starts with an active imperative verb.
- [ ] Commands and code snippets are 100% copy-pasteable with exact syntax.
- [ ] Expected observable output is specified for every critical step.
- [ ] Explicit rollback procedures are documented for failed executions.
- [ ] Escalation contact matrix includes named roles and paging channels.
---
## Anti-Patterns
- **Ambiguous Instructions**: Writing "Configure the network properly" instead of providing the exact IP tables or YAML config.
- **Missing Rollback Runbook**: Explaining how to push a change without explaining how to revert it if it breaks.
- **Untested Runbooks**: Writing an emergency disaster recovery SOP that has never been dry-run in a staging environment.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

