AgentSkillsCN

repo-scanning

对代码仓库的结构、设计模式及关键组件进行全面扫描与记录,并在初次接触陌生代码库时加以参考。

SKILL.md
--- frontmatter
name: repo-scanning
description: Scan and document repository structure, patterns, and key components. Use when starting work on unfamiliar codebases.

Repository Scanning

Produce a comprehensive map of the repository to enable effective navigation and understanding.

Process

  1. Identify major directories and their purposes
  2. Find key modules, services, or packages
  3. Note conventions and patterns in use
  4. Document entry points and important files
  5. Flag any unusual structures or concerns

Output

Create context/repo-map.md using the template in templates/repo-map.md.

Tips

  • Focus on structure, not implementation details
  • Note naming conventions observed
  • Identify test directories and their organization
  • Look for configuration files that reveal project setup