No slash command · from dev-team
Captures runtime performance metrics (Core Web Vitals, resource sizes, load times) against defined budgets using Playwright + Chromium. Compares to baselines, flags regressions, and maintains trend history.
Ships in dev-team. 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.
Measures runtime performance (what the user experiences) — complements the static performance-review agent. Uses Playwright + Chromium to load pages, collect timing via the Performance API, measure resource sizes, and compare against baselines and budgets.
Installed by /project-init for frontend projects, or install manually:
npx playwright install chromium
A running dev server (or accessible URL) for the pages being benchmarked.
| Metric | API | Budget Default | Measures |
|---|---|---|---|
| LCP (Largest Contentful Paint) | PerformanceObserver('largest-contentful-paint') | ≤ 2500ms | When main content is visible |
| FID (First Input Delay) | PerformanceObserver('first-input') | ≤ 100ms | First-interaction responsiveness |
| CLS (Cumulative Layout Shift) | PerformanceObserver('layout-shift') | ≤ 0.1 | Visual stability during load |
| INP (Interaction to Next Paint) | PerformanceObserver('event') | ≤ 200ms | Responsiveness across lifecycle |
| Metric | API | Measures |
|---|---|---|
| TTFB | performance.timing.responseStart - navigationStart | Server response time |
| FCP (First Contentful Paint) | PerformanceObserver('paint') | When first content appears |
| DOM Interactive | performance.timing.domInteractive | When DOM is parseable |
| Load Complete | performance.timing.loadEventEnd | Page fully loaded |
| Metric | Collection | Budget Default |
|---|---|---|
| Total transfer size | performance.getEntriesByType('resource') sum | ≤ 500KB |
| JS bundle size | Resources with .js extension | ≤ 200KB |
| CSS bundle size | Resources with .css extension | ≤ 50KB |
| Image payload | Resources with image MIME types | ≤ 300KB |
| Request count | Resource entry count | ≤ 50 |
| Largest resource | Max single transfer size | ≤ 150KB |
Run a Playwright script that:
waitUntil: 'networkidle'performance.getEntriesByType('resource') entriesFull script template: references/benchmark-script.md.
Reliability: run each page 3 times, take the median. Use --disable-gpu and --disable-extensions. Clear cookies and use a fresh context per run. No network throttling by default; --3g flag for mobile simulation.
--baseline)Capture current metrics and save as the baseline:
benchmarks/<slug>/baseline.json
Commit baselines so the team shares a reference point.
Run and compare against the saved baseline:
| Change | Status |
|---|---|
| Metric worsened > 10% | fail (regression) |
| Metric worsened 5–10% | warn (degradation) |
| Metric improved > 10% | noted in report |
| Within ±5% | pass (stable) |
--budget)Check absolute budgets from performance-budget.json at the project root:
{
"budgets": [
{
"path": "/",
"metrics": {
"LCP": 2500,
"CLS": 0.1,
"totalTransferSize": 500000,
"jsSize": 200000
}
},
{
"path": "/dashboard",
"metrics": { "LCP": 3000, "totalTransferSize": 800000 }
}
]
}
If no budget file, fall back to defaults above.
--trend)Read benchmarks/<slug>/history.jsonl and produce a trend summary across the last N runs.
{
"url": "http://localhost:3000/dashboard",
"timestamp": "2026-04-10T14:30:00Z",
"runs": 3,
"device": "desktop",
"metrics": {
"LCP": {"median": 1850, "p95": 2100, "unit": "ms"},
"FCP": {"median": 920, "p95": 1050, "unit": "ms"},
"CLS": {"median": 0.05, "p95": 0.08, "unit": "score"},
"INP": {"median": 120, "p95": 180, "unit": "ms"},
"TTFB": {"median": 210, "p95": 280, "unit": "ms"},
"loadComplete": {"median": 2400, "p95": 2800, "unit": "ms"}
},
"resources": {
"totalTransferSize": 342000,
"jsSize": 156000,
"cssSize": 28000,
"imageSize": 98000,
"requestCount": 34,
"largestResource": {"url": "/assets/main.js", "size": 95000}
},
"comparison": {
"baseline": "2026-04-08T10:00:00Z",
"regressions": [
{"metric": "LCP", "baseline": 1600, "current": 1850, "change": "+15.6%", "severity": "fail"}
],
"improvements": [],
"stable": ["FCP", "CLS", "INP", "TTFB"]
},
"budget": { "status": "pass", "violations": [] },
"status": "pass|warn|fail"
}
Human-readable report template: examples/report-format.md.
benchmarks/
├── <page-slug>/
│ ├── baseline.json # Committed — shared baseline
│ └── history.jsonl # Committed — trend data (append-only)
└── performance-budget.json # Committed — budget definitions
Page slug derived from the URL path: /dashboard → dashboard, / → index.
What SKILL.md sets; muted values are Claude Code's defaults
103 skills in this plugin
/adr-toolsCreate and manage Architecture Decision Records using the npryce adr-tools CLI. Use when the user asks to "add an ADR", "record this decision", "create an ADR", "supersede ADR N", "link ADRs", "generate the ADR table of contents", or any request involving the `adr` command. Pairs with the adr-author agent — this skill is the mechanics (commands, files, links); adr-author is the decision framework (when an ADR is warranted) and the prose authoring./agent-auditAudit code-review agents, skills, and hooks for structural compliance. Use this when adding or modifying any agent, skill, or hook file, or for a periodic health check of the toolkit. Trigger phrases: "audit the agents", "check compliance", "validate the skills", "are the agents correct", or any time agent/skill files change./agent-evalRun eval fixtures against review agents and grade results. Use this after adding or modifying a review agent, to validate detection accuracy, or when the user says "run the evals", "test the agents", "check for regressions", or "how accurate is the agent"./agent-readinessScore how ready the current repository is for AI-assisted development against the Agent-Readiness Scorecard. Use when the user asks "how agent-ready is this repo", "score this repo for agents", "agent readiness", or wants a tiered readiness report. Scores YOUR project repo's readiness — not the dev-team plugin's own review agents and routing (for that, use /harness-audit)./api-designContract-first API design for stable, evolvable interfaces. Use whenever defining a new API endpoint, inter-service boundary, or modifying an existing contract. Includes backward compatibility checklist and error contract specification./apply-fixesApply correction prompts generated by /code-review. Use this whenever the user wants to apply, fix, or action the results of a code review — phrases like "apply the fixes", "fix the issues", "apply corrections", or after /code-review has run and produced a corrections/ directory.npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-teamOther plugins' skills for the same job