ai-friendly-module-identifier

Identify modules across directory and file boundaries with structured output.

52|3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ZTE-AICloud/Co-OmniSpec --skill ai-friendly-module-identifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-friendly-module-identifier
Source: https://github.com/ZTE-AICloud/Co-OmniSpec/tree/main/skills/ai-friendly-module-identifier
Command: npx skills add https://github.com/ZTE-AICloud/Co-OmniSpec --skill ai-friendly-module-identifier

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

识别代码库中的所有模块,按目录级与文件级双层粒度进行边界识别,帮助开发团队理解模块边界与架构结构。

Core Features & Use Cases

  • Dual-level discovery: 识别目录级边界与文件级实现,覆盖业务模块和数据持久、接口适配、基础设施及公共工具层。
  • Architecture-aware reports: 输出模块的相对路径、名称、深度和每个文件的行数,便于架构评审和重构计划。

Quick Start

请对指定代码库执行模块识别,并返回包含边界、路径与深度的模块清单。

Frequently Asked Questions about ai-friendly-module-identifier

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

FAQPage Schema
How do I identify all modules in a codebase for architecture analysis?

To identify all modules in a codebase for architecture analysis, scan the repository to detect boundaries across directory-level and file-level granularities. This produces a structured list of module paths, names, depths, and per-file line counts.

What is dual-level module boundary scanning in a repository?

Dual-level module boundary scanning is the process of detecting module structures at both directory-level and file-level granularities. It maps business, data persistence, API adaptation, and infrastructure layers to clarify structural dependencies.

Does codebase modularity analysis work for mapping API adaptation and data persistence layers?

Codebase modularity analysis works for mapping API adaptation and data persistence layers by scanning the repository to identify structural boundaries. It outputs relative paths and depth metrics to support architecture reviews across these layers.

How do I extract module paths and file line counts for a refactoring plan?

To extract module paths and file line counts for a refactoring plan, scan the codebase to identify module boundaries at dual granularities. This generates structured architecture-aware reports detailing relative paths, depths, and line counts.

What is the best way to scan a repository to understand module dependencies?

The best way to scan a repository to understand module dependencies is to perform dual-level boundary identification across directory and file structures. This yields structured results mapping module paths and depths for downstream tooling.

When do I need to map module boundaries at file-level granularity?

You need to map module boundaries at file-level granularity when assessing modularity and understanding dependencies within specific implementation layers. It captures per-file line counts and structural depth for detailed architecture review.