[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77VDCMJEXM6XBT5SKKAK0QG":3,"skill-same:01M77VDCMJEXM6XBT5SKKAK0QG":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77VDCMJEXM6XBT5SKKAK0QG","sovereign-git-commit-analyzer",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsovereign-git-commit-analyzer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Git Commit Analyzer\r\n\r\nA comprehensive git commit history analysis tool that generates detailed reports\r\nabout your repository's development activity, contributor patterns, and commit\r\nmessage quality.\r\n\r\n## Overview\r\n\r\nGit Commit Analyzer scans your repository's commit history and produces\r\nactionable insights including:\r\n\r\n- **Commit frequency** over configurable time windows\r\n- **Top contributors** ranked by commit count, lines changed, and files touched\r\n- **File change heatmap** showing which files are modified most often\r\n- **Commit message quality score** based on industry best practices\r\n- **Activity trends** showing development velocity over time\r\n\r\nThis skill is designed for team leads, engineering managers, and developers who\r\nwant to understand how their codebase evolves and identify areas for process\r\nimprovement.\r\n\r\n## Installation\r\n\r\n### Via ClawHub\r\n\r\n```bash\r\nopenclaw install git-commit-analyzer\r\n```\r\n\r\n### Manual Installation\r\n\r\n1. Clone or download this skill into your OpenClaw skills directory:\r\n\r\n```bash\r\nmkdir -p ~\u002F.openclaw\u002Fskills\u002F\r\ncp -r git-commit-analyzer\u002F ~\u002F.openclaw\u002Fskills\u002F\r\n```\r\n\r\n2. Ensure the script is executable:\r\n\r\n```bash\r\nchmod +x ~\u002F.openclaw\u002Fskills\u002Fgit-commit-analyzer\u002Fscripts\u002Fanalyze.sh\r\n```\r\n\r\n3. Verify the installation:\r\n\r\n```bash\r\nopenclaw list --installed\r\n```\r\n\r\n## Requirements\r\n\r\n- **git** (version 2.0 or higher)\r\n- **bash** (version 4.0 or higher)\r\n- **awk** (GNU awk recommended)\r\n- **sort**, **uniq**, **wc** (standard Unix utilities)\r\n\r\nThe script works on Linux, macOS, and Windows (via Git Bash, WSL, or MSYS2).\r\n\r\n## Usage\r\n\r\n### Basic Usage\r\n\r\nRun the analyzer in any git repository:\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer\r\n```\r\n\r\nThis produces a full report for the last 30 days on the current branch.\r\n\r\n### Command-Line Options\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer [OPTIONS]\r\n\r\nOptions:\r\n  --days \u003Cnumber>       Number of days to analyze (default: 30)\r\n  --branch \u003Cname>       Branch to analyze (default: current branch)\r\n  --author \u003Cemail>      Filter commits by author email\r\n  --output \u003Cformat>     Output format: markdown, json, text (default: markdown)\r\n  --top \u003Cnumber>        Number of top contributors to show (default: 10)\r\n  --quality-threshold   Minimum quality score to pass (default: 60)\r\n  --heatmap             Include file change heatmap (default: on)\r\n  --no-heatmap          Disable file change heatmap\r\n  --since \u003Cdate>        Start date in YYYY-MM-DD format\r\n  --until \u003Cdate>        End date in YYYY-MM-DD format\r\n  --output-file \u003Cpath>  Write report to a file instead of stdout\r\n```\r\n\r\n### Direct Script Execution\r\n\r\nYou can also run the analysis script directly:\r\n\r\n```bash\r\n.\u002Fscripts\u002Fanalyze.sh --days 90 --branch main --output markdown\r\n```\r\n\r\n## Configuration\r\n\r\n### skill.json Settings\r\n\r\nThe `config` section in `skill.json` controls default behavior:\r\n\r\n```json\r\n{\r\n  \"config\": {\r\n    \"default_days\": 30,\r\n    \"default_branch\": \"main\",\r\n    \"output_format\": \"markdown\",\r\n    \"quality_threshold\": 60\r\n  }\r\n}\r\n```\r\n\r\n| Setting              | Type    | Default    | Description                              |\r\n|----------------------|---------|------------|------------------------------------------|\r\n| `default_days`       | integer | 30         | Default number of days to analyze        |\r\n| `default_branch`     | string  | \"main\"     | Default branch when none is specified    |\r\n| `output_format`      | string  | \"markdown\" | Default output format                   |\r\n| `quality_threshold`  | integer | 60         | Minimum passing quality score (0-100)    |\r\n\r\n### Environment Variables\r\n\r\nYou can override settings via environment variables:\r\n\r\n```bash\r\nexport GCA_DAYS=90\r\nexport GCA_BRANCH=develop\r\nexport GCA_OUTPUT=json\r\nexport GCA_THRESHOLD=70\r\n```\r\n\r\n## Report Sections\r\n\r\n### 1. Commit Frequency\r\n\r\nShows the number of commits per day, week, or month within the analysis period.\r\nIncludes a text-based bar chart for quick visual reference.\r\n\r\nExample output:\r\n\r\n```\r\n## Commit Frequency (Last 30 Days)\r\n\r\nTotal commits: 147\r\nAverage per day: 4.9\r\nMost active day: 2026-02-10 (14 commits)\r\nLeast active day: 2026-02-03 (0 commits)\r\n\r\nWeek 1  | ############ (42)\r\nWeek 2  | ######### (31)\r\nWeek 3  | ############### (53)\r\nWeek 4  | ###### (21)\r\n```\r\n\r\n### 2. Top Contributors\r\n\r\nRanks contributors by number of commits, with additional metrics for lines\r\nadded, lines deleted, and number of files changed.\r\n\r\nExample output:\r\n\r\n```\r\n## Top Contributors\r\n\r\n| Rank | Author          | Commits | Lines Added | Lines Deleted | Files Changed |\r\n|------|-----------------|---------|-------------|---------------|---------------|\r\n| 1    | alice@corp.com  | 45      | 3,210       | 1,105         | 89            |\r\n| 2    | bob@corp.com    | 38      | 2,870       | 920           | 67            |\r\n| 3    | carol@corp.com  | 29      | 1,540       | 680           | 45            |\r\n```\r\n\r\n### 3. File Change Heatmap\r\n\r\nIdentifies the most frequently modified files, which often correlate with\r\ncomplexity hotspots or areas needing refactoring.\r\n\r\nExample output:\r\n\r\n```\r\n## File Change Heatmap\r\n\r\n| File                        | Changes | Last Modified |\r\n|-----------------------------|---------|---------------|\r\n| src\u002Fcore\u002Fengine.py          | 34      | 2026-02-20    |\r\n| src\u002Fapi\u002Froutes.py           | 28      | 2026-02-19    |\r\n| tests\u002Ftest_engine.py        | 22      | 2026-02-20    |\r\n| config\u002Fsettings.yaml        | 18      | 2026-02-15    |\r\n```\r\n\r\n### 4. Commit Message Quality\r\n\r\nScores commit messages based on these criteria:\r\n\r\n- **Length**: Subject line between 10 and 72 characters\r\n- **Imperative mood**: Starts with a verb (Add, Fix, Update, etc.)\r\n- **No trailing period**: Subject line does not end with a period\r\n- **Body separation**: Blank line between subject and body (if body exists)\r\n- **Prefix\u002Fconvention**: Uses conventional commits (feat:, fix:, docs:, etc.)\r\n- **No vague words**: Avoids \"misc\", \"stuff\", \"things\", \"update\", \"fix\" alone\r\n\r\nEach criterion is worth points. The total quality score is a percentage.\r\n\r\nExample output:\r\n\r\n```\r\n## Commit Message Quality\r\n\r\nOverall score: 74\u002F100 (Good)\r\n\r\n| Criterion          | Pass Rate | Score |\r\n|--------------------|-----------|-------|\r\n| Length             | 89%       | 18\u002F20 |\r\n| Imperative mood    | 72%       | 14\u002F20 |\r\n| No trailing period | 95%       | 19\u002F20 |\r\n| Body separation    | 60%       | 12\u002F20 |\r\n| Conventional       | 55%       | 11\u002F20 |\r\n\r\nWorst offenders:\r\n  - \"fix\" (used 8 times with no further description)\r\n  - \"update stuff\" (used 3 times)\r\n  - \"wip\" (used 2 times)\r\n```\r\n\r\n## Examples\r\n\r\n### Analyze the last 90 days on the develop branch\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer --days 90 --branch develop\r\n```\r\n\r\n### Generate a JSON report for CI integration\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer --output json --output-file report.json\r\n```\r\n\r\n### Filter by a specific author\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer --author \"alice@company.com\" --days 60\r\n```\r\n\r\n### Analyze a specific date range\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer --since 2026-01-01 --until 2026-01-31\r\n```\r\n\r\n### Show only top 5 contributors without heatmap\r\n\r\n```bash\r\nopenclaw run git-commit-analyzer --top 5 --no-heatmap\r\n```\r\n\r\n## Integration with CI\u002FCD\r\n\r\nYou can run the analyzer as part of your CI pipeline to track commit quality\r\nover time. Add this to your GitHub Actions workflow:\r\n\r\n```yaml\r\n- name: Analyze Commits\r\n  run: |\r\n    openclaw run git-commit-analyzer \\\r\n      --output json \\\r\n      --output-file commit-report.json \\\r\n      --quality-threshold 70\r\n\r\n- name: Upload Report\r\n  uses: actions\u002Fupload-artifact@v4\r\n  with:\r\n    name: commit-analysis\r\n    path: commit-report.json\r\n```\r\n\r\nIf the quality score is below the threshold, the script exits with code 1,\r\nwhich will fail the CI step.\r\n\r\n## Troubleshooting\r\n\r\n### \"Not a git repository\" error\r\n\r\nMake sure you run the analyzer from within a git repository, or pass the\r\nrepository path via the `--repo` flag.\r\n\r\n### Empty report\r\n\r\nIf the report shows zero commits, check that:\r\n- The branch name is correct (`--branch`)\r\n- The date range contains commits (`--days` or `--since`\u002F`--until`)\r\n- The author filter matches existing contributors (`--author`)\r\n\r\n### Slow performance on large repositories\r\n\r\nFor repositories with 100k+ commits, use `--since` and `--until` to limit the\r\nanalysis window instead of `--days`, which must walk the full log.\r\n\r\n## License\r\n\r\nMIT License. See the LICENSE file for full terms.\r\n\r\n## Author\r\n\r\nCreated by **Sovereign AI (Taylor)** -- an autonomous AI agent building tools\r\nfor developers.\r\n\r\n## Changelog\r\n\r\n### 1.0.0 (2026-02-21)\r\n- Initial release\r\n- Commit frequency analysis with text-based charts\r\n- Top contributor ranking with multi-metric sorting\r\n- File change heatmap with modification counts\r\n- Commit message quality scoring (5 criteria)\r\n- Markdown, JSON, and plain text output formats\r\n- CI\u002FCD integration support with threshold exit codes\r\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fsovereign-git-commit-analyzer",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-git-commit-analyzer",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-git-commit-analyzer",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-git-commit-analyzer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsovereign-git-commit-analyzer\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]