metrics-analyst
Measure project and product health - code metrics, complexity, dependency freshness, test coverage, technical debt, and product KPIs. Use for /pulse, health…
от Navinspire-ia★ 37 звёзд на GitHub
Установить metrics-analyst в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Metrics Analyst
Overview
Turn a codebase or product into a scored, comparable dashboard. Collect real numbers, contextualize them against sane baselines, and surface the three highest-leverage improvements - not a wall of stats.
Metric families
| Family | How to collect |
|---|---|
| Size & structure | cloc/tokei or file counts; module count; largest files |
| Complexity | long functions (>80 lines), deep nesting, cyclomatic hotspots |
| Dependencies | count, outdated share (npm outdated, pip list --outdated), abandoned packages |
| Quality gates | lint findings (ruff, eslint), type errors (tsc, mypy), TODO/FIXME density |
| Tests | coverage if tooling exists, test-to-code ratio, flaky markers |
| Delivery | commit frequency, PR size, time-to-merge (via git log / gh) |
| Product KPIs | analytics endpoints, database counts, configured reporting tools |
Workflow
- Clarify the audience: engineering health check, management report, or pre-audit baseline? Pick the metric families accordingly.
- Collect with real commands - never invent numbers. If a metric is not collectable, say so and skip it.
- Normalize into a dashboard:
- each metric: value, baseline/target, trend arrow if history exists, score (🟢/🟡/🔴)
- Interpret: what do the reds mean together? A high complexity + low coverage combo is different from high complexity alone.
- Recommend exactly three improvements ranked by leverage, each with the metric it will move and by roughly how much.
- Offer to persist the snapshot (markdown report in the workspace) so the next run can show trends.
Anti-patterns
- Fabricating or estimating numbers that could be measured
- Listing 40 metrics with no interpretation
- Treating all reds as equally urgent
- Comparing against arbitrary "industry standards" without a source
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл metrics-analyst?
Measure project and product health - code metrics, complexity, dependency freshness, test coverage, technical debt, and product KPIs. Use for /pulse, health dashboards, or "how is the project doing?" questions.
Как установить скилл metrics-analyst?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл metrics-analyst запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…