mcpField
S
sop-writer

sop-writer

github.com/mohitagw15856Documents1.5k80 installsUpdated 5d ago
Repository

About sop-writer

sop-writer is a skill for drafting formal, audit-ready standard operating procedures for regulated industries and operational teams. It structures procedures around assigned roles, single-action steps, quality checks, deviations, and document history.

Key features

  1. 01Formal SOP structure
  2. 02Role-assigned procedure steps
  3. 03Quality and deviation checks
  4. 04Version and review tracking

Use cases

  1. 01Drafting an ISO or GMP procedure
  2. 02Documenting responsibilities and equipment
  3. 03Preparing auditable operational instructions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mohitagw15856/pm-claude-skills --skill sop-writer

After installing, type/sop-writerin Claude Code to confirm it loaded.

Details

From the project README

SOP Writer Skill

Produces formal, audit-ready SOPs suitable for regulated industries, ISO certification, or operational scaling.

Not quite this? Use cn-sop-writer when it is a one-station shop-floor work instruction (作业指导书) for a factory.

Required Inputs

  • SOP title (e.g. "SOP-001: New Client Onboarding")
  • Department / function
  • Process description
  • Regulatory or quality standard (ISO 9001, GMP, CQC, FCA, etc.)
  • Roles involved
  • Tools or equipment used

Output Structure


[COMPANY NAME] — Standard Operating Procedure

Document ID[SOP-XXX]
Title[Title]
Department[Department]
Version1.0
Effective date[Date]
Review date[Date]
StatusDraft / Under review / Approved

1. Purpose

[1-2 sentences. Why does this SOP exist?]

2. Scope

Applies to: [Roles, departments, locations] Does not apply to: [Explicit exclusions]

3. Definitions
TermDefinition
[Term][Plain English definition]
4. Responsibilities
RoleResponsibility
[Role][Specific responsibility]
5. Required Materials / Tools / Access
  • [Item]
6. Procedure
StepActionResponsibleRecord/Output
6.1.1[Imperative action: "Open [system] and navigate to [location]"][Role][What to record]

NOTE: Steps must be written in imperative form. Each step must have one action only.

7. Quality Checks
Check pointWhat to verifyPass criteriaIf fail
[After step X][What to check][What good looks like][What to do]
8. Non-Conformance
  1. [Immediate action]
  2. [Who to notify]
  3. [How to document deviation]
9. References

[Related SOPs, policies, standards]

10. Document History
VersionDateAuthorChanges
1.0[Date][Name]Initial release

Quality Checks

  • All steps written in imperative form ("Open...", "Navigate...", "Confirm...")
  • Each step has exactly one action
  • Role specified for every step
  • Quality checkpoints at critical stages
  • Non-conformance process defines who to notify and how to document
  • Document history table and review date are included

Example Trigger Phrases

  • "Write an SOP for [process]"
  • "Create a standard operating procedure for [task]"
  • "Write a work instruction for [process]"

Anti-Patterns

  • Do not write steps that contain more than one action — each step must be a single, auditable action in imperative form
  • Do not omit a role from any step — every action must be assigned to a specific role or the SOP cannot be enforced
  • Do not skip the non-conformance section — an SOP without a deviation process cannot meet audit or regulatory requirements
  • Do not produce an SOP without a review date and version history — undated documents cannot be relied upon for compliance
  • Do not use passive voice in procedure steps — write "Open the system" not "The system should be opened"

Comments

Markdown supported