← Vault Index
Source: frameworks/kit-sop/05-sop-build-skill.md

Build Skill — SOP Production Workflow

How to Use This Skill

Follow this workflow in order for every SOP build. Do not skip steps. Do not jump ahead to building before the gap protocol is complete. The gap protocol exists to protect the quality of the deliverable and the trust of the engagement.


Step 1: Read Reference Data

Before anything else — before reading the source material, before opening the extraction transcript — read the client's reference data file.

The reference data file is the canonical source for:

Every proper noun in the SOP must match reference data, regardless of what the transcript, draft, or other source material says. Reference data wins every time.


Step 2: Read the Source Material

Routing Check — Run This First

Is an extraction interview available for this process?

If the advisor confirms that a draft-only build is intentional (e.g., a working draft for client review before full extraction) — document that decision and proceed with the understanding that significant gaps will exist and the output is not production-ready.

Source Material

Read all available source material in this order:

As you read, note what is explicitly stated vs. what is implied. Only explicitly stated content can be used. Implied content is a gap.


Step 3: Identify Gaps

After reading all source material, work through the Required Inputs table in 01-sop-context.md. For each required input, determine:

Common gaps when a pre-written draft is the primary source:

Document every gap. Use the gap report format from 01-sop-context.md.


Step 4: Stop — Present Gap Report to Advisor

Do not proceed to building until every gap is resolved.

Present the gap report to the advisor. For each gap, specify:

The advisor decides how each gap gets filled:

Do not suggest answers to fill gaps. Surface them and wait.

When the advisor provides resolutions, record them in the gap report resolution log. Mark each gap RESOLVED before building.


Step 5: Determine SOP Type

After gaps are resolved, confirm which type to build:

ConditionSOP Type
Multiple team members execute stepsHuman SOP
Handoffs between roles existHuman SOP
Process has phases and a cycleHuman SOP
One person operates it through an AI toolAgent SOP
Core deliverable is a copy-paste workflow promptAgent SOP

When in doubt: if more than one person touches it, it's a Human SOP.


Step 6: Open the Golden Example

Open the correct golden example in a browser:

Extract the exact CSS values documented in the golden example file. Do not work from memory. Write them down before building.

Then open the client deployment kit and confirm any client-specific overrides (role badge colors, brand variations). The deployment kit's values override the vault values where specified.


Step 7: Build

Build the SOP using the source material — extraction interview, gap resolutions, reference data — and the styling values from the golden example and deployment kit.

Build Order (Human SOP)

Build sections in this order. Complete each section before starting the next.

  1. Header — Document title, subtitle, version badge, client brand name
  2. Overview — Description paragraph (Cormorant Garamond, 1.15rem) + meta grid (Process Owner, Scope, Platform, Cadence)
  3. Team Roster — Grid of roles with color-coded badges. Every person from the extraction. Responsibilities written for this process specifically.
  4. Before the Process Begins — Readiness conditions with .context-bar left borders. Not checkboxes. Not tasks.
  5. Process Flow — Hand-built HTML/CSS diagram. No Mermaid. Phases, decision points, path labels, exception paths.
  6. Process Guide — Expandable step cards organized by phase. Each card: step number, title, role owner tags, summary, What/When/Who detail, gates/flags if any.
  7. Recurring Checkpoints — Cross-phase monitoring item. Navy background with gold left border.
  8. Monthly Rhythm & Checkpoints — Dark navy block. Timeline + role checkpoints. All text cream at opacity — no gold, no green.
  9. Quick Reference — Status tags, decision authority, key definitions, escalation protocol.
  10. Parking Lot — Items from extraction only. "No build assigned." at end of each item.
  11. Review Schedule — Owner, last updated, next review, version notes.
  12. Footer — Client brand name (line 1) + Document Title · Version · Month Year (line 2). No Advisory OS. No consultant name.

Build Order (Agent SOP)

  1. Header — Document title, subtitle, version badge, client brand name
  2. Overview — Description paragraph + 3-column meta grid (Owner, Duration, Output)
  3. Owner Line — Single line: Owner: [Role] ([Name])
  4. Before You Begin — Readiness conditions with .context-bar left borders
  5. Process Flow — Hand-built HTML/CSS. Linear flow with one or two decision points. No phase system.
  6. Process Guide — Brief step descriptions. What happens at each step — not expandable cards.
  7. Executable Workflow — Dark navy block with copy button. JetBrains Mono. The workflow text is the core deliverable.
  8. Recurring Checkpoint — Simple cadence block.
  9. Review Schedule — Owner, last updated, next review, version notes (replaces Parking Lot for Agent SOPs).
  10. Footer — Same format as Human SOP.

Content Rules

Process Flow Diagram Rules


Step 8: Run Gate 2 QC

After completing the build, run the Gate 2 checklist from 04-sop-quality.md.

Run the checks in order:

  1. Encoding (first — any encoding artifact is a blocking failure)
  2. Content accuracy
  3. Structure
  4. Reference data compliance
  5. Type-specific checks (Human or Agent)
  6. Visual verification (mandatory — open in browser)

Fix every blocking failure before proceeding. After fixing, re-run the full Gate 2 checklist. A fix may introduce a new issue.


Step 9: Deliver for Advisor Review

After Gate 2 passes:

The SOP does not go to the client until the advisor reviews and approves.


When the Source Is a Pre-Written Draft

If the primary source is a pre-written draft (a brief, a PDF, a Google Doc) rather than an extraction interview:

  1. Read the draft carefully and extract everything that is explicitly stated
  2. Work through the Required Inputs table — every item not covered by the draft is a gap
  3. Expect significant gaps: process owner, team roster, step-level What/When/Who, phase structure, decision authority are almost never in a draft
  4. Present the gap report to the advisor before building
  5. Do not start building until extraction fills the gaps

A draft-only build is not complete. It may be useful as a quick reference document or a starting point for the client's internal use, but it is not a production-quality SOP and should not be labeled as one.


When Building a Revision

When new information surfaces (from a session transcript, stakeholder feedback, or implementation observation) that requires updating an existing SOP:

  1. Read the current SOP version
  2. Identify specifically what changed — step content, ownership, team roster, platform, process structure
  3. Update only the changed sections
  4. Run Gate 2 QC on the full document after updating
  5. Increment the version number
  6. Update the Review Schedule version notes with what changed

Do not use a revision as an opportunity to rewrite sections that weren't changed. Update what changed, QC the full document, deliver.