扫描代码仓库资产并识别第三方库,生成模块级风险结论与交互报告
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "repo-scan" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/repo-scan/SKILL.md 2. 保存为 ~/.claude/skills/repo-scan/SKILL.md 3. 装好后重载技能,告诉我可以用了
请扫描这个代码仓库的所有文件,按类型分类每个文件,识别嵌入的第三方库,并按模块给出四级结论:安全、关注、风险、高风险。最后生成可交互的 HTML 报告,列出问题位置、证据和处理建议。
一份仓库资产审计结果,包含文件分类、第三方依赖识别、模块级风险结论及可交互 HTML 报告。
分析这个老项目中的各个模块,找出复制粘贴引入或嵌入的第三方代码,判断哪些组件来源不明、版本过旧或存在维护风险,并按照四级结论输出优先处理清单。
一份聚焦历史遗留风险的清单,说明可疑第三方组件、风险等级、影响模块与优先处理建议。
在发布前对仓库做一次全面源码资产审计,统计各类文件数量,识别第三方库分布情况,并对每个模块给出四级结论与整改建议,输出适合团队评审的 HTML 报告。
一份适合发布评审的源码审计报告,展示资产分布、第三方库情况、模块结论和整改建议。
Every ecosystem has its own dependency manager, but no tool looks across C++, Android, iOS, and Web to tell you: how much code is actually yours, what's third-party, and what's dead weight.
# Fetch only the pinned commit for reproducibility
mkdir -p ~/.claude/skills/repo-scan
git init repo-scan
cd repo-scan
git remote add origin https://github.com/haibindev/repo-scan.git
git fetch --depth 1 origin 2742664
git checkout --detach FETCH_HEAD
cp -r . ~/.claude/skills/repo-scan
Review the source before installing any agent skill.
| Capability | Description |
|---|---|
| Cross-stack scanning | C/C++, Java/Android, iOS (OC/Swift), Web (TS/JS/Vue) in one pass |
| File classification | Every file tagged as project code, third-party, or build artifact |
| Library detection | 50+ known libraries (FFmpeg, Boost, OpenSSL…) with version extraction |
| Four-level verdicts | Core Asset / Extract & Merge / Rebuild / Deprecate |
| HTML reports | Interactive dark-theme pages with drill-down navigation |
| Monorepo support | Hierarchical scanning with summary + sub-project reports |
| Level | Files Read | Use Case |
|---|---|---|
fast | 1-2 per module | Quick inventory of huge directories |
standard | 2-5 per module | Default audit with full dependency + architecture checks |
deep | 5-10 per module | Adds thread safety, memory management, API consistency |
full | All files | Pre-merge comprehensive review |
On a 50,000-file C++ monorepo:
standard depth for first-time auditsfast for monorepos with 100+ modules to get a quick inventorydeep incrementally on modules flagged for refactoring帮助开发者为代码代理配置性能优化、安全防护与研究优先工作流。
帮助开发者用 pytest-django 与 TDD 构建高质量 Django 测试体系。
帮助开发者使用 Bun 进行运行、打包、测试与依赖管理,并评估替代 Node 的时机。
帮助团队搭建可复现、可部署、可监控的生产级机器学习工程流程
帮助你用地道 Go 实践编写测试、基准、模糊测试并提升覆盖率。
帮助你研究预测市场信号,用于产品决策、数据看板与智能体分析集成。
用于扫描 Python 项目与 GitHub 仓库中的漏洞、密钥并生成风险评估。
扫描项目依赖、密钥、许可证与代码健康,并给出可执行改进建议。
离线扫描 AI 代理仓库与插件,快速发现安全风险和可疑配置。
扫描 GitHub 仓库与智能合约,识别易受量子攻击的 ECDSA/RSA 风险
为 GitHub 仓库提供克隆、代码审计、安全扫描与智能解析能力。
为 AI 生成代码提供可发布前的安全扫描与风险分级建议