docs/zh-CN/skills/repo-scan/SKILL.md
跨栈源代码资产审计——对每个文件进行分类,检测嵌入的第三方库,并为每个模块提供可操作的四级判定结果,附带交互式HTML报告。
npx skillsauth add affaan-m/everything-claude-code repo-scanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
每个生态系统都有自己的依赖管理器,但没有工具能跨 C++、Android、iOS 和 Web 告诉你:有多少代码真正属于你,哪些是第三方代码,哪些是冗余负担。
# 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
安装任何代理技能前,请先审查源码。
| 能力 | 描述 | |---|---| | 跨技术栈扫描 | 一次扫描 C/C++、Java/Android、iOS(OC/Swift)、Web(TS/JS/Vue) | | 文件分类 | 每个文件标记为项目代码、第三方代码或构建产物 | | 库检测 | 识别 50+ 已知库(FFmpeg、Boost、OpenSSL…)并提取版本号 | | 四级判定 | 核心资产 / 提取合并 / 重建 / 废弃 | | HTML 报告 | 交互式深色主题页面,支持逐层下钻导航 | | 单体仓库支持 | 分层扫描,提供摘要 + 子项目报告 |
| 级别 | 读取文件数 | 适用场景 |
|---|---|---|
| fast | 每模块 1-2 个 | 快速盘点大型目录 |
| standard | 每模块 2-5 个 | 默认审计,含完整依赖 + 架构检查 |
| deep | 每模块 5-10 个 | 增加线程安全、内存管理、API 一致性检查 |
| full | 所有文件 | 合并前全面审查 |
在一个 50,000 文件的 C++ 单体仓库中:
standard 深度开始fast 快速盘点deepdevelopment
Share durable, inspectable context and handoffs between Claude, Codex, Hermes, Cursor, OpenCode, and other agents through the local ECC Memory Vault. Use when an agent must save work state, transfer context, resume another agent's task, or search shared project knowledge.
development
Use when multiple consumers and providers must evolve an API or event schema without field drift, integration surprises, or one side silently redefining the interface.
tools
Query live GPU inventory, submit an authenticated Itô fixed-rate RFQ, inspect RFQ or procurement status, and run explicitly gated node qualification through the separately installed canonical CLI. Use when a user asks to find H100/H200 capacity, request a fixed compute rate, check Itô compute status, or validate GPU nodes.
data-ai
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.