Sop creation

From FerroxLabs/wayland · View interactive version

Sop creation is an AI agent skill from the GitHub repository FerroxLabs/wayland. Produces a standard operating procedure document with purpose, scope, step-by-step instructions, roles, safety notes, and revision tracking using ISO-adjacent SOP format. Use when the user asks to create an SOP, write a standard operating procedure, document a business process, build a step-by-step

How to use this skill

Skill file

SOP Creation

When to Use

Process

  1. Collect SOP context. Before producing the SOP, gather:
  1. Write the SOP header. Include required metadata:
  1. Define purpose and scope. Establish boundaries:
  1. Document roles and responsibilities. For each role involved:
  1. Write the procedure steps. For each step:
  1. Add supporting sections. Complete the SOP with:

Output Format

## Standard Operating Procedure: [Process Name]

| Field | Details |
|-------|---------|
| **SOP Number** | [Department-XXX] |
| **Effective Date** | [Date] |
| **Revision** | [X.X] |
| **Author** | [Name, Title] |
| **Reviewer** | [Name, Title] |
| **Approver** | [Name, Title] |
| **Department** | [Department] |
| **Review Schedule** | [Annual / After each process change / Other] |
| **Next Review Date** | [Date] |

---

### 1. Purpose

[One sentence: This SOP establishes the procedure for [process] to ensure [outcome: consistency, compliance, quality, safety].]

### 2. Scope

**Covers:** [What this SOP applies to]
**Does not cover:** [What is excluded -- reference other SOPs if applicable]
**Applicability:** [Who must follow this SOP and when]

### 3. Definitions

| Term | Definition |
|------|-----------|
| [Term 1] | [Clear definition] |
| [Term 2] | [Definition] |

### 4. Roles and Responsibilities

| Role | Responsibilities | Decision Authority | Escalation Path |
|------|-----------------|-------------------|-----------------|
| [Role 1] | [What they do in this process] | [What they can decide] | [Who they escalate to] |
| [Role 2] | [Responsibilities] | [Authority] | [Escalation] |

### 5. Required Materials and Tools

- [ ] [Material/tool 1]
- [ ] [Material/tool 2]
- [ ] [Material/tool 3]
- [ ] [Access/permissions required]

### 6. Procedure

**Step 1: [Action Title]**
**Performed by:** [Role]
**Time:** [Expected duration]

[Verb-first instruction. Clear, specific, unambiguous.]

- [Sub-step or detail]
- [Sub-step or detail]

**Verification:** [How to confirm this step was completed correctly]

---

**Step 2: [Action Title]**
**Performed by:** [Role]
**Time:** [Expected duration]

[Instruction.]

- If [condition A]: [do this]
- If [condition B]: [do that instead]

**Verification:** [Check]

---

**Step 3: [Action Title]**
**Performed by:** [Role]
**Time:** [Expected duration]

[Instruction.]

> **WARNING:** [Safety or compliance note if applicable]

**Verification:** [Check]

---

[Continue for all steps]

---

**Final Step: [Completion and Documentation]**
**Performed by:** [Role]

[Record completion, file documentation, notify relevant parties.]

### 7. Safety and Compliance Notes

- [Safety requirement or regulatory note]
- [Compliance obligation]
- [PPE or precaution if applicable]

### 8. Troubleshooting

| Problem | Likely Cause | Solution | Escalate If |
|---------|-------------|----------|-------------|
| [Problem 1] | [Cause] | [Fix] | [When to escalate] |
| [Problem 2] | [Cause] | [Fix] | [Escalation trigger] |

### 9. Related Documents

| Document | Reference |
|----------|-----------|
| [Related SOP] | [SOP number] |
| [Form or template] | [Location] |
| [Regulation or standard] | [Reference] |

### 10. Revision History

| Rev | Date | Author | Description of Change |
|-----|------|--------|--------------------|
| 1.0 | [Date] | [Author] | Initial release |
| 1.1 | [Date] | [Author] | [What changed] |

Rules

  1. NEVER produce an SOP without first collecting the process name, who performs it, and any compliance requirements
  2. Every step must begin with a verb -- "Record the temperature" not "The temperature should be recorded"
  3. Steps must be sequential and numbered -- parallel steps must be explicitly marked as such
  4. Role references must use titles, not names -- "Shift Supervisor" not "John Smith"
  5. Include a verification check for every critical step -- how does the performer know they did it correctly?
  6. Decision points must use explicit if/then language, not vague "use your judgment"
  7. ALWAYS include a revision history table -- SOPs without version control become unreliable
  8. Include a review schedule with a specific next review date -- SOPs that are never reviewed decay
  9. Safety warnings must appear immediately before the relevant step, not in a separate section only
  10. The troubleshooting section must cover at least 3 common problems with specific solutions

Edge Cases

Example

Input: "Create an SOP for our weekly inventory count at a retail store. The store manager and one associate perform it every Monday morning before the store opens. They count stock in each department, compare to the system, and flag discrepancies over $50."

Output:

Standard Operating Procedure: Weekly Inventory Count

| Field | Details |

|-------|---------|

| SOP Number | OPS-001 |

| Effective Date | [Current date] |

| Revision | 1.0 |

| Author | [Name, Operations Manager] |

| Approver | [Name, Regional Manager] |

| Department | Store Operations |

| Review Schedule | Annual or after process change |

| Next Review Date | [Date + 12 months] |


1. Purpose

This SOP establishes the procedure for the weekly physical inventory count to ensure inventory accuracy, identify discrepancies, and prevent shrinkage.

2. Scope

Covers: Physical count of all merchandise in the store, comparison to system records, and discrepancy reporting.

Does not cover: Annual full inventory audit (see SOP OPS-005) or receiving/stocking procedures (see SOP OPS-002).

Applicability: Store Manager and designated Store Associate every Monday before store opening.

6. Procedure

Step 1: Prepare Count Materials

Performed by: Store Manager

Time: 10 minutes

Print the current inventory report from the inventory management system. Prepare count sheets for each department (5 departments). Assign departments to the Store Associate (2 departments) and yourself (3 departments).

Verification: Count sheets printed for all 5 departments, pens and clipboards ready.


Step 2: Perform Physical Count by Department

Performed by: Store Manager and Store Associate (simultaneously)

Time: 45-60 minutes

Count every item in the assigned department. Record the count on the department count sheet. Count each SKU once -- use a marker to indicate counted shelves.

Verification: Every shelf in the department has been counted and marked.


Step 3: Compare Counts to System Records

Performed by: Store Manager

Time: 20 minutes

Enter physical counts into the inventory system. The system calculates the variance for each SKU. Flag any SKU with a variance exceeding $50 in value.

Verification: All department counts entered, variance report generated, discrepancies over $50 flagged.


10. Revision History

| Rev | Date | Author | Description of Change |

|-----|------|--------|--------------------|

| 1.0 | [Current date] | [Author] | Initial release |

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.