src-tree-reorganize

Installation
SKILL.md

Src tree reorganize

When to use

  • User wants sources moved from repo root into src/ (or similar tidy-up)
  • "make the project neat", scattered .c / .h at top level
  • After MVU refactor when file layout is still messy

Steps

  1. Glob all *.c, *.h, and CMakeLists.txt under {REPO_ROOT}.
  2. Grep includes and add_executable / target_sources references.
  3. Propose target layout (e.g. src/, include/) — minimal moves per step.
  4. Write / StrReplace paths in CMake and #include lines together.
  5. Shell cmake --build (or project build command) after each batch of moves.
  6. Summarize what moved and what still references old paths.

Constraints

Installs
1
Repository
p10ns11y/skills
GitHub Stars
1
First Seen
Jun 8, 2026
src-tree-reorganize — p10ns11y/skills