affaan-m avatar

Repo Scan Skill

Installs
11.5k
Repo stars
316k
Repo updated
Dec 1, 2026

TL;DR

repo-scan is an agent skill that maps legacy and cross-platform codebases, classifies every file, detects embedded third-party libraries, and delivers four-level verdicts with interactive HTML reports for developers inhe

Install if

Developers inheriting large cross-platform or legacy repositories who must separate owned code from vendored or dead modules before refactoring.

Skip if

Greenfield projects with a single package manager and no embedded third-party source to audit.

npx skills add https://github.com/affaan-m/ECC --skill repo-scan
On this page
  1. What repo-scan covers
  2. repo-scan by the numbers
  3. What does the Repo Scan skill produce?
  4. What files ship with repo-scan?
  5. Which skills are related to repo-scan?
  6. What are the Repo Scan skill forks?
  7. How does repo-scan compare?
  8. Repo Scan skill FAQ
  9. More in this repo

What repo-scan covers

  • Cross-stack scanning for C/C++, Java/Android, iOS (Objective-C/Swift), and Web (TypeScript/JavaScript/Vue) in a single p
  • Classifies every file as project code, third-party, or build artifact
  • Detects 50+ known embedded libraries including FFmpeg, Boost, and OpenSSL
  • Delivers actionable four-level verdicts per module
  • Generates interactive HTML reports for architecture and refactoring decisions

repo-scan by the numbers

All-time installs11,509 (11.5k)skills.sh registry
Repo stars★ 316kGitHub
Repo last updatedDecember 1, 2026GitHub
Repositoryaffaan-m/ECC ↗

Data as of Dec 4, 2026 (Skillselion catalog sync)

What does the Repo Scan skill produce?

Per-file classifications, embedded dependency detections, four-level module verdicts, and an interactive HTML audit report.

  • file classification map
  • four-level verdicts
  • interactive HTML report

What files ship with repo-scan?

SKILL.mdMarkdownGitHub ↗

repo-scan

どのエコシステムにも独自の依存関係マネージャーがあるが、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…)を識別しバージョン番号を抽出
4段階の判定コア資産 / 抽出・統合 / 再構築 / 廃止
HTMLレポート階層的なドリルダウンナビゲーションに対応したインタラクティブなダークテーマページ
モノレポサポート階層的スキャンによるサマリー + サブプロジェクトレポート

分析の深さレベル

レベル読み取りファイル数適用場面
fastモジュールあたり1〜2個大規模ディレクトリの素早い棚卸し
standardモジュールあたり2〜5個デフォルト監査、完全な依存関係 + アーキテクチャチェック
deepモジュールあたり5〜10個スレッド安全性、メモリ管理、API一貫性チェックを追加
full全ファイル統合前の包括的レビュー

動作原理

  1. リポジトリの表面を分類:ファイルを列挙し、各ファイルをプロジェクトコード、埋め込みサードパーティコード、ビルドアーティファクトとしてマークする。
  2. 埋め込みライブラリを検出:ディレクトリ名、ヘッダーファイル、ライセンスファイル、バージョンマーカーを検査して、バンドルされた依存関係とその可能性のあるバージョンを識別する。
  3. 各モジュールをスコアリング:ファイルをモジュールまたはサブシステムにグループ化し、所有権、重複度、保守コストに基づいて4つの判定のいずれかを割り当てる。
  4. 構造的リスクを強調:冗長なアーティファクト、重複したラッパー、古いベンダーコード、および抽出・再構築・廃止すべきモジュールを指摘する。
  5. レポートを生成:簡潔なサマリーとインタラクティブなHTML出力を返し、モジュールごとのドリルダウンにより監査結果を非同期でレビューできる。

例

50,000ファイルのC++モノレポで:

  • FFmpeg 2.x(2015年版)がまだ使用されていることを発見
  • 同じSDKラッパーが3回重複していることを発見
  • 636 MBのコミット済みDebug/ipch/objビルドアーティファクトを識別
  • 分類結果:3 MBのプロジェクトコード vs 596 MBのサードパーティコード

ベストプラクティス

  • 初回監査は standard の深さから始める
  • 100以上のモジュールを含むモノレポには fast で素早く棚卸しする
  • リファクタリングが必要とフラグ立てされたモジュールに対して段階的に deep を実行する
  • クロスモジュール分析の結果をレビューして、サブプロジェクト間の重複コードを検出する

リンク

Which skills are related to repo-scan?

What are the Repo Scan skill forks?

Repo Scan has 1 known copy in the catalog totaling 4.6k installs. They canonicalize to this original listing.

How does repo-scan compare?

Pick repo-scan when vendored source and cross-stack ownership are unclear; use dependency scanners when a single lockfile already declares all packages.

Repo Scan skill FAQ

Who is the Repo Scan skill for?

Developers inheriting large cross-platform or legacy repositories who must separate owned code from vendored or dead modules before refactoring. Skip if: Greenfield projects with a single package manager and no embedded third-party source to audit.

When should I use repo-scan?

The developer inherits a legacy codebase, plans a large refactor, or needs to find third-party libraries embedded without package declarations.

What platforms does repo-scan support?

repo-scan audits cross-stack repositories spanning C++, Android, iOS, and Web codebases, classifying files and detecting embedded third-party libraries even when no unified package manager exists.

What output does repo-scan produce?

repo-scan delivers per-file classifications, embedded dependency detections, four-level module verdicts, and an interactive HTML report developers use for refactor planning and architecture decision records.

Add a repo-scan badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code
Code Review & Qualityintegrationstestingdocs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.