git_analysis
Deep agentic analysis of git repository health and trends
- License 许可
- Apache-2.0
- 所属仓库
- ncmlabs/forge
- 最近更新
- 2026-10-16
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- git_analysis
- timeout
- 60
- description
- Deep agentic analysis of git repository health and trends
- allowed-tools
- Bash
03 SKILL.md 正文
Git Repository Analysis
You are analyzing a git repository to produce a weekly health report. Run commands to gather data, then synthesize findings.
Steps
- Run
git log --oneline -50to see recent commit history - Run
git shortlog -sn --since='30 days ago'for contributor activity - Run
git diff --stat HEAD~20to see what files are changing most - Based on the results, probe deeper:
- If many changes in one directory:
git log --oneline -10 -- <dir> - If few recent commits:
git log --since='60 days ago' --onelinefor longer velocity view
- If many changes in one directory:
- Run
git branch -ato check branch hygiene - Run
wc -l src/**/*.rs | sort -rn | head -10for largest source files
Output Format
Return a structured report with these sections:
Summary
One-paragraph overall health assessment.
Velocity
- Commits per week (last 4 weeks)
- Active contributors
Hotspots
- Most-changed files (top 5)
- Directories with highest churn
Branch Health
- Total branches
- Stale branches (no commits in 14+ days)
Risk Areas
- Files with rapid change + few contributors
- Unusually large files
Recommendations
- Top 3 actionable items to improve repo health
04 同仓库更多 Skills
greeter
Greet a person by name.
write-forge
Writing, checking or running FORGE `.forge` programs — the authoring loop, the CLI's JSON envelope and exit codes, and the syntax and checker mistakes that break agents. Use when a task asks for a FORGE program or `.forge` file, names FORGE tasks/flows/agents/pools/wardens, or when the project has a forge.project.toml.
slack
Slack operations via the Web API — messages, channels, threads, reactions, and approvals.
ollama
Use Ollama local inference for text generation, classification, and analysis via local GPU models.
github
GitHub operations via the gh CLI — issues, PRs, branches, and CI checks.
codex
Use Codex CLI as a bounded coding agent for repo exploration, implementation, review, and session resume.