/sdlc-documentation:04-infrastructure-docsfrom sdlc-documentation
Produces or updates infrastructure documentation covering topology, environments, dependencies, configuration ownership, recovery, and change controls. Prepares reviewable handoffs for Platform engineers and auditors.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source/provider | Required? | Behaviour when absent |
|---|---|---|---|
| Project _context/, approved requirements, and relevant architecture | Project owner and upstream phase skills | Required | Stop at a gap register; do not invent scope, thresholds, integrations, or owners. |
| Existing artefact, implementation, configuration, and evidence named below | Repository, delivery team, or service owner | Required when updating or assessing | Mark inaccessible items not assessed; do not treat them as passed. |
| Target audience, environment, risk tolerance, and authority | Requester and accountable owner | Required | Produce a read-only outline with explicit assumptions; do not mutate project or production state. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Infrastructure Documentation | Platform engineers and auditors | The documented topology matches deployed evidence and names ownership, recovery assumptions, and sensitive configuration boundaries. |
| Decision and gap register | Reviewer and downstream phase owner | Every assumption, rejected option, unresolved dependency, waiver, and owner is explicit. |
| Validation evidence | Release or governance reviewer | Checks identify command or method, date, result, evidence location, and all unassessed items. |
| Evidence | Minimum content | Acceptance |
|---|---|---|
| Traceability record | Source artefact, decision, output section, owner | No mandatory decision is source-free. |
| Quality-gate result | Check, expected result, observed result, evidence path | Failures and unavailable checks cannot appear as passes. |
| Review record | Reviewer, date, disposition, open actions | The consumer can reproduce the acceptance decision. |
If files, execution, network, rendering, environment access, fonts, or current evidence are unavailable, return the narrowest useful draft plus a gap register. Label affected checks not assessed, retain the intended acceptance oracle, and state who must supply or verify the missing evidence. Never convert an unavailable check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Evidence is complete and authority is explicit | Choose documentation depth from operational and audit risk and produce the full artefact. | A diagram that omits dependencies or recovery. |
| A required source or approval is missing | Stop the affected branch; record the gap, owner, and unblock condition. | Fabricated requirements or unauthorised action. |
| Evidence conflicts across sources | Preserve both claims, identify the controlling owner, and request a recorded decision. | Silent selection of a convenient but wrong source. |
| A check cannot run in the available environment | Keep its oracle and mark it not assessed; require later execution evidence. | False assurance from capability limits. |
not assessed, preserve the oracle, and name the verifier.Given an approved project source and a conflicting implementation detail, record both with provenance, stop the affected branch, and obtain the accountable owner's decision. Then update the relevant contract, define a reproducible acceptance check, and retain its observed result. The artefact is accepted only when the documented topology matches deployed evidence and names ownership, recovery assumptions, and sensitive configuration boundaries.
This is the fourth skill in Phase 06 (Deployment & Operations). It produces infrastructure documentation that defines architecture diagrams (Mermaid), compute resource specifications per environment, network topology, storage architecture, Infrastructure-as-Code references, and backup/disaster recovery procedures. The output conforms to IEEE 1016-2009 and provides a complete infrastructure reference for DevOps and platform engineering teams.
HLD.md exists in projects/<ProjectName>/<phase>/<document>/ with system architecture and component topology.tech_stack.md is present in projects/<ProjectName>/_context/ with technology choices and infrastructure tooling.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/<phase>/<document>/HLD.md, projects/<ProjectName>/_context/tech_stack.md |
| Output | projects/<ProjectName>/<phase>/<document>/Infrastructure_Docs.md |
| Tone | Technical, architecture-focused, DevOps-facing |
| Standard | IEEE 1016-2009 |
| File | Location | Required | Purpose |
|---|---|---|---|
| HLD.md | projects/<ProjectName>/<phase>/<document>/HLD.md | Yes | System architecture, component topology, deployment targets |
| tech_stack.md | projects/<ProjectName>/_context/tech_stack.md | Yes | Technology choices, infrastructure tooling, cloud provider details |
| File | Location | Description |
|---|---|---|
| Infrastructure_Docs.md | projects/<ProjectName>/<phase>/<document>/Infrastructure_Docs.md | Complete infrastructure documentation with diagrams, resources, network, storage, IaC, and DR |
Follow these seven steps in order. Halt and notify the user if a required input file is missing.
Read HLD.md from projects/<ProjectName>/<phase>/<document>/ and tech_stack.md from projects/<ProjectName>/_context/. Log the absolute path of each file read. Halt if any required file is missing.
Produce a Mermaid diagram representing the infrastructure layout:
For each environment (dev, staging, production), specify:
Document the network architecture:
Document storage systems and their configuration:
Document Infrastructure-as-Code artifacts:
Produce a cost estimate summary table per environment. Write the completed document to projects/<ProjectName>/<phase>/<document>/Infrastructure_Docs.md. Log the total count of compute resources, network components, and storage systems documented.
The generated Infrastructure_Docs.md shall contain these sections in order: Document Header (project name, date, version, standards), 1. Infrastructure Architecture Diagram, 2. Compute Resources, 3. Network Topology, 4. Storage Architecture, 5. IaC References, 6. Backup & DR, 7. Cost Estimates.
| Pitfall | Remedy |
|---|---|
| Architecture diagrams without data flow direction | Every diagram shall show directional connectivity between components |
| Compute resources without scaling policies | Every production resource shall define minimum, maximum, and scaling trigger |
| Network topology without security groups | Every subnet shall have associated security group rules |
| Missing RPO/RTO definitions | Backup and DR shall define RPO and RTO targets explicitly |
Infrastructure_Docs.md exists in projects/<ProjectName>/<phase>/<document>/ with all seven sections populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 01-deployment-guide | Consumes deployment topology for infrastructure layout |
| Upstream | 02-runbook | Consumes operational context for DR procedures |
| Upstream | 03-monitoring-setup | Consumes monitoring architecture for infrastructure diagram |
| Downstream | Phase 08 (User Documentation) | Feeds infrastructure details into administrator guides |
logic.prompt -- Executable prompt containing the step-by-step infrastructure documentation generation logic.README.md -- Quick-start guide for this skill.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job