بنقرة واحدة
metrics
Project metrics and observability dashboard
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Project metrics and observability dashboard
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| 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}
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