source-investigator

Installation
SKILL.md

Source Investigator

Inspect real source when that is the most reliable way to answer the question. Keep the main thread focused on synthesis and decisions, not on carrying around large amounts of raw source code.

Workflow

  1. Decide whether source inspection is warranted.
  • Prefer source over docs when the question depends on real control flow, defaults, edge cases, or version-specific behavior.
  • Prefer docs first for public API overviews or setup instructions. If docs are still useful, have a subagent use find-docs rather than loading long documentation into the main thread.
  • If the user named a specific repo, library, or framework version, treat that as a strong signal to inspect the exact source.
  1. Create a project-local temp workspace before cloning.
  • Work from the current project root.
  • Create .tmp/ if it does not exist.
  • Create or update .gitignore so .tmp/ is ignored. Do not assume a .gitignore file already exists.
  • Keep disposable investigation clones under .tmp/repos/.
  • Keep any generated notes or scratch outputs under .tmp/work/.
  1. Clone the exact repository and ref you need.
Related skills

More from sjunepark/custom-skills

Installs
24
First Seen
Mar 17, 2026