Skip to content

Generating SOP Guides — User Guide

Quick Reference

  • Who: AI Agent (via IDE)
  • Where: AI Coding IDE
  • Time: ~10-15 minutes
  • Prerequisites: Knowledge layer (personas, JTBD, flows) recommended

This guide is for: AI Agent Alex

Job To Be Done: Systematize codebase knowledge

DocKit Master SOPs are not just step-by-step instructions. They include:

FeatureTraditional SOPDocKit Master SOP
StepsYesYes
Persona contextNoWho this guide is for
JTBD alignmentNoWhy the user does this
Process flowNoMermaid workflow diagram
User journeyNoSatisfaction scoring
TroubleshootingSometimesAlways (progressive disclosure)
FAQSometimesAlways (schema-ready for SEO)
graph TB

    S(["Start: knowledge layer exists"])
    A["Read sop-guide.md skill"]
    B["Identify user-facing features"]
    C["Group by module"]
    D["Generate SOP per feature"]
    E(["SOP files in docs/sop/"])

    S --> A --> B --> C --> D --> E

SOP guides are enriched with personas, JTBD, and flows. If these do not exist, the SOP skill automatically runs the knowledge skills first.

Use DOC_TYPE = sop or all in the configuration prompt.

Each SOP file should contain these sections in order:

  1. Quick Reference card
  2. Persona Context (linked to persona + JTBD)
  3. Process Flow (inline Mermaid diagram)
  4. Prerequisites checklist
  5. Numbered step-by-step guide
  6. Expected Results
  7. Troubleshooting (in <details> tags)
  8. FAQ (H3 questions under H2 FAQ)