If the path doesn't include src/, assume it to be in the src directory. E.g. numeric_range_tree becomes src/numeric_range_tree.
Instructions
For each module path:
# Read header file
git show master:<module path>.h
# Read implementation file
git show master:<module path>.c
1---2name: read-unmodified-c-module3description: Read Unmodified C Module4---5# Read Unmodified C Module67Read the source of the C module(s) we are working on, as they were before we made any changes.89## Arguments10- `<module path>`: Module name to read (e.g., `src/numeric_range_tree` or `src/aggregate/aggregate_debug`), without extension11- `<module path 1> <module path 2>`: Multiple module names to read1213If the path doesn't include `src/`, assume it to be in the `src` directory. E.g. `numeric_range_tree` becomes `src/numeric_range_tree`.1415## Instructions1617For each module path:1819```bash20# Read header file21git show master:<module path>.h22# Read implementation file23git show master:<module path>.c24```
Run npx skillmds@latest add comeonoliver/read-unmodified-c-module in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Read Unmodified C Module It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.