Tracks development metrics, code quality, technical debt, test coverage, and project health using git logs and npm tools, generating reports and trends. Supports flags like --quality, --debt, --test and module paths.
From universal-dev-standardsnpx claudepluginhub asiaostrich/universal-dev-standards --plugin universal-dev-standards[metric type or module | 指標類型或模組]/metricsDisplays agent performance metrics and session history: overview stats, recent sessions table with files/commits/status, and usage patterns. Handles missing file gracefully.
/metricsDisplays feature-level metrics and analytics dashboard. Supports flags like --recent, --feature, --sprint, --export from /specswarm:metrics.
/metricsAnalyzes team metrics like velocity tracking, cycle time, and performance for a specified metric-type and optional timeframe.
/metricsDisplays workflow metrics report on code quality (grade, coverage, linter errors), tests (total/passing, coverage vs target), performance (duration, velocity, efficiency), and workflow (phases, approvals) with pass/warn/fail thresholds. Supports --detailed.
/metricsGenerate real-time metrics dashboard with SLA tracking, agent performance, and throughput analysis
/metricsObservability dashboard. Session stats, agent tracking, hook performance, learning health. Triggers: metrics, stats, dashboard, observability.
Track development metrics, code quality indicators and project health.
追蹤開發指標、程式碼品質指示器與專案健康狀態。
COLLECT ──► ANALYZE ──► REPORT ──► TREND
/metrics - Run full metrics analysis/metrics --quality - Code quality metrics only/metrics --debt - Technical debt analysis/metrics --test - Test metrics only/metrics src/ - Analyze specific moduleFollows AI Command Behavior Standards
| Input | AI Action |
|---|---|
/metrics | 執行全面指標分析 |
/metrics --quality | 僅分析程式碼品質指標 |
/metrics --debt | 僅分析技術債 |
/metrics --test | 僅分析測試指標 |
/metrics <path> | 分析指定模組 |
🛑 STOP: 報告展示後等待使用者決定是否採取行動
| Stop Point | 等待內容 |
|---|---|
| 報告展示後 | 使用者決定後續行動 |
| Error Condition | AI Action |
|---|---|
| 無法執行覆蓋率工具 | 跳過該指標,報告可用的其他指標 |
| git 歷史不足以分析趨勢 | 僅報告當前快照,標記趨勢為 N/A |