Templates / flowchart
Deployment rollback decision
Post-deploy monitoring window with clear thresholds for when to auto-rollback versus page a human.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
deploy[Deploy new version] --> watch[Monitor for 10 minutes]
watch --> errors{Error rate above threshold?}
errors -->|yes| auto[Automatic rollback]
errors -->|no| latency{Latency regression?}
latency -->|yes| page[Page on-call]
latency -->|no| stable[Mark deploy stable]
page --> decide{Rollback or hotfix?}
decide -->|rollback| auto
decide -->|hotfix| ship[Ship hotfix]More templates
flowchartArchitecture
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
sequenceDiagramProcess
User login sequence
A login flow with token issuance and a failure branch. Useful for documenting auth endpoints and session behavior.
stateDiagram-v2Process
Order state machine
Lifecycle states for an e-commerce order, from creation to fulfillment, with cancellation and refund paths.