Documenting Tooling Workflows
Quick start
Collect or infer:
- •Workflow goal and success criteria
- •Tools involved and their versions
- •Prerequisites (accounts, credentials, installed software)
- •Input artifacts and output artifacts
- •Decision points and branching paths
- •Error states and recovery procedures
Then produce output using TEMPLATES.md. Validate with RUBRIC.md.
Workflow
- •Map the end-to-end workflow with all steps and decision points.
- •Identify prerequisites and document verification commands.
- •Write step-by-step instructions with expected outputs.
- •Document error states and recovery for each critical step.
- •Add a visual workflow diagram if complexity warrants.
- •Run the rubric check. Revise until it passes.
Degrees of freedom
- •Low freedom: Step format must include command, expected output, and troubleshooting.
- •Medium freedom: Diagram style and sectioning can adapt to workflow complexity.
- •Allowed variation: Additional sections (optimization, alternatives) as long as rubric passes.
Failure modes to avoid
- •Assuming tools are pre-installed without verification steps
- •Omitting expected output, leaving users unsure if step succeeded
- •Documenting happy path only, ignoring common failures
- •Version drift: workflow breaks silently when tools update
- •Missing rollback procedures for destructive operations
References
- •Templates: TEMPLATES.md
- •Rubric: RUBRIC.md
- •Examples: EXAMPLES.md
- •Workflow patterns: reference/workflow-patterns.md
- •Diagram conventions: reference/diagram-conventions.md