product-metrics
Define explicit outcome measurement contracts, baseline evidence, query revisions, guardrails, and post-release product value reviews without confusing correlation with causal ROI. (triggers: `product measurement contract`, `product value review`)
- 01GitHub stars
- 577
- 02Installs
- New
- 03Files scanned
- 10
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 5b11956e349136ab… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Product Metrics & Value Review
Priority: P0 (CRITICAL)
Establish outcome-focused measurement contracts before release and conduct rigorous post-release value reviews, separating delivery completion from causal product value and rejecting unverified ROI claims.
1. Capability Preflight
Resolve and verify execution prerequisites across installed layouts before validating measurement contracts or value reviews:
- Installed Location: Locate
<agent-skill-root>/product-management/product-evidence/(standard) or<agent-skill-root>/product-management-product-evidence/(Kiro flattened). MCP lookup is not local script proof. - Component Integrity:
- Package missing/excluded: emit
Capability gap: product-management/product-evidence not installed or excluded; opt in at a reviewed ref and sync. - Script missing: emit
Capability gap: validate-product-evidence.mjs missing from installed package; repair product-evidence installation. - Runtime engine: require Node.js $\ge 20.0.0$ (
node --version). If $< 20$, emitCapability gap: Node.js runtime >= 20.0.0 required for local validator; current environment does not meet minimum engine requirement.
- Package missing/excluded: emit
- Invocation inputs: confirm existing absolute canonical narrow authority root (reject
/, home, parent workspace), contained regular ledger, valid UTC--as-of, and--gate structural|experiment|commit|release. - Current evidence: check authority/artifact pairs, query/revision, source access/freshness, baseline or exception helper, guardrails, and analytics availability. Missing analytics yields
inconclusivevalue and preservesreleaseddelivery. - Follow Verification Procedures for root/data checks and exact artifact/history predicates. No placeholder inputs, simulated validation, silent installs, broadened roots, query/guardrail waivers, or permission inferred from body lookups.
2. Core Protocol
- Outcome vs. Output Distinction:
- Measure user and business outcomes, not feature output or ticket velocity.
- Engineering delivery status (
released) does NOT constitute evidence of product value.
- Measurement Contract Specification (
MET):- Required fields:
definition,unit,denominator,eligible cohort,comparison_window,target,guardrail,measurement_owner,review_trigger. - Admissible statuses:
planned | instrumented | observed | unavailable. Immature data must be recorded asunavailablewith maturity rationale in permitted source context;immatureis not a valid status enum. instrumentedandobservedstates require a non-nullqueryand matchingquery_revision.
- Required fields:
- Baseline XOR Baseline Exception Before Release:
- Release requires historical baseline evidence (
baseline: {value, source, window}) XOR a scoped baseline exception (baseline_exception). - Baseline window ordering: $\text{baseline.window.end} \le \text{comparison_window.start}$.
- A
baseline_exceptionmust reference a current, non-retired recorded release decision (purpose: "release",outcome: "risk_accept"). The exception consumes the exact MET, shares scope, has current authorization and artifact bindings, and waives ONLY baseline on that exact MET. It NEVER waives query definitions, NEVER waives guardrails, and NEVER fabricates approval. - Helper release DECs used solely as baseline exceptions are excluded from normal release decision selection.
- Release requires historical baseline evidence (
- Safe Guardrail Escalation:
- Define counter-metrics (error rate, latency, churn). Breaches invalidate primary gains.
- Breaches require urgent escalation/recommendation to the authorized incident/operator route (
incident-hotfix). Execute automated rollbacks/halts ONLY if an authenticated host runtime stop control is explicitly configured within authorized bounds. - MET, REV, and validator outputs do NOT grant autonomous release, halt, retirement, budget, or exposure authority.
- Post-Release Product Value Review (
REV):- Connect original investment
DEC(historical attribution only, not current authority) andHYPto actual observations (SRC) and actual incremental costs (SRC). - A new value review decision requires a distinct recorded
DECbinding current strategic authority and authorization. - Classify attribution as
causal_supported | descriptive | unknown. Document counterfactuals and confounders (seasonality, marketing spend, promotions). - Set
recommendationtoscale | iterate | stop | inconclusive. REV has no status field. - When evidence is unseasoned or confounded, record
recommendation: "inconclusive",attribution.classification: "unknown"or"descriptive", keeping delivery statusreleased.
- Connect original investment
3. Anti-Patterns & Red Flags
- No Shipping as Success: Never mistake feature delivery for business value realization.
- No Correlation as Causal ROI: Never claim revenue increases were caused by a release without controlled counterfactuals.
- No Baseline Waiver Without Exception DEC: Never proceed to release without baseline evidence or a recorded risk-acceptance decision.
- No Autonomous Action: Never allow automated systems to expand rollout, retire features, or commit capital without human governance.
- No Invented Status Enums: Never use
immatureas a MET status or add a status field toREV.
4. References
- Metrics Protocol — Outcomes, denominators, baseline rules, and guardrails.
- Value Review Protocol — Linking investments, causal attribution, and recommendations.
- Evidence Mapping — Schema mappings for
METandREVrecords and influence relations. - Examples & Recipes — Retained complete package-shaped synthetic ledgers and construction recipes.
- Semantic Rubrics — Case-specific manual semantic rubrics and decision grading.
- Artifact/History Procedures — authorized input checks, exact revision predicates, and manual grade receipts.
- Concrete Fixture Cases — exact offline mutation roots, retained pairs and expected predicates.
- Citations and Sources — Authorship declaration, conceptual citations, and exclusions.
Files
10- SKILL.md
967e9df9996.7 KB - evals/evals.json
2136f702d314.5 KB - references/citations-and-sources.md
34dd5b2fcd3.6 KB - references/evidence-mapping.md
22333fec8c8.8 KB - references/examples.md
e4a83af4b532.2 KB - references/metrics-protocol.md
8537fa4a507.9 KB - references/semantic-rubrics.md
9545e11cad7.5 KB - references/value-review-protocol.md
b1e47a06926.5 KB - references/verification-cases.md
cd3784d7b050.9 KB - references/verification-procedures.md
499717476616.7 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their spec
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test reci
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
Related methodology skillsscan passed
Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.
Answer what the TAO Skill Bank plugin can do by generating the response from packaged application, data, model, AutoML, and platform manifests. Use when the user asks "what can TAO Skill Bank do", "list TAO models", "which TAO workflows are available", or "what supports AutoML".
Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.