Shipkit metrics
Skill stefan-stepzero/shipkit/install/skills/shipkit-metrics
Shipkit — AI-assisted product development framework for Claude Code. Skills, agents, and workflows for shipping MVPs fast.
npx -y skills add stefan-stepzero/shipkit --skill shipkit-metricsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Capture current metric values for goal evaluation. Triggers: 'log metrics', 'update metrics', 'record measurements'.
SKILL.md
4.5 KB, as published. Nobody here has run it
shipkit-metrics - Metric Capture Utility
Purpose: Let users record current metric values into .shipkit/metrics/latest.json so that /shipkit-product-goals --evaluate and /shipkit-engineering-goals --evaluate can compare actuals against targets.
This is a manual capture tool — metrics come from real-world sources (analytics, APMs, test runs, user feedback) that no skill can auto-generate.
When to Invoke
User triggers:
- "Log metrics", "Update metrics", "Record measurements"
- "Our response time is now 200ms"
- "Conversion rate hit 12%"
- "Test coverage is at 85%"
Workflow position:
- After goals are defined (
/shipkit-product-goals,/shipkit-engineering-goals) - Before goal evaluation (
--evaluatemode on goals skills)
Prerequisites
Recommended (to know which metrics to capture):
.shipkit/goals/product.json— P-* criteria with thresholds.shipkit/goals/engineering.json— E-* criteria with thresholds
If missing: Accept any metric the user provides, using freeform IDs.
Arguments
- No args or metric text → Interactive mode (show goals, ask for values)
--list→ Show current metrics and which criteria are still unmeasured- Metric ID + value (e.g.,
P-001 82%) → Quick capture mode
Process
Mode 1: Interactive (default)
- Read
.shipkit/goals/product.jsonand.shipkit/goals/engineering.jsonif they exist - Extract all criteria IDs and their metrics/thresholds
- Read
.shipkit/metrics/latest.jsonif exists (to show what's already captured) - Present unmeasured criteria:
Metrics Capture — {N} criteria defined, {M} measured
Unmeasured:
P-001: Task completion rate (target: > 80%)
P-003: Page load satisfaction (target: < 3s)
E-002: API response time (target: < 500ms)
Already measured:
E-001: Test coverage = 85% (target: > 80%) — exceeded
P-002: Error rate = 2.1% (target: < 5%) — at-threshold
Enter a criterion ID and its current value (e.g., "P-001 82%"), or "done" to finish:
- For each value entered, validate format and add to metrics file
- After "done", write updated file and show summary
Mode 2: Quick Capture
If $ARGUMENTS contains a criterion ID and value:
- Read existing metrics file (or create new)
- Add/update the metric
- Write file
- Confirm:
Recorded P-001 = 82% (threshold: > 80% — exceeded)
Mode 3: List (--list)
- Read goals files and metrics file
- Show all criteria with current values and status
- Highlight unmeasured criteria
Write Strategy
READ-MODIFY-WRITE on .shipkit/metrics/latest.json:
- Read existing file (or create if missing)
- Add/update metric entries
- Update
lastUpdatedtimestamp - Update
summarycounts - Write complete file back
Context Files This Skill Reads
| File | Purpose | If Missing |
|---|---|---|
.shipkit/goals/product.json | P-* criteria and thresholds | Accept freeform metrics |
.shipkit/goals/engineering.json | E-* criteria and thresholds | Accept freeform metrics |
.shipkit/metrics/latest.json | Existing measurements | Create new |
Context Files This Skill Writes
| File | When |
|---|---|
.shipkit/metrics/latest.json | Created on first run, updated on subsequent runs |
When This Skill Integrates with Others
Before This Skill
| Skill | Why |
|---|---|
shipkit-product-goals | Defines P-* criteria with thresholds |
shipkit-engineering-goals | Defines E-* criteria with thresholds |
After This Skill
| Skill | How |
|---|---|
shipkit-product-goals --evaluate | Reads metrics/latest.json to compare actuals vs targets |
shipkit-engineering-goals --evaluate | Same |
shipkit-stage --evaluate | Cross-references all criteria for graduation evidence |
<!-- SECTION:after-completion -->
After Completion
Suggest next: Run /shipkit-product-goals --evaluate or /shipkit-engineering-goals --evaluate to see how actuals compare to targets.
Success Criteria
- At least one metric value recorded
- File saved to
.shipkit/metrics/latest.json - Each entry has criterionId, value, measuredAt, and source
- Summary counts match actual entries