Code Analysis Skill
📦 GitHub: https://github.com/Wscats/code-analysis-skills
Scan specified repositories or directories containing Git repositories, analyze and compare developers' commit habits, work patterns, development efficiency, code style, code quality, and slacking index. Provide blunt, data-driven evaluations for each developer with scores, grades, strengths, weaknesses, and actionable suggestions. Output structured reports in Markdown / HTML / JSON / PDF.
💬 Natural Language (Recommended)
You don't need to memorize any commands — simply describe what you need in your own language:
🇺🇸 English
💬 "Analyze Alice's development efficiency in /path/to/repo"
💬 "Show me the team's work habits in this project"
💬 "Compare Alice and Bob's code quality"
💬 "What's the slacking index of this project?"
💬 "Generate a full developer evaluation report"
💬 "Score all developers and tell me who's slacking"
💬 "What's wrong with Bob's commit habits?"
💬 "Here's my repo, can you analyze the team?"
🇨🇳 中文
💬 "分析一下这个仓库 Alice 的研发效率"
💬 "帮我看看团队成员的工作习惯"
💬 "对比一下 Alice 和 Bob 的代码质量"
💬 "看看这个项目的摸鱼指数"
💬 "给所有开发者做个完整评估打分"
💬 "谁的代码质量最差?帮我分析下"
💬 "最近一个月团队的提交习惯怎么样?"
💬 "这个仓库有什么问题?帮我诊断下"
🇯🇵 日本語
💬 "このリポジトリの開発者効率を分析してください"
💬 "チームメンバーの作業習慣を見せてください"
💬 "AliceとBobのコード品質を比較してください"
💬 "このプロジェクトのサボり指数は?"
💬 "全開発者の評価レポートを作成してください"
🇰🇷 한국어
💬 "이 레포지토리의 개발 효율성을 분석해줘"
💬 "팀원들의 작업 습관을 보여줘"
💬 "Alice와 Bob의 코드 품질을 비교해줘"
💬 "이 프로젝트의 땡땡이 지수가 뭐야?"
💬 "모든 개발자에 대한 평가 보고서를 만들어줘"
🇪🇸 Español
💬 "Analiza la eficiencia de desarrollo de Alice en este repositorio"
💬 "Muéstrame los hábitos de trabajo del equipo"
💬 "Compara la calidad del código de Alice y Bob"
💬 "¿Cuál es el índice de holgazanería de este proyecto?"
💬 "Genera un informe de evaluación completo de los desarrolladores"
🇫🇷 Français
💬 "Analyse l'efficacité de développement d'Alice dans ce dépôt"
💬 "Montre-moi les habitudes de travail de l'équipe"
💬 "Compare la qualité du code d'Alice et de Bob"
💬 "Quel est l'indice de paresse de ce projet ?"
💬 "Génère un rapport d'évaluation complet des développeurs"
🇩🇪 Deutsch
💬 "Analysiere die Entwicklungseffizienz von Alice in diesem Repository"
💬 "Zeig mir die Arbeitsgewohnheiten des Teams"
💬 "Vergleiche die Codequalität von Alice und Bob"
💬 "Was ist der Faulenzer-Index dieses Projekts?"
💬 "Erstelle einen vollständigen Bewertungsbericht für alle Entwickler"
Note: You need to provide the repository path (repo_path) — it is a required parameter. If you are already working within a repository context, the agent may infer the path from the conversation, but an explicit path is always recommended for accuracy.
The Skill understands all the languages above. Just describe what you need and it will run the analysis on your repository and return a structured report.
🚀 Quick Start (CLI)
Install Dependencies
pip install gitpython pydriller radon tabulate jinja2 click reportlab
For higher quality PDF output (optional):
pip install weasyprint # Recommended, requires system cairo library
# or
pip install pdfkit # Requires system wkhtmltopdf
Common Commands
# Analyze a single repository (all contributors)
python -m src.main -r /path/to/repo
# Scan all repositories under a directory
python -m src.main -r /path/to/projects --scan-all
# Compare specific developers
python -m src.main -r /path/to/repo -a "Alice" -a "Bob"
# Specify date range + HTML output
python -m src.main -r /path/to/repo -s 2024-01-01 -u 2024-12-31 -f html -o report.html
# Generate Markdown + HTML + PDF simultaneously
python -m src.main -r /path/to/repo -f "markdown,html,pdf" -o report
# Generate PDF report only
python -m src.main -r /path/to/repo -f pdf -o report.pdf
# Save report to a file
python -m src.main -r /path/to/repo -o report.md
CLI Parameters
| Parameter |
Short |
Description |
Default |
--repo-path |
-r |
Path to Git repository or parent directory |
Required |
--scan-all |
|
Recursively scan all .git repositories |
false |
--author |
-a |
Filter by author (repeatable) |
All authors |
--since |
-s |
Start date (ISO format) |
None |
--until |
-u |
End date (ISO format) |
None |
--branch |
-b |
Branch to analyze |
Active branch |
--format |
-f |
Output format: markdown, json, html, pdf (comma-separated for multiple) |
markdown |
--output |
-o |
Output file path |
stdout |
Use Cases
- Analyze developer behavior in a Git repository
- Compare team members' commit habits and development efficiency
- Understand code quality trends and style consistency
- Batch-analyze all
.git repositories under a directory
- Generate work habit reports (active hours, weekend/late-night coding, streaks, etc.)
- Evaluate each developer's overall capability with scores, strengths, weaknesses, and suggestions
- View the team's "Slacking Index" leaderboard
- Produce formal PDF reports for review
Workflow
Step 1: Confirm Analysis Parameters
Ask the user for the following information:
- Repository path: A single Git repo path, or a parent directory containing multiple repos
- Scan scope: Whether to scan all
.git repos under the directory (--scan-all)
- Target authors: Analyze specific developers (multi-select) or all contributors
- Date range: Optional start/end dates (ISO format, e.g.,
2024-01-01)
- Branch: Branch to analyze; defaults to the current active branch
- Output format:
markdown (default), json, html, pdf, or comma-separated combination
Step 2: Run the Analysis
Execute the analysis script with the confirmed parameters (see Quick Start above for command examples).
Step 3: Interpret the Report
The report covers seven dimensions. Walk the user through the key findings for each:
- 🏆 Developer Evaluation — Overall score (S/A/B/C/D/E/F), strengths, weaknesses, improvement suggestions, one-line verdict
- 🐟 Slacking Index — Activity level, trivial commit ratio, disappearance ratio, low output, procrastination signals
- 📝 Commit Habits — Commit frequency, commit size, merge ratio, message quality
- ⏰ Work Habits — Active hour distribution, weekend/late-night coding ratio, consecutive coding streaks
- 🚀 Development Efficiency — Code churn rate, rework rate, Bus Factor, file ownership
- 🎨 Code Style — Language distribution, Conventional Commits compliance, file classification
- 🔍 Code Quality — Bug fix ratio, revert frequency, large commit ratio, test coverage, complexity
For multi-developer analysis, additional sections include:
- 📋 Cross-comparison summary table
- 🏆 Developer score leaderboard
- 🐟 Slacking Index leaderboard
Step 4: Deep-Dive into Evaluation Results
For each developer's evaluation, deliver a blunt, no-nonsense interpretation to the user:
- Score & Grade: Total score (0-100) and corresponding grade (S/A/B/C/D/E/F)
- Six Dimension Scores: Commit discipline, work consistency, efficiency, code quality, code style, engagement
- Strengths: Each backed by concrete data, not generic praise
- Weaknesses: No sugarcoating — point directly at the problem and its impact
- Suggestions: Actionable improvement measures, each immediately executable
- Slacking Index: Interpret each signal and its meaning
Available Resources
Scripts
src/main.py — Main entry point with CLI argument support, orchestrates the full analysis pipeline and generates reports
src/scanner.py — Repository scanner, discovers single or recursively scans multiple Git repositories
src/analyzers/base_analyzer.py — Base analyzer class providing Git history traversal and author filtering
src/analyzers/commit_analyzer.py — Commit habit analysis (frequency, size, message quality)
src/analyzers/work_habit_analyzer.py — Work habit analysis (active hours, weekends, late nights, streaks)
src/analyzers/efficiency_analyzer.py — Development efficiency analysis (churn, rework, bus factor)
src/analyzers/code_style_analyzer.py — Code style analysis (language distribution, commit conventions)
src/analyzers/code_quality_analyzer.py — Code quality analysis (bug fixes, reverts, complexity)
src/analyzers/slacking_analyzer.py — Slacking index analysis (activity, trivial commits, disappearance patterns, procrastination, etc.)
src/evaluator/developer_evaluator.py — Developer evaluation engine (overall scoring, strengths/weaknesses, suggestions, verdicts)
src/reporters/markdown_reporter.py — Markdown report generator
src/reporters/json_reporter.py — JSON report generator
src/reporters/html_reporter.py — HTML report generator (with rich visual styling)
src/reporters/pdf_reporter.py — PDF report generator (supports weasyprint/pdfkit/reportlab fallback)
Reference Documents
references/metrics-guide.md — Metric definitions, calculation methods, and healthy value reference ranges. Read this file when users ask about the meaning of a specific metric.
⚠️ Privacy & Data Security Notice
Important: This tool extracts personal developer activity data from Git commit history, including but not limited to:
- Commit timestamps (down to the hour)
- Weekend/late-night coding frequency
- Individual commit frequency and output volume
- Code ownership attribution
- Slacking index and behavioral assessments
Before using, you must adhere to the following principles:
- Informed Consent — Obtain informed consent from all relevant developers before analyzing their repositories
- Non-Punitive Use — Analysis results must not be directly used for performance reviews, compensation decisions, or punitive management
- Contextual Understanding — Data must be interpreted within actual work context (e.g., architects naturally commit less; that does not indicate low output)
- Data Protection — Generated reports contain personal information and should be securely stored, not publicly shared
- Compliance — Ensure usage complies with your organization's HR policies and local data protection regulations (e.g., GDPR)
- Local Execution — This tool runs entirely locally and does not transmit any data to external servers
Evaluation System
Overall Score (0-100)
| Grade |
Score Range |
Meaning |
| S |
90-100 |
Top-tier contributor, excellent across all dimensions |
| A |
80-89 |
Outstanding developer, reliable and efficient |
| B |
70-79 |
Solid contributor with minor room for improvement |
| C |
60-69 |
Adequate, but needs improvement in multiple areas |
| D |
50-59 |
Barely passing, has clear weaknesses |
| E |
35-49 |
Below expectations, requires serious attention |
| F |
0-34 |
Critical issues, needs coaching or intervention |
Six Dimension Weights
| Dimension |
Weight |
What It Evaluates |
| 📝 Commit Discipline |
15% |
Commit frequency, message quality, convention compliance |
| ⏰ Work Consistency |
15% |
Routine regularity, work continuity |
| 🚀 Efficiency |
20% |
Code churn rate, rework rate, output volume |
| 🔍 Code Quality |
25% |
Bug fix rate, revert rate, test coverage, complexity |
| 🎨 Code Style |
10% |
Conventional Commits, issue references |
| 💪 Engagement |
15% |
Inverse of slacking index signals |
Slacking Index (0-100)
| Level |
Score Range |
Meaning |
| 🔥 Workaholic |
0-20 |
Highly engaged, continuous contributions |
| ✅ Normal |
21-40 |
Healthy work pattern |
| 😏 Suspicious |
41-60 |
Some slacking signals detected |
| 🐟 Slacking Pro |
61-80 |
Significant low-engagement indicators |
| 🏆 Slacking Master |
81-100 |
Professional-grade slacking |
Notes
- Analyzing large repositories (100K+ commits) may take a long time; consider limiting the date range
- Python code complexity analysis depends on the
radon library and only works on .py files
- Author matching supports fuzzy matching (matches on name or email containing the keyword)
- Directory scanning defaults to a maximum depth of 5 levels to avoid excessive recursion
- PDF generation prefers weasyprint, falls back to pdfkit, and ultimately falls back to reportlab
- Evaluation results are based solely on Git commit history and do not represent a developer's full capability
- The slacking index is for reference only and should be interpreted in actual work context
- This tool runs entirely locally and does not send data to any external server
- Always obtain informed consent before analyzing team repositories
- Report results must not be directly used for performance reviews or punitive management decisions
... EOF
1---2name: code-analysis3description: This skill should be used when the user needs to analyze Git repositories, compare developer commit patterns, work habits, development efficiency, code style, code quality, and slacking behaviors. It generates honest, direct developer evaluations with scores, grades, strengths, weaknesses, and actionable suggestions. Trigger phrases include "analyze code", "analyze repository", "compare developers", "code quality report", "commit patterns", "developer efficiency", "developer evaluation", "slacking index", "摸鱼指数", "工作习惯分析", "代码分析", "研发效率", "代码质量", "开发者评估", "developer score".4license: MIT5---6
7# Code Analysis Skill
8
9📦 **GitHub**: [https://github.com/Wscats/code-analysis-skills](https://github.com/Wscats/code-analysis-skills)
10
11Scan specified repositories or directories containing Git repositories, analyze and compare developers' commit habits, work patterns, development efficiency, code style, code quality, and slacking index. Provide blunt, data-driven evaluations for each developer with scores, grades, strengths, weaknesses, and actionable suggestions. Output structured reports in Markdown / HTML / JSON / PDF.
12
13## 💬 Natural Language (Recommended)
14
15You don't need to memorize any commands — simply describe what you need in your own language:
16
17### 🇺🇸 English
18
19```
20💬 "Analyze Alice's development efficiency in /path/to/repo"
21💬 "Show me the team's work habits in this project"
22💬 "Compare Alice and Bob's code quality"
23💬 "What's the slacking index of this project?"
24💬 "Generate a full developer evaluation report"
25💬 "Score all developers and tell me who's slacking"
26💬 "What's wrong with Bob's commit habits?"
27💬 "Here's my repo, can you analyze the team?"
28```
29
30### 🇨🇳 中文
31
32```
33💬 "分析一下这个仓库 Alice 的研发效率"
34💬 "帮我看看团队成员的工作习惯"
35💬 "对比一下 Alice 和 Bob 的代码质量"
36💬 "看看这个项目的摸鱼指数"
37💬 "给所有开发者做个完整评估打分"
38💬 "谁的代码质量最差?帮我分析下"
39💬 "最近一个月团队的提交习惯怎么样?"
40💬 "这个仓库有什么问题?帮我诊断下"
41```
42
43### 🇯🇵 日本語
44
45```
46💬 "このリポジトリの開発者効率を分析してください"
47💬 "チームメンバーの作業習慣を見せてください"
48💬 "AliceとBobのコード品質を比較してください"
49💬 "このプロジェクトのサボり指数は?"
50💬 "全開発者の評価レポートを作成してください"
51```
52
53### 🇰🇷 한국어
54
55```
56💬 "이 레포지토리의 개발 효율성을 분석해줘"
57💬 "팀원들의 작업 습관을 보여줘"
58💬 "Alice와 Bob의 코드 품질을 비교해줘"
59💬 "이 프로젝트의 땡땡이 지수가 뭐야?"
60💬 "모든 개발자에 대한 평가 보고서를 만들어줘"
61```
62
63### 🇪🇸 Español
64
65```
66💬 "Analiza la eficiencia de desarrollo de Alice en este repositorio"
67💬 "Muéstrame los hábitos de trabajo del equipo"
68💬 "Compara la calidad del código de Alice y Bob"
69💬 "¿Cuál es el índice de holgazanería de este proyecto?"
70💬 "Genera un informe de evaluación completo de los desarrolladores"
71```
72
73### 🇫🇷 Français
74
75```
76💬 "Analyse l'efficacité de développement d'Alice dans ce dépôt"
77💬 "Montre-moi les habitudes de travail de l'équipe"
78💬 "Compare la qualité du code d'Alice et de Bob"
79💬 "Quel est l'indice de paresse de ce projet ?"
80💬 "Génère un rapport d'évaluation complet des développeurs"
81```
82
83### 🇩🇪 Deutsch
84
85```
86💬 "Analysiere die Entwicklungseffizienz von Alice in diesem Repository"
87💬 "Zeig mir die Arbeitsgewohnheiten des Teams"
88💬 "Vergleiche die Codequalität von Alice und Bob"
89💬 "Was ist der Faulenzer-Index dieses Projekts?"
90💬 "Erstelle einen vollständigen Bewertungsbericht für alle Entwickler"
91```
92
93> **Note**: You need to provide the repository path (`repo_path`) — it is a required parameter. If you are already working within a repository context, the agent may infer the path from the conversation, but an explicit path is always recommended for accuracy.
94
95The Skill understands all the languages above. Just describe what you need and it will run the analysis on your repository and return a structured report.
96
97---
98
99## 🚀 Quick Start (CLI)
100
101### Install Dependencies
102
103```bash
104pip install gitpython pydriller radon tabulate jinja2 click reportlab
105```
106
107For higher quality PDF output (optional):
108
109```bash
110pip install weasyprint # Recommended, requires system cairo library
111# or
112pip install pdfkit # Requires system wkhtmltopdf
113```
114
115### Common Commands
116
117```bash
118# Analyze a single repository (all contributors)
119python -m src.main -r /path/to/repo
120
121# Scan all repositories under a directory
122python -m src.main -r /path/to/projects --scan-all
123
124# Compare specific developers
125python -m src.main -r /path/to/repo -a "Alice" -a "Bob"
126
127# Specify date range + HTML output
128python -m src.main -r /path/to/repo -s 2024-01-01 -u 2024-12-31 -f html -o report.html
129
130# Generate Markdown + HTML + PDF simultaneously
131python -m src.main -r /path/to/repo -f "markdown,html,pdf" -o report
132
133# Generate PDF report only
134python -m src.main -r /path/to/repo -f pdf -o report.pdf
135
136# Save report to a file
137python -m src.main -r /path/to/repo -o report.md
138```
139
140### CLI Parameters
141
142| Parameter | Short | Description | Default |
143|-----------|-------|-------------|---------|
144| `--repo-path` | `-r` | Path to Git repository or parent directory | Required |
145| `--scan-all` | | Recursively scan all `.git` repositories | `false` |
146| `--author` | `-a` | Filter by author (repeatable) | All authors |
147| `--since` | `-s` | Start date (ISO format) | None |
148| `--until` | `-u` | End date (ISO format) | None |
149| `--branch` | `-b` | Branch to analyze | Active branch |
150| `--format` | `-f` | Output format: `markdown`, `json`, `html`, `pdf` (comma-separated for multiple) | `markdown` |
151| `--output` | `-o` | Output file path | stdout |
152
153---
154
155## Use Cases
156
157- Analyze developer behavior in a Git repository
158- Compare team members' commit habits and development efficiency
159- Understand code quality trends and style consistency
160- Batch-analyze all `.git` repositories under a directory
161- Generate work habit reports (active hours, weekend/late-night coding, streaks, etc.)
162- Evaluate each developer's overall capability with scores, strengths, weaknesses, and suggestions
163- View the team's "Slacking Index" leaderboard
164- Produce formal PDF reports for review
165
166## Workflow
167
168### Step 1: Confirm Analysis Parameters
169
170Ask the user for the following information:
171- **Repository path**: A single Git repo path, or a parent directory containing multiple repos
172- **Scan scope**: Whether to scan all `.git` repos under the directory (`--scan-all`)
173- **Target authors**: Analyze specific developers (multi-select) or all contributors
174- **Date range**: Optional start/end dates (ISO format, e.g., `2024-01-01`)
175- **Branch**: Branch to analyze; defaults to the current active branch
176- **Output format**: `markdown` (default), `json`, `html`, `pdf`, or comma-separated combination
177
178### Step 2: Run the Analysis
179
180Execute the analysis script with the confirmed parameters (see Quick Start above for command examples).
181
182### Step 3: Interpret the Report
183
184The report covers seven dimensions. Walk the user through the key findings for each:
185
1861. **🏆 Developer Evaluation** — Overall score (S/A/B/C/D/E/F), strengths, weaknesses, improvement suggestions, one-line verdict
1872. **🐟 Slacking Index** — Activity level, trivial commit ratio, disappearance ratio, low output, procrastination signals
1883. **📝 Commit Habits** — Commit frequency, commit size, merge ratio, message quality
1894. **⏰ Work Habits** — Active hour distribution, weekend/late-night coding ratio, consecutive coding streaks
1905. **🚀 Development Efficiency** — Code churn rate, rework rate, Bus Factor, file ownership
1916. **🎨 Code Style** — Language distribution, Conventional Commits compliance, file classification
1927. **🔍 Code Quality** — Bug fix ratio, revert frequency, large commit ratio, test coverage, complexity
193
194For multi-developer analysis, additional sections include:
195- 📋 Cross-comparison summary table
196- 🏆 Developer score leaderboard
197- 🐟 Slacking Index leaderboard
198
199### Step 4: Deep-Dive into Evaluation Results
200
201For each developer's evaluation, deliver a blunt, no-nonsense interpretation to the user:
202
2031. **Score & Grade**: Total score (0-100) and corresponding grade (S/A/B/C/D/E/F)
2042. **Six Dimension Scores**: Commit discipline, work consistency, efficiency, code quality, code style, engagement
2053. **Strengths**: Each backed by concrete data, not generic praise
2064. **Weaknesses**: No sugarcoating — point directly at the problem and its impact
2075. **Suggestions**: Actionable improvement measures, each immediately executable
2086. **Slacking Index**: Interpret each signal and its meaning
209
210## Available Resources
211
212### Scripts
213
214- `src/main.py` — Main entry point with CLI argument support, orchestrates the full analysis pipeline and generates reports
215- `src/scanner.py` — Repository scanner, discovers single or recursively scans multiple Git repositories
216- `src/analyzers/base_analyzer.py` — Base analyzer class providing Git history traversal and author filtering
217- `src/analyzers/commit_analyzer.py` — Commit habit analysis (frequency, size, message quality)
218- `src/analyzers/work_habit_analyzer.py` — Work habit analysis (active hours, weekends, late nights, streaks)
219- `src/analyzers/efficiency_analyzer.py` — Development efficiency analysis (churn, rework, bus factor)
220- `src/analyzers/code_style_analyzer.py` — Code style analysis (language distribution, commit conventions)
221- `src/analyzers/code_quality_analyzer.py` — Code quality analysis (bug fixes, reverts, complexity)
222- `src/analyzers/slacking_analyzer.py` — Slacking index analysis (activity, trivial commits, disappearance patterns, procrastination, etc.)
223- `src/evaluator/developer_evaluator.py` — Developer evaluation engine (overall scoring, strengths/weaknesses, suggestions, verdicts)
224- `src/reporters/markdown_reporter.py` — Markdown report generator
225- `src/reporters/json_reporter.py` — JSON report generator
226- `src/reporters/html_reporter.py` — HTML report generator (with rich visual styling)
227- `src/reporters/pdf_reporter.py` — PDF report generator (supports weasyprint/pdfkit/reportlab fallback)
228
229### Reference Documents
230
231- `references/metrics-guide.md` — Metric definitions, calculation methods, and healthy value reference ranges. Read this file when users ask about the meaning of a specific metric.
232
233## ⚠️ Privacy & Data Security Notice
234
235> **Important**: This tool extracts personal developer activity data from Git commit history, including but not limited to:
236> - Commit timestamps (down to the hour)
237> - Weekend/late-night coding frequency
238> - Individual commit frequency and output volume
239> - Code ownership attribution
240> - Slacking index and behavioral assessments
241
242**Before using, you must adhere to the following principles:**
243
2441. **Informed Consent** — Obtain informed consent from all relevant developers before analyzing their repositories
2452. **Non-Punitive Use** — Analysis results **must not** be directly used for performance reviews, compensation decisions, or punitive management
2463. **Contextual Understanding** — Data must be interpreted within actual work context (e.g., architects naturally commit less; that does not indicate low output)
2474. **Data Protection** — Generated reports contain personal information and should be securely stored, not publicly shared
2485. **Compliance** — Ensure usage complies with your organization's HR policies and local data protection regulations (e.g., GDPR)
2496. **Local Execution** — This tool runs entirely locally and does not transmit any data to external servers
250
251## Evaluation System
252
253### Overall Score (0-100)
254
255| Grade | Score Range | Meaning |
256|-------|-------------|---------|
257| S | 90-100 | Top-tier contributor, excellent across all dimensions |
258| A | 80-89 | Outstanding developer, reliable and efficient |
259| B | 70-79 | Solid contributor with minor room for improvement |
260| C | 60-69 | Adequate, but needs improvement in multiple areas |
261| D | 50-59 | Barely passing, has clear weaknesses |
262| E | 35-49 | Below expectations, requires serious attention |
263| F | 0-34 | Critical issues, needs coaching or intervention |
264
265### Six Dimension Weights
266
267| Dimension | Weight | What It Evaluates |
268|-----------|--------|-------------------|
269| 📝 Commit Discipline | 15% | Commit frequency, message quality, convention compliance |
270| ⏰ Work Consistency | 15% | Routine regularity, work continuity |
271| 🚀 Efficiency | 20% | Code churn rate, rework rate, output volume |
272| 🔍 Code Quality | 25% | Bug fix rate, revert rate, test coverage, complexity |
273| 🎨 Code Style | 10% | Conventional Commits, issue references |
274| 💪 Engagement | 15% | Inverse of slacking index signals |
275
276### Slacking Index (0-100)
277
278| Level | Score Range | Meaning |
279|-------|-------------|---------|
280| 🔥 Workaholic | 0-20 | Highly engaged, continuous contributions |
281| ✅ Normal | 21-40 | Healthy work pattern |
282| 😏 Suspicious | 41-60 | Some slacking signals detected |
283| 🐟 Slacking Pro | 61-80 | Significant low-engagement indicators |
284| 🏆 Slacking Master | 81-100 | Professional-grade slacking |
285
286## Notes
287
288- Analyzing large repositories (100K+ commits) may take a long time; consider limiting the date range
289- Python code complexity analysis depends on the `radon` library and only works on `.py` files
290- Author matching supports fuzzy matching (matches on name or email containing the keyword)
291- Directory scanning defaults to a maximum depth of 5 levels to avoid excessive recursion
292- PDF generation prefers weasyprint, falls back to pdfkit, and ultimately falls back to reportlab
293- Evaluation results are based solely on Git commit history and do not represent a developer's full capability
294- The slacking index is for reference only and should be interpreted in actual work context
295- **This tool runs entirely locally and does not send data to any external server**
296- **Always obtain informed consent before analyzing team repositories**
297- **Report results must not be directly used for performance reviews or punitive management decisions**
298
299... EOF