frankchen021 avatar

Source Code Inspection

Investigative source-code analysis that traces runtime and query errors to file-cited evidence.

CCM score
59 of 100
GitHub stars
328
last updated
May 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers locating and reading repository code with search_file and read_file to explain behavior and trace error origins
  • Includes a narrow-search workflow that finds identifiers and error strings before reading only targeted line ranges
  • Enforces file-cited answers in a fixed [[file:path#L12-L34]] format and flags any partially inspected code paths
  • Designed for debugging failures such as UNKNOWN_TABLE where the cause of a SQL or config error must be located in code

Install

$ npx -y skills add frankchen021/datastoria --skill source-code-inspection -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

When To Use

Use this skill when the user wants to:

  • investigate source-code causes of runtime failures or query errors
  • trace where SQL, configuration, or request parameters were built in code
  • find the code path that led to an error such as UNKNOWN_TABLE
  • explain behavior with file-cited evidence from the repository

Workflow

  1. Use search_file first to locate relevant files and line numbers before reading content.
  2. Use read_file only for targeted sections; do not read entire files or large ranges.
  3. Prefer narrow, iterative reads: search identifiers, function names, or error strings, then expand only when necessary.
  4. Do not claim to have reviewed code that was not loaded with tools in this conversation.
  5. If no matches found, refine the search and retry before giving up.

Citation Format

Always use this exact format for source-file citations:

  • [[file:path/to/file.ts]]
  • [[file:path/to/file.ts#L12]]
  • [[file:path/to/file.ts#L12-L34]]

Details

Repository
github.com/frankchen021/datastoria
Categories
Debugging, Databases, Code Review & Quality
First seen
Jun 11, 2026

More from frankchen021/datastoria

All 7

Similar to Source Code Inspection

More Debugging