--- name: sop-builder description: Turn a genuinely repeated process into a short executable SOP with trigger, inputs, decision points, quality checks and definition of done. Not for one-time work or roadmaps. --- # SOP Builder ## Workflow 1. Define the trigger and desired done state. 2. Identify required inputs/tools and the owner of each decision. 3. Write only repeatable actions in execution order. 4. Expose decision points and failure handling instead of hiding them in prose. 5. Put checks next to the step they validate when possible. 6. Remove steps that are merely commentary or optional optimization. ## Output Default: - **Trigger / goal** - **Required inputs** - **Steps** - **Decision / exception rules** where needed - **Quality checks** - **Definition of done** Add roles, timing or escalation only when the process actually needs them. ## Constraints - Use action verbs and concrete outputs. - Write the exceptions down: "usually X, sometimes Y" is where an SOP earns its keep. - A step that can fail states the expected result and what to do when it does not appear. A procedure that changes a live system ends with how to undo it and who to contact. - Do not turn obvious one-time work into an SOP. - Do not create nested procedures for every minor choice. - Keep required vs optional work visibly separate. - A good SOP should be shorter after refinement, not longer merely because it is documented.