affaan-m/ECC/docs/ja-JP/skills/repo-scan/SKILL.md
repo-scan
Review repo-scan's use cases, installation, workflow, and original source instructions.
- Source repository stars
- 234,327
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-07-27
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
どのエコシステムにも独自の依存関係マネージャーがあるが、C++、Android、iOS、Web をまたいで「どのコードが本当に自分のもので、どれがサードパーティで、どれが余分な負担か」を教えてくれるツールはない。
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/affaan-m/ECC --skill "docs/ja-JP/skills/repo-scan"Inspect the Agent Skill "repo-scan" from https://github.com/affaan-m/ECC/blob/4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38/docs/ja-JP/skills/repo-scan/SKILL.md at commit 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
適用場面
大規模なレガシーコードベースを引き継ぎ、全体的な構造を把握する必要がある場合 大規模なリファクタリング前——コアコード、重複コード、廃止コードを特定する パッケージマネージャーで宣言せずにソースに直接埋め込まれたサードパーティの依存関係を監査する モノレポの再編成に向けたアーキテクチャ決定記録を準備する
大規模なレガシーコードベースを引き継ぎ、全体的な構造を把握する必要がある場合大規模なリファクタリング前——コアコード、重複コード、廃止コードを特定するパッケージマネージャーで宣言せずにソースに直接埋め込まれたサードパーティの依存関係を監査する - 02
インストール
Review the “インストール” section in the pinned source before continuing.
Review and apply the “インストール” source section. - 03
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 FETCHHEAD cp -r . /.claude/skills/repo-scan
リポジトリの表面を分類:ファイルを列挙し、各ファイルをプロジェクトコード、埋め込みサードパーティコード、ビルドアーティファクトとしてマークする。埋め込みライブラリを検出:ディレクトリ名、ヘッダーファイル、ライセンスファイル、バージョンマーカーを検査して、バンドルされた依存関係とその可能性のあるバージョンを識別する。各モジュールをスコアリング:ファイルをモジュールまたはサブシステムにグループ化し、所有権、重複度、保守コストに基づいて4つの判定のいずれかを割り当てる。
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
git init repo-scanNetwork access
The documentation includes network, browsing, or remote request actions.
git remote add origin https://github.com/haibindev/repo-scan.gitRuns scripts
The documentation asks the agent to run terminal commands or scripts.
git remote add origin https://github.com/haibindev/repo-scan.gitEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 65/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 234,327 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | catalog record | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- affaan-m/ECC
- Skill path
- docs/ja-JP/skills/repo-scan/SKILL.md
- Commit
- 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
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 | 全ファイル | 統合前の包括的レビュー |
動作原理
- リポジトリの表面を分類:ファイルを列挙し、各ファイルをプロジェクトコード、埋め込みサードパーティコード、ビルドアーティファクトとしてマークする。
- 埋め込みライブラリを検出:ディレクトリ名、ヘッダーファイル、ライセンスファイル、バージョンマーカーを検査して、バンドルされた依存関係とその可能性のあるバージョンを識別する。
- 各モジュールをスコアリング:ファイルをモジュールまたはサブシステムにグループ化し、所有権、重複度、保守コストに基づいて4つの判定のいずれかを割り当てる。
- 構造的リスクを強調:冗長なアーティファクト、重複したラッパー、古いベンダーコード、および抽出・再構築・廃止すべきモジュールを指摘する。
- レポートを生成:簡潔なサマリーとインタラクティブなHTML出力を返し、モジュールごとのドリルダウンにより監査結果を非同期でレビューできる。
例
50,000ファイルのC++モノレポで:
- FFmpeg 2.x(2015年版)がまだ使用されていることを発見
- 同じSDKラッパーが3回重複していることを発見
- 636 MBのコミット済みDebug/ipch/objビルドアーティファクトを識別
- 分類結果:3 MBのプロジェクトコード vs 596 MBのサードパーティコード
ベストプラクティス
- 初回監査は
standardの深さから始める - 100以上のモジュールを含むモノレポには
fastで素早く棚卸しする - リファクタリングが必要とフラグ立てされたモジュールに対して段階的に
deepを実行する - クロスモジュール分析の結果をレビューして、サブプロジェクト間の重複コードを検出する
リンク
Alternatives
Compare before choosing
affaan-m/ECC
repo-scan
Cross-stack source code asset audit — classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.
affaan-m/ECC
repo-scan
Review repo-scan's use cases, installation, workflow, and original source instructions.