/sdlc-documentation:08-saas-slo-and-error-budget-docfrom sdlc-documentation
Produces SaaS SLO and error-budget documents from approved project evidence, covering SLIs, targets, burn alerts, exclusions, and response policy with traceability and validation records.
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 |
|---|---|---|
| Service-level Objective Document | Service owners, SRE, and release teams | Each SLO has a computable SLI, justified target, data source, exclusions, burn policy, and linked response. |
| 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 objectives from user harm and measured baseline and produce the full artefact. | Unmeasurable reliability promises. |
| 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 SLO has a computable SLI, justified target, data source, exclusions, burn policy, and linked response.
Produces the SLO/error-budget document for a SaaS system, with per-tier targets and customer-SLA mapping. Anchored in Google SRE practice and Golding (2024) tiering.
| Attribute | Value |
|---|---|
| Inputs | Multi_Tenancy_Architecture_Spec.md, Monitoring_Setup.md, quality_standards.md, pricing & packaging spec |
| Output | SLO_And_Error_Budget_Doc.md |
| Standard | Google SRE / ISO/IEC 25010 |
For every service-tier combination, list Service Level Indicators:
Each SLI declares: definition, measurement source, sampling window, exclusions (planned maintenance).
| Tier | Availability | Latency P95 | Latency P99 | Support response | Notes |
|---|---|---|---|---|---|
| Bronze | 99.5% | 800 ms | 2000 ms | next business day | shared pool |
| Silver | 99.9% | 400 ms | 1000 ms | 4 h | shared pool with reserved capacity |
| Gold | 99.95% | 200 ms | 500 ms | 1 h | pod-isolated |
| Enterprise | 99.99% | 150 ms | 300 ms | 15 min, named CSM | silo or dedicated pod |
State error budget per SLO and the formula error_budget_minutes = (1 - SLO) × period_minutes.
Define multi-window multi-burn-rate alerts:
| Alert | Severity | Burn rate | Window | Threshold |
|---|---|---|---|---|
| Fast burn | SEV2 | 14.4× | 1 h | 2% of monthly budget |
| Medium burn | SEV3 | 6× | 6 h | 5% of monthly budget |
| Slow burn | SEV4 | 1× | 3 d | 10% of monthly budget |
State the rules that take effect when error budget is exhausted: no risky deploys, increased review, postmortem actions blocked from being skipped, executive notification at < 0% budget remaining.
For each tier, map the internal SLO to the contractual SLA commitment (which is typically more conservative — internal 99.95% backs external 99.9%). Define service-credit schedule (% credit per breach band), the exclusions, the measurement method, the credit-request process.
SLO_And_Error_Budget_Doc.md with sections: 1) SLI Inventory, 2) Per-Tier SLO Targets, 3) Error-Budget Math, 4) Burn-Rate Alerts, 5) Freeze Rules, 6) Customer-SLA Mapping & Service Credits, 7) Review Cadence (monthly SLO review, quarterly target review).
logic.prompt, README.md, references/saas-slo-and-error-budget-template.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
slo, error-budget, sre, service-level-objectives, reliability
160 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./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.npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentationOther plugins' skills for the same job