Operations · Operations & process management
Agile documentation
Best for Growth
Use it when
An agile team must decide which documents to keep for the people who will run, support or change its product, and keep them small and current.
Skip it when
- You are planning the full set of user-facing docs for a developer product. Use Documentation framework.
- You are writing or revising one page. Use Technical writing framework.
- The team has not agreed how much up-front documentation its way of working calls for. Review Agile manifesto principles first.
- You need procedures and work instructions for an operational process. Use Process documentation framework.
- Detailed requirements could be written as tests. Use Behavior-driven development (BDD) to turn them into executable specifications.
What to apply first and what to use instead are listed below.
Inputs
- Document requestsEach document someone has asked for, with the requester, what they will use it for and when, gathered from stakeholders, support, operations and maintainers.
- Current documentsThe documents and models the team already has, with the date each was last updated, from the wiki or the code repository.
- Required documentsDocuments that regulation, contracts or the release process demand, from compliance or the release owner.
- Product backlogThe ordered backlog where documentation work will sit beside features, from the product owner.
- Recent decisionsOptionalSignificant design and architecture decisions from the last few iterations, from design discussions, for decision records.
Steps
- List each requested document with its reader, its purpose and when it is needed, and drop any request nobody can justify.
- Choose the lightest form that meets each need, such as a test, a generated diagram, a decision record, a short overview or a wiki page, and give each fact one home.
- Add each remaining document to the backlog as a work item with an estimate, so stakeholders fund it like a feature.
- Record each significant design decision as a short numbered record in the code repository with its context, decision, status and consequences, and mark replaced records superseded.
- Keep notes during development, and write overviews, user guides and support documents once the design has stabilized, usually near the end of a release.
- Show each document to its reader, revise it from their feedback, and count it done only when the reader accepts it.
Output
A documentation list for the product, giving each document's reader, form, home and owner, with the documents themselves kept in the repository or wiki.
- Document and reader
- Purpose and date needed
- Form (test, generated, decision record, overview or page)
- Home (repository, wiki or code)
- Backlog item and estimate
- Owner
- Reader acceptance and date
- Last updated
Done when
- Every document on the list names a reader and a purpose.
- Each fact has one home, and other documents link to it.
- Every documentation item sits on the backlog with an estimate.
- Every significant decision from the period has a numbered record with a status.
- Every delivered document has been accepted by its reader.
Measure
Each release, track how many documents readers accepted on first review, how many pages were out of date when spot checked, and how often maintainers or support asked questions a document should have answered. Compare with your previous release. It is working when acceptance rises, stale pages fall and repeat questions drop, while documentation stays a small, visible share of the backlog.
Hypothetical example
A team building a warehouse scanning app at Corvel receives eleven document requests before release. Operations needs a runbook for restarts, and a support lead wants a troubleshooting guide. A manager asks for a 40-page design specification but cannot say who would read it, so the team offers a two-page overview with diagrams generated from the code. Three requirement documents are dropped because acceptance tests in the build already cover them. The team adds six documents to the backlog with estimates and writes four short numbered records for past design decisions. Near release, the operations lead tries the runbook during a test restart, asks for one missing step and then accepts it.
Common mistakes
- Writing detailed design documents early, while the design still changes. Keep notes and write once it has stabilized.
- Producing documents because a process template lists them. Ask each requester what they will use it for and drop what nobody needs.
- Copying the same facts into several documents. Keep each fact in one place and link to it.
- Deleting reversed decisions. Keep the old record, mark it superseded and link it to the new one.
- Skipping documentation altogether. Plan the user, support, operations and system overview documents the product needs.
Sources
- Core Practices for Lean/Agile Documentation · Scott W. Ambler
- Documenting Architecture Decisions · Michael Nygard, 2011
- Manifesto for Agile Software Development · Kent Beck and others, 2001
By company stage
Apply first
- Agile manifesto principlesOperations · Operations & process management
"Just enough" documentation follows from the manifesto's value of working software over comprehensive documentation.
Use instead
- Documentation framework
You are planning the full set of user-facing docs for a developer product. Use Documentation framework.
- Technical writing framework
You are writing or revising one page. Use Technical writing framework.
- Agile manifesto principles
The team has not agreed how much up-front documentation its way of working calls for. Review Agile manifesto principles first.
- Process documentation framework
You need procedures and work instructions for an operational process. Use Process documentation framework.
- Behavior-driven development (BDD)
Detailed requirements could be written as tests. Use Behavior-driven development (BDD) to turn them into executable specifications.
Where it sits
Open the operations & process management roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account