技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
repo-audit【数据与研究】Deep analysis of Git history: identify frequently changed hotspot files, analyze code ownership by contributor, and scan for leaked secrets. Triggered when users ask about Git analysis, code hotspots, who owns what code, secret scanning, security audits of commit history, or optimizing code review assignments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: repo-audit description: "Deep analysis of Git history: identify frequently changed hotspot files, analyze code ownership by contributor, and scan for leaked secrets. Triggered when users ask about Git analysis, code hotspots, who owns what code, secret scanning, security audits of commit history, or optimizing code review assignments." type: tool license: MIT tags:
Perform three-dimensional analysis on a Git repository: hotspot file detection, code ownership analysis, and secret leak scanning.
scripts/hotfiles.sh)Identify the most frequently changed files in a repository to help spot:
Usage:
bash scripts/hotfiles.sh [options]
| Option | Description | Default |
|---|---|---|
--repo PATH | Repository path | Current directory |
--top N | Show top N files | 20 |
--since DATE | Start date (e.g. 2024-01-01) | None |
--until DATE | End date | None |
--author AUTHOR | Filter by author | None |
--format FORMAT | Output format: table / csv / json | table |
scripts/ownership.sh)Analyze actual code ownership, reporting for each contributor within the specified scope:
Usage:
bash scripts/ownership.sh [options]
| Option | Description | Default |
|---|---|---|
--repo PATH | Repository path | Current directory |
--path SUBPATH | Analyze a specific subdirectory or file | Entire repo |
--top N | Show top N contributors | 10 |
--since DATE | Start date | None |
--format FORMAT | Output format: table / csv / json | table |
scripts/secret-scan.sh)Scan the full Git history (including deleted commits) for common secrets and sensitive information:
Usage:
bash scripts/secret-scan.sh [options]
| Option | Description | Default |
|---|---|---|
--repo PATH | Repository path | Current directory |
--branch BRANCH | Scan a specific branch | All branches |
--since DATE | Start date | None |
--format FORMAT | Output format: table / csv / json | table |
--severity LEVEL | Minimum severity level: low / medium / high | low |
git (>= 2.20)bash (>= 4.0)awk, sort, head, grepNo additional dependencies or paid APIs required.