/mthines-agent-skills:measurable [guide|implement|audit|setup] [<target>] [--strict]from mthines-agent-skills
Guides, implements, audits, and sets up telemetry (RUM, OpenTelemetry traces, metrics, logs) for every delivery. Ensures changes ship with observable impact and regression detection.
Ships in mthines-agent-skills. 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.
Makes "we shipped it" and "we can see it" the same statement. A change is only done when its impact is measurable and its regressions are visible — this skill decides what telemetry a diff needs, writes or audits it, and records a per-repo profile so the answer doesn't have to be re-derived every time.
This
SKILL.mdis a thin index. Detailed rules live inrules/*.mdand load on demand. The profile template lives intemplates/*.md.Composes, does not duplicate. Frontend event design is
rum-tracking's job — this skill only decides whether a user-facing change needs RUM and hands off to it. Backend span/metric semantic conventions belong to theotel-instrumentationandotel-semantic-conventionsskills (from the dash0 agent-skills repo) when installed — invoked viaSkill(), otherwise skipped with a one-line report, withrules/backend-instrumentation.mdas the built-in fallback. Persistence for the Observability Profile ispersistent-memory'sproject-sharedtier — this skill never invents its own storage layer. OpenTelemetry Weaver is an external CLI rather than a skill, sorules/weaver-schema.mdowns it end to end and is advisory in every mode — a repo that has not adopted Weaver loses one line of output, never a finding.
Parse $1 as the mode.
State the detected mode in one line before continuing.
| Mode | Default | Trigger |
|---|---|---|
guide | yes | "is this measurable", "what telemetry do I need", default if no mode |
implement | "add telemetry", "instrument this", "add RUM and API telemetry" | |
audit | "audit observability", "check observability coverage", "--diff", aw Phase 4 gate | |
setup | "set up observability profile", "first-time setup", "/measurable setup" |
If $1 is a diff, PR, file, or directory, treat it as the scope for
implement or audit.
The user is deciding whether and what telemetry a change needs.
rules/scope-detection.md and classify
the change: frontend (web), frontend (mobile), backend/API, infra, or
mixed. In a monorepo, check for a committed Observability Profile first
(see rules/setup-profile.md) so package
boundaries and stack choices don't have to be re-guessed.rules/autocapture.md: if the repo records
clicks with a global listener, a new button needs markup (semantic
element, label, test id on its container), not an event. Then recommend
only the remaining outcome events per
rules/frontend-rum.md (thin pointer into
rum-tracking).rules/backend-instrumentation.md.rules/regression-signals.md.
"We added a log line" is not a regression signal; "P99 latency on
POST /checkout is now tracked and alerts at 2× baseline" is.rules/weaver-schema.md. A rename is a
breaking change whose symptom is a query that quietly returns nothing, so
it is the one regression the previous step cannot see.implement mode. Guide mode ends with
a short, concrete list: signals to add, and why each one is the one that
would catch a regression.The user (or the autonomous-workflow Phase 3 trigger) wants the
instrumentation written.
rules/autocapture.md Step 2 to the markup
(never add a tracker call to a handler a global listener already
covers), and propose a missing global listener as its own change (Step 3).
Delegate whatever is left, such as outcome events, listener design and naming:
Skill("rum-tracking", "implement", "<target>")
This skill does not re-implement event design; it only confirms the
delegation happened and that the resulting events map to a named
regression signal (Step 4 above).rules/backend-instrumentation.md:
a span per new/changed operation with OTel semantic-convention attributes,
a RED metric (rate, errors, duration) if the operation is on a hot path,
and a structured log at the point of failure. Prefer delegating to
Skill("otel-instrumentation") / Skill("otel-semantic-conventions")
when installed; the rule file is the fallback when they are not.
When the Observability Profile names a Weaver registry, add the new
signal to it in the same diff and re-run weaver registry check —
rules/weaver-schema.md. Instrumentation
emitting a name the registry does not define is the schema drift the
registry exists to prevent, and it lands silently.rules/regression-signals.md so errors
and warnings are never silent: span status set on failure, a log at
error/warn severity with enough context to triage without
reproducing, and — when the Observability Profile names an existing
dashboard or check rule for this package — a note that it now covers
the new path (never auto-edit dashboards/alerts; that's dash0's job
in Dash0 chat, not this skill's).autonomous-workflow Phase 6 folds this into
the PR walkthrough.file:line claim; turn it into an executed one when
the repo has .agents/aw/ config: record a window, exercise the new operation (the verify
skill, a repro, or an integration test), then run
Skill("telemetry-verify", "--env local --from <start> --to <end> --no-comment").
Phrase each expectation as behavior only a run can settle — "one span per invocation of
, each a child of ", "the new attribute's distinct values stay
bounded" — never "a span named X exists", which reading the source settles and
telemetry-verify refuses.
Advisory, and skipped with one report line when telemetry-verify or the config is
unavailable, consistent with Core Principle 6 above — this step never blocks implement mode.The user (or the autonomous-workflow Phase 4 gate) wants an existing diff
checked for coverage gaps, without writing anything.
rules/audit-checklist.md against the
diff (or the target file/directory if no diff is given).missing (no signal at all for a changed path
that needs one), unlinked (a signal exists but maps to no regression
detector — Step 4 of Guide mode), or pass.missing and unlinked
findings are both reported, neither blocks. Pass --strict to make
missing findings on web/mobile/api/worker paths block the
caller's gate (unlinked stays advisory even in --strict, since not
every signal needs a bespoke dashboard on day one). This mirrors how
critical ships non-blocking by default in this
registry — a brand-new coverage heuristic earns a hard gate only once a
team has opted in, not on day one.audit mode — that is what implement mode is for.rules/audit-checklist.md too, and fold its
output into the same three verdicts. Weaver never adds a fourth verdict —
the pr-reviewer lens maps exactly three, so a fourth reaches no surface.Callers of audit mode. autonomous-workflow Phase 4 (its Observability Gate) and the
pr-reviewer agent's measurability lens (Step 2.4e, via
agents/shared/rules/measurability-review.md) are both audit-only consumers. autonomous-workflow
stays advisory unless a run opts into --observability-strict; the reviewer defaults to strict (a
repo opts down with measurable: advisory), because a merged change that ships a new failure mode with
no signal is the case the lens exists for. The reviewer additionally gates the call behind two
conditions of its own — the diff must touch a web/mobile/api/worker path and add or alter
observable behaviour — so a refactor PR never reaches this mode at all. Neither caller may invoke
implement: one is a gate, the other is read-only.
First-time (or repo-onboarding) interview that records durable project
facts so every later guide/implement/audit run stops re-deriving them.
rules/setup-profile.md end to end:
interview, monorepo package map, write via persistent-memory
(project-shared tier), confirm.setup is
idempotent and updates the existing profile rather than duplicating it.Load on demand — do not preload.
| Mode | Files |
|---|---|
guide | rules/scope-detection.md, rules/autocapture.md and rules/frontend-rum.md for web, rules/backend-instrumentation.md, rules/regression-signals.md, and rules/weaver-schema.md when the change adds or renames a signal name |
implement | Same as guide, plus the delegated skill's own required reading (rum-tracking, otel-instrumentation when installed) |
audit | rules/audit-checklist.md, rules/scope-detection.md, rules/autocapture.md for web diffs, and rules/weaver-schema.md when the Observability Profile names a registry |
setup | rules/setup-profile.md, templates/observability-profile.template.md |
A signal without a regression detector is not coverage. Emitting a span or a log is necessary but not sufficient — name what would alert or what dashboard would show the break. Anti-pattern: "instrumented" meaning only "some code now calls a tracer."
RUM and API telemetry are two different jobs, not one. Frontend
product-analytics event design stays owned by rum-tracking; this skill
decides whether a change needs it and folds it into the same coverage
picture as backend spans/metrics/logs.
The Observability Profile is the source of truth for "how does this
repo do telemetry." Never re-guess the stack or the monorepo package
map when a profile exists; run setup once, guide/audit read it after.
Errors and warnings are first-class deliverables. A change that adds a new failure mode without a way to see that failure mode in production is incomplete, regardless of test coverage.
Advisory on frontend/backend code, hands-off on Dash0 config. This
skill writes application-level instrumentation. It never creates or edits
dashboards, alerts, or SLOs directly — those are proposed through Dash0
chat (the dash0 agent) so a human reviews and creates them there.
Companions never block, and never skip silently. rum-tracking, otel-instrumentation,
otel-semantic-conventions, persistent-memory, and the weaver CLI are
all optional — degrade to the built-in rule files and say so in one line
(<name> — skipped (<reason>)), never block.
The signal's name is part of its contract. A renamed metric or
attribute breaks every dashboard and check rule reading the old name, and
it breaks them quietly — no error, no failing test, just a panel that
stopped having data. Principle 1 asks whether something watches the
signal; this one asks whether it is still watching the same signal, and
rules/weaver-schema.md is how it is
answered mechanically rather than by memory.
Instrument interactions once, globally. Clicks on buttons, links and
menu items are recorded by one listener reading the DOM, so coverage of a
new control is a markup question (element, label, container test id), not
a tracking-code question. Explicit events are for outcomes the listener
cannot see. rules/autocapture.md draws the line.
track…("x-clicked") call where a global click
listener already records the click, or hand-instrumenting every control
instead of proposing one global listener.setup once and reading the profile.rum-tracking's centralized wrapper.catch {}) without a log at error severity and a
span status flip.audit mode findings as blocking by default — they're advisory
unless the caller explicitly passed --strict, and even then unlinked
findings never block.weaver registry check as evidence a change is
instrumented — it validates the schema, and a registry full of signals no
code emits passes it.rules/audit-checklist.md (opens in a new tab)rules/autocapture.md (opens in a new tab)rules/backend-instrumentation.md (opens in a new tab)rules/frontend-rum.md (opens in a new tab)rules/regression-signals.md (opens in a new tab)rules/scope-detection.md (opens in a new tab)rules/setup-profile.md (opens in a new tab)rules/weaver-schema.md (opens in a new tab)templates/observability-profile.template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (mthines/agent-skills) — no native marketplace selected
npx claudepluginhub p/mthines-mthines-agent-skills54 skills in this plugin
/ai-engineeringReviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".
/animationsAuthors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".
/animations-nativeAuthors performant React Native / Expo animations and gestures with Reanimated and react-native-gesture-handler on the UI thread; web animations go to `animations`. Triggers on "reanimated", "react native animation", "gesture handler", "swipe gesture", "/animations-native".
/atelierTakes one change from request to merged PR by sequencing existing skills — aw builds the draft PR, prepare gets it green, a deterministic gate allows the squash-merge only when a user-visible diff that needs a rollout ships behind a deployment-verify flag contract, or a small one carries a classed no-flag marker (and, in a repo with a hosted service, every diff carries a contract or an opt-out) — then reads the default-branch pipeline, fixes a red one once, verifies a no-flag change on the deploy with deployment-verify, and says what a human does next. Resumable from a sticky PR comment; invoke with /atelier.
/attach-mediaUploads local screenshots and recordings to GitHub and embeds them in a PR or issue body or comment as inline-rendering user-attachments URLs, via `gh --attach` with a curl fallback; never writes placeholders. Triggers on "attach screenshots to the PR", "upload this recording to the PR", "/attach-media".
/autonomous-workflowThe phase machinery (0–7) behind the `aw` dispatcher: task intake through a tested draft PR in an isolated worktree, gated by the plan.md brief and the run-checks.mjs sentinel, with companions that never block. Not the entry point — natural-language requests for autonomous work go to the `aw` skill; invoke /autonomous-workflow only to run the phases directly.
Other plugins' skills for the same job