project-orientation-sweep
Installation
SKILL.md
Project Orientation Sweep
Use this skill to build a repo-grounded map before changing code. Scale the sweep to the user's request and the repository size: quick and direct for small projects, lane-based and evidence-driven for large projects.
First Moves
-
Establish boundaries:
- Run
pwd,git rev-parse --show-toplevel,git status --short --branch, andgit remote -vwhen inside a git repo. - If the current directory is not a repo, identify nearby independent repos instead of assuming a monorepo.
- Preserve unrelated dirty work.
- Run
-
Capture a cheap inventory:
- Prefer
scripts/project_inventory.sh [path]when available, then follow up with targeted reads. - Otherwise use
rg --files,git ls-files, top-level manifests, and shallow directory counts. - Exclude generated or vendor-heavy directories such as
node_modules,target,dist,build,.next,.turbo,.venv, andvendor.
- Prefer