# Discover Source

> Guidelines for exploring source code to understand context.

- Skill: `majiayu000/discover-source` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/discover-source`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/discover-source/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/discover-source

---


# 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

