nav-sop
Creates Standard Operating Procedures — reusable docs for integrations, debugging fixes, dev workflows, and deployment that prevent repeated mistakes.
Triggers
Natural-language phrases that auto-invoke the skill:
- “document this solution”
- “save this for next time”
- “create SOP”
- “make this reusable”
- “document the setup”
What it does
- Classifies the SOP into a category:
integrations,debugging,development, ordeployment - Derives a sanitized SOP name (
{service}-{action}) from your input or context - Checks the category for a similar existing SOP and offers to read/update instead of duplicating
- Generates the SOP from the conversation: context, problem/symptoms/root cause, step-by-step solution, complete code, testing, prevention, and troubleshooting
- Writes to
.agent/sops/{category}/{name}.md, creating the category directory if needed - Updates the Navigator index in
.agent/DEVELOPMENT-README.md - Cross-links the SOP to its originating task when applicable
Example
"Finally fixed the CORS issue, save this so we don't hit it again"Creates .agent/sops/debugging/cors-proxy-errors.md capturing the error, root cause, fix, and prevention, then registers it in the Navigator index.