/sdlc-documentation:01-deployment-guidefrom sdlc-documentation
Produces or updates deployment guides covering release prerequisites, migration choreography, verification, rollback, and ownership. Useful when preparing handoffs for release engineers.
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 |
|---|---|---|
| Deployment Guide | Release engineers and operators | An authorised operator can deploy and recover using versioned commands, named gates, and observable health checks. |
| 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 the release path from environment risk and migration reversibility and produce the full artefact. | An irreversible release without rollback evidence. |
| 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 an authorised operator can deploy and recover using versioned commands, named gates, and observable health checks.
Morris (2021), Infrastructure as Code, second edition. Apply incremental change and recovery planning separately to the service and its persistent data.
This is the first skill in Phase 06 (Deployment & Operations). It produces a comprehensive deployment guide that defines pre-deployment checklists, numbered deployment steps with exact commands, database migration procedures, environment-specific configuration, rollback procedures, and post-deployment verification. The output conforms to IEEE 1062 (Software Acquisition) and serves as the authoritative deployment reference for operations 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 runtime versions.Database_Design.md exists in projects/<ProjectName>/<phase>/<document>/ for database migration steps.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/<phase>/<document>/HLD.md, projects/<ProjectName>/_context/tech_stack.md, projects/<ProjectName>/<phase>/<document>/Database_Design.md (optional) |
| Output | projects/<ProjectName>/<phase>/<document>/Deployment_Guide.md |
| Tone | Procedural, precise, operations-facing |
| Standard | IEEE 1062 |
| 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, runtime versions, package managers |
| Database_Design.md | projects/<ProjectName>/<phase>/<document>/Database_Design.md | No | Database schema for migration step generation |
| File | Location | Description |
|---|---|---|
| Deployment_Guide.md | projects/<ProjectName>/<phase>/<document>/Deployment_Guide.md | Complete deployment procedure with pre-checks, steps, rollback, and verification |
Follow these eight 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/. Optionally read Database_Design.md from projects/<ProjectName>/<phase>/<document>/. Log the absolute path of each file read. Halt if any required file is missing.
Document every action that shall occur before deployment begins:
09-governance-compliance/05-formal-review-gates/references/uganda-public-sector-and-ngo-delivery-constraints.md; the finance engine (chwezi-accounting-doctrine) is the authority for the substance, and no statutory threshold is fixed as current.Produce numbered deployment steps with exact commands where the tech stack permits:
If Database_Design.md is present, define migration steps:
Document configuration differences across environments:
Provide the recovery steps for the observed state:
Document verification procedures after deployment completes:
Produce an environment matrix summarizing resource differences across dev/staging/prod. Write the completed document to projects/<ProjectName>/<phase>/<document>/Deployment_Guide.md. Log the total count of deployment steps and rollback steps.
The generated Deployment_Guide.md shall contain these sections in order: Document Header (project name, date, version, standards), 1. Pre-Deployment Checklist, 2. Deployment Steps, 3. Database Migrations, 4. Configuration, 5. Rollback Procedure, 6. Post-Deployment Verification, 7. Environment Matrix.
| Pitfall | Remedy |
|---|---|
| Deployment steps without exact commands | Every step shall include the literal command or action to execute |
| Missing rollback procedure | Every deployment guide shall specify a verified recovery path for each change |
| No environment differentiation | Configuration shall distinguish dev, staging, and prod explicitly |
| Post-deployment verification omitted | Every guide shall define health checks and smoke tests |
| Rollback ignores data and queues | Classify migrations as reversible, compensating-only, or forward-fix-only; include cache and queue recovery |
Deployment_Guide.md exists in projects/<ProjectName>/<phase>/<document>/ with all seven sections populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | Phase 03 (01-high-level-design) | Consumes HLD.md for system architecture and component topology |
| Upstream | Phase 04 (01-technical-specification) | Consumes tech specs for deployment context |
| Downstream | 02-runbook | Informs incident response with deployment context |
| Downstream | 04-infrastructure-docs | Feeds deployment topology into infrastructure documentation |
logic.prompt -- Executable prompt containing the step-by-step deployment guide 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-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./01-prd-generationUse when converting approved discovery evidence into a traceable PRD with objectives, prioritised features, success measures, constraints, and release scope; use vision-statement for the strategic north star and lean-canvas while assumptions still need testing./01-sprint-planningUse when preparing a sprint goal, evidence-based team capacity, selected backlog, task breakdown, and delivery risks. Use definition-of-ready to admit individual items and definition-of-done to judge completed increments./01-stakeholder-analysisUse when identifying and classifying stakeholders, influence, interests, decision rights, and communication needs before elicitation; use elicitation-toolkit to gather requirements from them./01-technical-specificationUse when producing or updating implementation-ready technical specification for module contracts, interfaces, data schemas, dependencies, and requirement traceability. Use coding-guidelines for the neighbouring concern; this skill owns the named document contract and its acceptance evidence.Other plugins' skills for the same job