An automated operations manual generation pipeline. An agent team collaborates to analyze existing documents and code to produce process flowcharts, step-by-step manuals, FAQs, and training materials. Use this skill for 'create operations manual', 'write SOP', 'auto-generate SOP', 'process documentation', 'manual writing', 'create work guide', 'procedure automation', 'create training materials', and similar process documentation topics. Code review, technical document translation, and marketing content creation are out of scope.
Analyzes existing documents, code, and wikis to produce process flowcharts, step-by-step manuals, FAQs, and training materials through agent team collaboration.
Agent Team — 5 members communicate directly via SendMessage and cross-validate each other's work.
| Agent | File | Role | Type |
|---|---|---|---|
| document-analyst | .claude/agents/document-analyst.md | Existing document/code analysis, process extraction | general-purpose |
| flowchart-designer | .claude/agents/flowchart-designer.md | Mermaid flowcharts, RACI matrix | general-purpose |
| manual-writer | .claude/agents/manual-writer.md | Step-by-step procedures, checklists | general-purpose |
| faq-builder | .claude/agents/faq-builder.md |
| FAQ, troubleshooting, escalation |
| general-purpose |
| training-producer | .claude/agents/training-producer.md | Quizzes, hands-on exercises, summary cards | general-purpose |
_workspace/ directory in the project root_workspace/00_input.md_workspace/ and switch to update modeAssemble the team and assign tasks. Task dependencies:
| Order | Task | Owner | Dependencies | Deliverable |
|---|---|---|---|---|
| 1 | Document/code analysis | analyst | None | _workspace/01_document_analysis.md |
| 2 | Process flowcharts | designer | Task 1 | _workspace/02_process_flowcharts.md |
| 3a | Step-by-step manual | writer | Tasks 1, 2 | _workspace/03_step_by_step_manual.md |
| 3b | FAQ/troubleshooting | faq | Tasks 1, 2 | _workspace/04_faq_troubleshooting.md |
| 4 | Training materials | producer | Tasks 3a, 3b | _workspace/05_training_materials.md |
Tasks 3a (manual) and 3b (FAQ) run in parallel. Both depend only on Tasks 1 and 2, so they can start simultaneously.
Inter-team communication flow:
The orchestrator performs final integration validation:
_workspace/_workspace/06_review_report.md| User Request Pattern | Execution Mode | Agents Involved |
|---|---|---|
| "Create a complete operations manual" | Full Pipeline | All 5 |
| "Analyze this code's processes" | Analysis Mode | analyst + designer |
| "Add FAQ to this procedure doc" (existing file) | FAQ Mode | faq + producer |
| "Update the existing manual" | Update Mode | analyst (changes only) + writer + faq |
| "Just create training materials" (existing manual) | Training Mode | producer solo |
Leveraging existing files: When the user provides existing manuals, procedures, or flowcharts, copy those files to the appropriate location in _workspace/ and skip the corresponding agent's phase.
| Strategy | Method | Usage |
|---|---|---|
| File-based | _workspace/ directory | Primary deliverable storage and sharing |
| Message-based | SendMessage | Real-time key information transfer, correction requests |
| Task-based | TaskCreate/TaskUpdate | Progress tracking, dependency management |
File naming convention: {order}_{agent}_{deliverable}.{ext}
| Error Type | Strategy |
|---|---|
| Source file inaccessible | analyst works with accessible sources only, lists "unanalyzed sources" in report |
| Process extraction impossible | Present interview questions for key processes to user, work from answers |
| Document contradictions | Prioritize code-based behavior, record contradictions in gap analysis |
| Mermaid rendering limitations | Split complex diagrams into sub-processes, supplement with text descriptions |
| Agent failure | 1 retry → proceed without that deliverable if still failing, note omission in review report |
Prompt: "Create a deployment process manual for our team. Sources include deploy.sh, CI config files, and existing wiki docs." Expected Results:
Prompt: "Based on this procedure doc, just add FAQ and training materials" + existing manual file Expected Results:
_workspace/03_step_by_step_manual.mdPrompt: "Create a customer service process manual, there are no docs, I'll explain verbally" Expected Results:
| Extension Skill | Path | Target Agent | Role |
|---|---|---|---|
| flowchart-standards | .claude/skills/flowchart-standards/skill.md | flowchart-designer | Flowchart notation, process patterns, complexity management |
| knowledge-base-design | .claude/skills/knowledge-base-design/skill.md | faq-builder, manual-writer | FAQ design, troubleshooting diagnostic trees, knowledge lifecycle |