No slash command · from hb
Audits frontend bundle size and Core Web Vitals risks. Detects build tool, analyzes production build output, reports gzipped sizes, and checks for LCP, CLS, INP issues.
Ships in hb. 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.
None: SKILL.md is the whole skill.
Detect build tool from package.json (vite, webpack, next, rollup)
Run the production build via the project's task runner (auto-detect from package.json).
Analyze the build output — non-interactive only. Never launch a browser or a long-running server in an audit; those hang an automated run. Prefer, in order:
dist/assets/*.js), report raw + gzipped size — gzip -c <file> | wc -c. This always works and needs no extra tooling.$TMPDIR (else /tmp) and never the working tree, where the next commit would sweep it in. Print the path:
npx source-map-explorer 'dist/assets/*.js', or add rollup-plugin-visualizer configured to emit JSON/HTML to a filenpx webpack-bundle-analyzer -m static -r "${TMPDIR:-/tmp}/report.html" <stats-file> (writes a file; do not use the default server mode)npx vite-bundle-visualizer opens a browser and blocks — only suggest it to the user for manual exploration; do not run it here.Check package.json for known heavy packages
Check the source for the Core Web Vitals risks below. Detect the framework first; recommend only its idioms.
Report findings: size impact for the bundle, potential impact for source risks
Compare against standard industry thresholds; report gzipped sizes.
Read the source for these; each is a potential impact until measured.
fetchpriority="high"; no <head> scripts without defer/async; critical fonts preloadedwidth/height or aspect-ratio); nothing injected above existing content; fonts with font-display and matched fallbacksscheduler.yield(), setTimeout fallback); heavy work in a workertransform/opacity; no read-then-write layout loops; memoization only where it paysawaits; no over-fetching; lists paginated; hashed static assets cached long; heavy third-party widgets behind a facadenot measuredfile:line, the metric at risk, the fixpackage.json for heavy packages, then run the source checksWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub helderberto/agent-skills --plugin hb43 skills in this plugin
/a11y-auditAudit accessibility (WCAG) in frontend code. Use when asked to "check accessibility", "audit a11y", "check WCAG", or find accessibility issues. Don't use for backend code, bundle size (/perf-audit), or translations (/i18n)./architecture-auditSurface architectural friction across a codebase and propose deep-module refactors as RFCs./buildImplement the next unblocked ticket test-first and commit it, or fan every ticket out to parallel subagents with `--all`./checkValidate code quality — auto-fix formatting/lint, verify types, run tests. Use when asked to "validate code", "check code", or validate before committing; also lint-only asks ("run linter", "fix lint errors"). Don't use for committing (/commit), pushing (/to-pr), or writing new tests (/tdd)./codebase-designShared vocabulary for designing deep modules — interface, seam, depth. Use when designing or improving a module's interface, placing a seam, or deciding what an API hides. Don't use for codebase-wide audits (/architecture-audit), behavior-preserving cleanup (/refactor), or UI components (/frontend-ui-engineering)./code-reviewReview a PR or branch on two axes only, quality and spec, in parallel subagents reported side by side.Other plugins' skills for the same job