Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

common-sdlc-metrics

БесплатноБез исполняемых скриптовНе проверен

Define delivery metrics from authorized observations and labeled artifact/git proxies; use for DORA, SDLC outcomes, reporting, or control bands.

HoangNguyen0403от HoangNguyen0403★ 598 звёзд на GitHub

Об этом скилле

SDLC Metrics Standard

Priority: P2 (MEDIUM)

Measure handoffs, not keystrokes. A missing input is unavailable, never zero; a proxy is never a measurement.

Use and verify

  • Emit artifacts/sdlc-metrics.md at a workflow terminal state, alongside artifacts/session-cost.md.
  • Direct delivery measures come only from the authorized local export artifacts/metrics/delivery-observations.json; never read it from the network or place it under artifacts/runs/.
  • Load the metrics schema for the report skeleton, input contract, and derivation details.
  • Generate the report with rtk pnpm metrics:report --json; run rtk pnpm test:metrics for the metrics suite. Do not overwrite existing metrics/history artifacts.

DORA

Measured rows require linked deployment/defect observations and complete relevant coverage.

  • Deployment frequency: production deployments by deployed_at.
  • Lead time: first_change_at to deployed_at.
  • Change failure rate: deployments with a hotfix/rollback defect divided by eligible deployments. Without incident coverage, a deployment is not failure-free.
  • Time to restore: restored_at minus detected_at; restoration beyond coverage or the report horizon is censored.
  • Select deployment and incident populations by domain timestamps, never export observed_at. Use the half-open report period [currentSince, currentUntil).
  • Incomplete population coverage yields a partial count or unavailable rate, never a complete result.
  • Without observations, keep measured DORA unavailable. Label deploy-tag frequency, commit-to-tag lag, and revert/fix-commit tag share as git proxies.

Accepted-change measures

  • Cohort accepted changes by acceptance time in [currentSince, currentUntil). Bound review, wait, correction, and cost to linked submissions/attempts/revisions through acceptance; later revisions and post-acceptance work are separate activity.
  • Complete totals require continuous declared kind+revision coverage across the linked lifecycle. Gaps, uncovered relevant events, and unresolved waits never imply zero or completion.
  • Report human review effort per accepted change, completed and pending decision waits, correction rounds, first-pass acceptance, escaped defects/rollbacks, and cost per accepted change.
  • Count escaped defect observations, including remediation: none, separately from affected, hotfix/rollback, and rollback deployment counts.
  • Cost is per currency. Total cost requires complete lifecycle coverage and explicitly observed agent, human, and tooling components for every cohort member. Otherwise report observed component-level partials; never infer human cost from elapsed time.

Agent-review trust observations

  • Load the schema reference before deriving optional trust observations. Omission makes only these rows unavailable; preserve legacy delivery rows.
  • Cohort first technical approvals by exact revision only when the review inventory explicitly declares complete first-approval history; seed assignments use evaluation-cutoff cohorts and production deployments use deployed_at.
  • Keep class/configuration unknowns visible. A completed empty seed result is a miss; missing or late evidence is unavailable, not an empty miss.
  • Require exhaustive declared populations and continuous kind-specific coverage for rates. Seed evidence runs from each assigned_at through its evaluation_cutoff; later gaps do not invalidate a completed cutoff. Preserve numerator, denominator, sample, coverage, source, cohort, as-of horizon, and limitations in JSON and Markdown.
  • Match defects and historical grants to exact revision and structured { change_id, revision } scope. Emit SUSPENSION_REQUIRED for a fresh in-window escape even if rate coverage is incomplete; missing or unresolved applicability makes a negative grant assessment unavailable.
  • These source declarations are not authenticated proof and never activate, authenticate, or grant access; do not route these rows into control bands.

Evidence and control bands

  • Every available value names its source and declares measured or proxy, sample size, coverage (complete, partial, unknown), and limitations. Git, document, and run-record derivations are proxies with unknown coverage.
  • Report trends only against comparable previous-period coverage. Do not combine metrics into a productivity score or infer identity/effort from author names.
  • Keep private reviewer identity and raw customer data out of exports. Source labels are attribution, not authenticated origin.
  • Define bands in docs/ops/bands.yaml against a rolling baseline. Detect deterministically; route log → read-only diagnose → propose, within declared tools/routes and to a named owner.
  • Use dismissals to tune bands; frequent breaches signal miscalibration, not urgency.
  • New measured rows do not enter control bands until their source and baseline are separately reviewed.

Anti-patt

Полный SKILL.md на GitHub

Установить common-sdlc-metrics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSEreferences/bands-template.yamlreferences/metrics-schema.md

FAQ

Что делает скилл common-sdlc-metrics?

Define delivery metrics from authorized observations and labeled artifact/git proxies; use for DORA, SDLC outcomes, reporting, or control bands.

Как установить скилл common-sdlc-metrics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл common-sdlc-metrics запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить common-sdlc-metrics с