PluginBench
Skill
Review
Audit score 70

repo-scan

affaan-m/everything-claude-code

Cross-stack source code audit: classify files, detect embedded libraries, deliver actionable verdicts with interactive HTML reports.

What is repo-scan?

repo-scan audits large codebases across C++, Java/Android, iOS, and Web to classify every file as project code, third-party, or build artifact, and detects embedded libraries with version extraction. Use it when taking over legacy code, preparing for refactoring, or auditing undeclared third-party dependencies.

  • Cross-stack scanning of C/C++, Java/Android, iOS (OC/Swift), and Web (TS/JS/Vue) in one pass
  • File classification as project code, third-party, or build artifact
  • Detection of 50+ known libraries (FFmpeg, Boost, OpenSSL, etc.) with version extraction
  • Four-level verdicts per module: Core Asset, Extract & Merge, Rebuild, or Deprecate
  • Interactive dark-theme HTML reports with drill-down navigation
  • Monorepo support with hierarchical scanning and per-project summaries

How to install repo-scan

npx skills add https://github.com/affaan-m/everything-claude-code --skill repo-scan
Prerequisites
  • Git installed for cloning the skill repository
  • Access to the target codebase (local or mounted)
Claude Code
Cursor
Windsurf
Cline

How to use repo-scan

  1. 1.Run repo-scan with desired depth level (fast, standard, deep, or full)
  2. 2.Review the generated HTML report in your browser for module-level verdicts and cross-stack analysis
  3. 3.Drill down into flagged modules to inspect file classifications and detected libraries
  4. 4.Use the summary to prioritize refactoring: extract duplicates, rebuild outdated vendored code, or deprecate dead weight
  5. 5.Share the interactive report asynchronously with stakeholders for architecture decisions

Use cases

Good for
  • Taking over a large legacy codebase to understand structural composition and ownership
  • Identifying embedded third-party libraries and outdated vendored code before refactoring
  • Discovering duplicate wrappers and dead-weight build artifacts across monorepos
  • Preparing architecture decision records for monorepo reorganization
  • Pre-merge comprehensive review of code quality and dependency risks
Who it's for
  • Engineering leads auditing legacy systems
  • Architects planning refactoring or monorepo reorganization
  • DevOps/build engineers managing multi-stack codebases
  • Teams inheriting unfamiliar or undocumented projects

repo-scan FAQ

What does each analysis depth level do?

fast reads 1-2 files per module for quick inventory; standard (default) reads 2-5 files for full dependency and architecture checks; deep reads 5-10 files adding thread safety and memory analysis; full reads all files for comprehensive pre-merge review.

Can it scan monorepos?

Yes. repo-scan supports hierarchical scanning with a summary report plus individual sub-project reports for drill-down analysis.

What are the four verdicts?

Core Asset (keep and maintain), Extract & Merge (consolidate duplicates), Rebuild (modernize outdated code), and Deprecate (remove or replace).

Does it detect library versions?

Yes, it inspects directory names, headers, license files, and version markers to identify 50+ known libraries and extract their likely versions.

What output does it produce?

A concise summary plus interactive HTML reports with dark theme and per-module drill-down navigation for asynchronous review.

Full instructions (SKILL.md)

Source of truth, from affaan-m/everything-claude-code.


name: repo-scan description: 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. metadata: origin: community

repo-scan

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.

When to Use

  • Taking over a large legacy codebase and need a structural overview
  • Before major refactoring — identify what's core, what's duplicate, what's dead
  • Auditing third-party dependencies embedded directly in source (not declared in package managers)
  • Preparing architecture decision records for monorepo reorganization

Installation

# 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.

Core Capabilities

CapabilityDescription
Cross-stack scanningC/C++, Java/Android, iOS (OC/Swift), Web (TS/JS/Vue) in one pass
File classificationEvery file tagged as project code, third-party, or build artifact
Library detection50+ known libraries (FFmpeg, Boost, OpenSSL…) with version extraction
Four-level verdictsCore Asset / Extract & Merge / Rebuild / Deprecate
HTML reportsInteractive dark-theme pages with drill-down navigation
Monorepo supportHierarchical scanning with summary + sub-project reports

Analysis Depth Levels

LevelFiles ReadUse Case
fast1-2 per moduleQuick inventory of huge directories
standard2-5 per moduleDefault audit with full dependency + architecture checks
deep5-10 per moduleAdds thread safety, memory management, API consistency
fullAll filesPre-merge comprehensive review

How It Works

  1. Classify the repo surface: enumerate files, then tag each as project code, embedded third-party code, or build artifact.
  2. Detect embedded libraries: inspect directory names, headers, license files, and version markers to identify bundled dependencies and likely versions.
  3. Score each module: group files by module or subsystem, then assign one of the four verdicts based on ownership, duplication, and maintenance cost.
  4. Highlight structural risks: call out dead-weight artifacts, duplicated wrappers, outdated vendored code, and modules that should be extracted, rebuilt, or deprecated.
  5. Produce the report: return a concise summary plus the interactive HTML output with per-module drill-down so the audit can be reviewed asynchronously.

Examples

On a 50,000-file C++ monorepo:

  • Found FFmpeg 2.x (2015 vintage) still in production
  • Discovered the same SDK wrapper duplicated 3 times
  • Identified 636 MB of committed Debug/ipch/obj build artifacts
  • Classified: 3 MB project code vs 596 MB third-party

Best Practices

  • Start with standard depth for first-time audits
  • Use fast for monorepos with 100+ modules to get a quick inventory
  • Run deep incrementally on modules flagged for refactoring
  • Review the cross-module analysis for duplicate detection across sub-projects

Links