From frontend-skills
Analyzes frontend-skills hook harness latency, rule violations, zero-fire hooks, and session trends. Use for hook profiling, manifest drift checks, and identifying over-aggressive or silent hooks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-skills:frontend-skills-statsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run these Bash commands before proceed:
Run these Bash commands before proceed:
ls "$(git rev-parse --show-toplevel 2>/dev/null)/.claude/hooks/"*.sh 2>/dev/null | wc -l -- installed hook scriptsjq '[.hooks[]?[]?.hooks[]?] | length' "$(git rev-parse --show-toplevel 2>/dev/null)/skill-manifest.json" -- wired hooksls ~/.claude/hook-metrics/*.json 2>/dev/null | wc -l -- session summariesls ~/.claude/hook-metrics/*.json 2>/dev/null | head -1 | xargs -I{} jq -r '.date' {} -- earliest datels ~/.claude/hook-metrics/*.json 2>/dev/null | tail -1 | xargs -I{} jq -r '.date' {} -- latest dateMetrics dir: ~/.claude/hook-metrics/
Analyze frontend-skills harness across all session metrics. Read every JSON in ~/.claude/hook-metrics/. Produce prioritized report.
Parse perf_ms from each session summary (added 2.2.2). Each hook:
| Hook | P50 (ms) | P95 (ms) | Invocations | Total wall-clock |
|---|
Flag hooks:
Each rule fired once+:
| Rule | Blocks | Warns | Nudges | Info | Diagnostic |
|---|
Detect new tier usage (nudge, info, diagnostic -- added 2.2.2). Report adoption rate.
List wired hooks, zero fires all sessions. Prune candidates.
Cross-ref CLAUDE.md rules vs hook activity:
Compare skill-manifest.json vs .claude/settings.json and hooks/hooks.json:
bash scripts/generate-hook-configs.sh --check
Drift detected: RED FLAG -- drift bug regression. Run --apply to fix.
Structured report. Tables for numeric data. End with prioritized action list (max 5 items). If <5 session files, mark recommendations preliminary.
Plain markdown. No emojis.
npx claudepluginhub redpanda-data/ui-harness --plugin frontend-skillsManages a frontend-skills hook harness: add rules, tune severity (block/warn/nudge/info/block-strict/diagnostic), debug hook firing, and view analytics.
Generates usage reports for Claude Code skills from tracked JSONL data. Provides CLI reports and HTML visualizations (bar charts + heatmaps) filtered by time period.
Generates usage analytics dashboard from Claude Code sessions with epistemic protocol coverage metrics, friction analysis, growth timelines, and improvement recommendations.