/sdlc-documentation:03-monitoring-setupfrom sdlc-documentation
Produces or updates monitoring and alerting specifications: service indicators, dashboards, alerts, ownership, and runbook links. Prepares reviewable handoffs for SRE and service owners.
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 |
|---|---|---|
| Monitoring And Alerting Specification | SRE and service owners | Each user-impacting failure has a measurable signal, actionable alert, owner, threshold rationale, and runbook. |
| 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 alerts from user impact and SLO burn, not raw metric availability and produce the full artefact. | Noisy alerts without an operator action. |
| 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 each user-impacting failure has a measurable signal, actionable alert, owner, threshold rationale, and runbook.
SaaS mode: if the project is a multi-tenant SaaS, apply
references/saas-monitoring-addendum.mdin addition to the generic steps below.
This is the third skill in Phase 06 (Deployment & Operations). It produces monitoring and alerting design documentation that defines a metrics catalog, alert thresholds tied to SLAs, dashboard specifications, health check endpoints, log aggregation strategy, and on-call notification rules. The output conforms to ISO/IEC 25010 (Reliability, Performance Efficiency) and ensures the system is observable in production.
HLD.md exists in projects/<ProjectName>/<phase>/<document>/ with component architecture for per-component metric definition.quality_standards.md is present in projects/<ProjectName>/_context/ with SLAs and quality targets.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/<phase>/<document>/HLD.md, projects/<ProjectName>/_context/quality_standards.md |
| Output | projects/<ProjectName>/<phase>/<document>/Monitoring_Setup.md |
| Tone | Technical, observability-focused, SRE-facing |
| Standard | ISO/IEC 25010 |
| File | Location | Required | Purpose |
|---|---|---|---|
| HLD.md | projects/<ProjectName>/<phase>/<document>/HLD.md | Yes | Component architecture for per-component metric definition |
| quality_standards.md | projects/<ProjectName>/_context/quality_standards.md | Yes | SLAs, SLOs, and quality targets for alert threshold derivation |
| File | Location | Description |
|---|---|---|
| Monitoring_Setup.md | projects/<ProjectName>/<phase>/<document>/Monitoring_Setup.md | Complete monitoring design with metrics, alerts, dashboards, and health checks |
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 quality_standards.md from projects/<ProjectName>/_context/. Log the absolute path of each file read. Halt if any required file is missing.
For each component in HLD.md, define the metrics to collect:
For each metric, define warning and critical thresholds derived from quality_standards.md SLAs:
Design monitoring dashboards for different audiences:
For each service component, define health check endpoints:
/health, /ready, /live)Document the log collection and analysis approach:
Document on-call notification configuration:
projects/<ProjectName>/<phase>/<document>/Monitoring_Setup.md. Log the total count of metrics, alerts, and dashboard panels.The generated Monitoring_Setup.md shall contain these sections in order: Document Header (project name, date, version, standards), 1. Metrics Catalog, 2. Alert Definitions, 3. Dashboard Specifications, 4. Health Checks, 5. Log Aggregation, 6. Notification Rules.
| Pitfall | Remedy |
|---|---|
| Metrics without units or collection intervals | Every metric shall specify unit and collection interval |
| Alert thresholds not tied to SLAs | Every critical threshold shall reference a specific SLA or SLO |
| Noisy alerts with no owner | Every paging alert shall have an owner, action, runbook link, and escalation path |
| Dashboards without refresh intervals | Every dashboard shall specify its refresh interval |
| Health checks without timeout values | Every health check shall define check interval and timeout |
Monitoring_Setup.md exists in projects/<ProjectName>/<phase>/<document>/ with all six sections populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 01-deployment-guide | Consumes deployment topology for monitoring scope |
| Upstream | Phase 03 (01-high-level-design) | Consumes HLD.md for component architecture |
| Parallel | 02-runbook | Alert definitions inform runbook playbook thresholds |
| Downstream | 04-infrastructure-docs | Feeds monitoring architecture into infrastructure documentation |
logic.prompt -- Executable prompt containing the step-by-step monitoring setup generation logic.README.md -- Quick-start guide for this skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
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.