repo-scan

Classify source files and detect embedded third-party libraries across codebases.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/riftzen-bit/gemini-setup --skill repo-scan-riftzen-bit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-scan
Source: https://github.com/riftzen-bit/gemini-setup/tree/main/skills/repo-scan
Command: npx skills add https://github.com/riftzen-bit/gemini-setup --skill repo-scan-riftzen-bit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-stack source code asset audit that classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.

Core Features & Use Cases

  • Cross-stack scanning across C/C++, Java/Android, iOS (OC/Swift), Web (TS/JS/Vue) in one pass
  • File classification tagging each file as project code, third-party, or build artifact
  • Library detection for 50+ known libraries with version extraction
  • Four-level verdicts: Core Asset / Extract & Merge / Rebuild / Deprecate
  • HTML reports with interactive drill-down navigation
  • Monorepo support: hierarchical scanning with module-level summaries and sub-project reports

Quick Start

Run the repo-scan tool on your codebase to generate an interactive HTML audit report.

Frequently Asked Questions about repo-scan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit source files across multiple languages in a legacy monorepo?

Cross-stack code auditing classifies every source file across C/C++, Java, iOS, and Web languages within a monorepo hierarchy. It tags files as project code, third-party, or build artifacts, generating per-module summaries and interactive HTML reports.

How do I detect embedded third-party libraries in a multi-language codebase?

Library detection scans a multi-language codebase to identify 50+ known embedded third-party libraries and extract their versions. It tags corresponding files as third-party rather than project code to separate dependencies from core assets.

Can I scan a monorepo with mixed C++, Java, and TypeScript source code in one pass?

Yes, cross-stack scanning supports C/C++, Java/Android, iOS (OC/Swift), and Web (TS/JS/Vue) in a single pass. It processes monorepo hierarchies to deliver module-level summaries and sub-project reports for mixed-language repositories.

What is a four-level verdict in a cross-stack code audit?

A four-level verdict categorizes audited modules as Core Asset, Extract & Merge, Rebuild, or Deprecate. These actionable outcomes guide audit-driven refactoring decisions by identifying core code, duplicates, and dependencies across the scanned codebase.

How do I generate interactive HTML reports for a multi-language codebase audit?

Running a cross-stack code audit generates interactive HTML reports with drill-down navigation. These reports visualize file classification tags, detected library versions, and four-level module verdicts for legacy monorepos and multi-language projects.

Does monorepo code auditing work for legacy refactoring and duplicate detection?

Yes, monorepo code auditing is designed for legacy refactoring and audit-driven modernization. It identifies duplicate code, isolates third-party dependencies, and provides actionable verdicts to extract, rebuild, or deprecate modules across cross-language stacks.