design-sla
Set per-service SLIs, SLOs and SLAs with error budgets and criticality tiers from customer expectations.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 13
- Forks
- 1
01 前言 Front Matter
- model
- sonnet
- description
- Set per-service SLIs, SLOs and SLAs with error budgets and criticality tiers from customer expectations.
- argument-hint
- [--auto] [--lang=ja|en]
03 SKILL.md 正文
SLA Design
Shared files: a path written @rules/…, @skills/…, @templates/… or @docs/… is relative to the
plugin root, ${CLAUDE_PLUGIN_ROOT} — not to the project being worked on. Read it from there.
Desired Outcome
Produce one deliverable:
- SLA —
reports/04_quality/sla.md(SLA-/SLO-IDs): per-service SLI / SLO / SLA, the error budget (1 − SLO) and its policy, and criticality tiers (critical / standard / best-effort). Targets align to customer expectation; SLO is stricter than SLA.
Invocation
/product:design-sla [--auto] [--lang=ja|en]
| Argument/Flag | Required | Description |
|---|---|---|
--auto |
Optional | Derive without elicitation; missing targets → TBD |
--lang |
Optional | Override output language |
Decision Criteria
- SLO = SLA − buffer. The internal objective is always stricter than the external promise.
- Align to customer expectation, not round numbers — pull expectations from positioning/benefit.
- Tier by criticality — not every service needs the same level.
- State the error budget (
1 − SLO) and the freeze/release policy for critical services. - Stop condition: each key service has an SLI, an SLO, an SLA with buffer, an error budget, and
a criticality tier (numbers may be
TBD).
Prerequisites
| Input | Required/Recommended | Source | If missing/empty |
|---|---|---|---|
reports/02_spec/feature-list.md |
Required | /product:define-features |
block with a message — SLAs attach to services/features |
reports/01_ux/positioning.md |
Recommended | /product:design-positioning |
customer expectation degrades to TBD |
reports/00_core/benefit-evaluation.md |
Optional | /product:design-revenue |
use for value/criticality weighting if present |
Process
- Read context — features, positioning (expectations), benefit eval,
work/traceability.json. - Define SLIs — the signals that matter per key service. Apply
@rules/product/sla-nfr.md. - Set SLOs — targets aligned to customer expectation, tiered by criticality.
- State SLAs — external promise with a buffer below the SLO.
- Error budgets — compute
1 − SLO; state the policy. - Append traceability — add
SLA-/SLO-nodes towork/traceability.jsonwith UpstreamFEAT-/POS-references. - Record — write the file; append decisions to
work/context.md; ask remaining unknowns and log only what stays open (@rules/open-questions.md).
Output
Every Markdown document here opens with the ## ELI5 section of @rules/eli5-summary.md, as
options.eli5 (default technical) directs.
reports/04_quality/sla.md, with SLA-/SLO- tables (Upstream column), error budgets, and tiers.
Reference Materials
| Resource | Purpose |
|---|---|
@rules/product/sla-nfr.md |
SLI/SLO/SLA, error budgets, criticality tiers |
Related Skills
| Skill | Relationship |
|---|---|
/product:define-features |
Upstream — services/features to set levels for |
/product:design-positioning |
Upstream — customer expectations |
/product:define-nfr |
Downstream — NFRs derive from these SLOs |
/product:adapt-change |
Re-runs this skill when expectations change |
04 同仓库更多 Skills
doctor
Check the install and a project: plugins at the repository's version, hooks and skills in place, the two knowledge bundles present and fresh, the project's registry, question store, audit log, learned rules and claims readable. Run it first when a command misbehaves.
verify-sql-migration
Prove a SQL migration on data: golden checks against an authorized source database and differential tests against ScalarDB. Never touches production.
verify-implementation
Check code against the design (API contract, transactions, security, requirements, the example chain) and report every divergence; optionally runs the eight-stage quality gate.
update-knowledge
Fetch or update an OKF knowledge bundle: ScalarDB/ScalarDL, or the vendored Kubernetes/Terraform bundle.
start
Interactive entry point for system architecture work: refactor a legacy application into services, or design a new system from requirements; picks the path from the project's state. To move a database to ScalarDB, use migrate-database.
select-scalardb-edition
Choose the ScalarDB edition (Community, Enterprise Standard or Premium, plus Enterprise Options), deployment mode and cluster topology through a short interview.