一键导入
metrics
Project metrics and observability dashboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Project metrics and observability dashboard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Finish feature with tests, commit, and session closure
Start feature with branch and session tracking
Interactive wizard to configure the project
System-wide code audit with 8 modules
Environment-aware deployment with pre/post checks
Methodical codebase exploration and understanding
| name | metrics |
| description | Project metrics and observability dashboard |
| allowed-tools | Read, Glob, Grep, Bash(wc:*), Bash(git:*) |
Read .claude/project.config.json for project name and settings.
Scan session archives:
Glob: context/archive/*/sessions/session-*.md
Glob: context/tmp/session-*.md
Calculate:
context/archive/{YYYY-QN}/sessions/ directorycontext/tmp/For each archived session with Final Summary:
Categorize by branch prefix:
feature/ → Feature sessionsfix/ → Fix sessionshotfix/ → Hotfix sessionsgit log --oneline | wc -l
Read context/.pending-commits.log (if exists):
git log --oneline --since="30 days ago" | wc -l
Read context/BACKLOG.md:
[ ]): count items[~]): count items[x]): count items in "Completed (Recent)"wc -l of BACKLOG fileconfig.workflow.backlogMaxLines (default: 300)Read context/archive/COMPLETED.md (if exists):
Read context/ROADMAP.md (if exists):
Read context/FIXES.md (if exists):
Glob: src/**/*.{ts,tsx,js,jsx,py,go,rs}
Count total source files.
Glob: tests/**/*.*, src/**/*.test.*, src/**/*.spec.*
Count total test files.
Calculate: test files / source files
Output formatted report:
## Project Metrics: {project name}
**Generated**: {date}
### Session Activity
| Metric | Value |
|--------|-------|
| Total sessions | {N} |
| Active sessions | {N} |
| This quarter | {N} |
| Average duration | {Xh Ym} |
| By type | {N} features, {N} fixes, {N} hotfixes |
### Commits
| Metric | Value |
|--------|-------|
| Total commits | {N} |
| Last 30 days | {N} |
| Avg per session | {N} |
### BACKLOG Health
| Metric | Value |
|--------|-------|
| Pending items | {N} |
| In Progress | {N} |
| Completed (recent) | {N} |
| Ideas | {N} |
| File size | {N}/{max} lines ({health}) |
| Velocity | ~{N} items/month |
### ROADMAP Progress
| Metric | Value |
|--------|-------|
| Total modules | {N} |
| Completed | {N} ({%}) |
| In Progress | {N} |
| Not Started | {N} |
| Overall progress | {%} |
### FIXES Status
| Metric | Value |
|--------|-------|
| Pending | {N} |
| In Progress | {N} |
| Resolved | {N} |
| Resolution ratio | {%} |
### Codebase
| Metric | Value |
|--------|-------|
| Source files | {N} |
| Test files | {N} |
| Test:Source ratio | {ratio} |
### Trends
- {observation about velocity}
- {observation about BACKLOG health}
- {observation about fix rate}