Claude-skill-registry discover-source

Guidelines for exploring source code to understand context.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/discover-source" ~/.claude/skills/majiayu000-claude-skill-registry-discover-source && rm -rf "$T"
manifest: skills/data/discover-source/SKILL.md
source content

Discover Source

Guidelines for finding and analyzing source code related to a ticket.

Search Strategy

  1. File patterns: Search for files matching keywords from the request
  2. Code patterns: Grep for function names, class names, imports
  3. Dependencies: Trace imports to understand relationships

Analysis Focus

  • Entry points and main flows
  • Data structures and types
  • Integration points
  • Existing patterns to follow

Output Format

Provide structured JSON with:

  • summary
    : High-level synthesis
  • files
    : List of relevant files with purpose and relevance
  • code_flow
    : How components interact