Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
affaan-m avatar

Repo Scan

  • 1.4k installs
  • 238k repo stars
  • Updated August 5, 2026
  • affaan-m/ecc

This is a copy of repo-scan by affaan-m - installs and ranking accrue to the original listing.

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

About

repo-scan is a cross-stack source audit skill that classifies each file, detects third-party libraries embedded without package managers, and assigns practical four-level verdicts per module alongside an interactive HTML report. Developers install it from haibindev/repo-scan via a pinned git fetch into ~/.claude/skills/repo-scan for reproducible runs. Use repo-scan when taking over large legacy codebases, planning refactors to separate core from duplicate or dead code, auditing vendored C++, Android, iOS, or Web dependencies, or preparing architecture decision records for monorepo reorganization. The skill addresses ecosystems where no single dependency manager explains what code is owned versus third-party.

  • 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

  • 1,387 all-time installs (skills.sh)
  • +82 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill repo-scan

Add your badge

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

Listed on Skillselion
Installs1.4k
repo stars238k
Last updatedAugust 5, 2026
Repositoryaffaan-m/ecc

How do you audit vendored code across stacks?

Instantly map any legacy or cross-platform codebase, classify every file, detect embedded third-party libraries, and receive clear four-level verdicts with an inte

Who is it 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 this skill?

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

What you get

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

Files

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 を実行する
  • クロスモジュール分析の結果をレビューして、サブプロジェクト間の重複コードを検出する

リンク

Related skills

How it compares

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

FAQ

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.

Code Review & Qualityintegrationstestingdocs

This week in AI coding

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

unsubscribe anytime.