Software engineering & state machines templates
Git workflows, code review, on-call, and state diagrams for common software objects — drawn as flowcharts. Every one opens as a real, editable diagram — restyle it, extend it and export it as your own. See also the system architecture diagram tool.
All 13 software engineering & state machines templates
Git branching workflow
Feature branches, pull requests, release branches and hotfixes — a GitFlow-style model for teams that ship versioned releases.
MermaidCode review process
From opening a pull request to merge: automated checks, reviewer assignment, feedback rounds and approval rules.
MermaidOrder state machine
Every state an e-commerce order can be in and the transitions between them — a classic state diagram drawn as a flowchart.
MermaidIssue tracker ticket lifecycle
The states of a Jira-style issue and who moves it between them.
MermaidOn-call rotation & handoff
Weekly on-call handoff, escalation policy and post-shift review for an engineering team.
MermaidAPI versioning & deprecation
Introducing a breaking API change safely: new version, migration period, sunset headers and removal.
MermaidZero-downtime database migration
The expand-migrate-contract pattern for changing a column or table without taking the app down.
MermaidWebSocket connection lifecycle
Connect, authenticate, heartbeat, reconnect with backoff — the client state machine for real-time apps.
MermaidCache-aside read & write path
How an application reads and writes through a cache with TTLs and invalidation, including stampede protection.
MermaidDistributed transaction saga
Booking a trip across flight, hotel and payment services with compensating actions when a step fails.
MermaidTrunk-based development workflow
How teams practise trunk-based development: short-lived branches, feature flags for unfinished work, fast CI checks and continuous deployment from main.
MermaidIncident postmortem process
A blameless postmortem after a production incident: build the timeline, find contributing causes, agree action items, review, publish and track to completion.
MermaidSemantic versioning release process
Cutting a release with semantic versioning: classify changes as major, minor or patch from conventional commits, bump the version, tag, publish and write the changelog.
Mermaid