What problem does it solve?
This Skill lets you hide teammates-committed files or directories from your local working tree without changing any tracked content or your team’s .gitignore rules.
Core Features & Use Cases
- Hide tracked paths locally: Removes specified tracked files from your working tree using git sparse-checkout so you can keep personal clutter out of view.
- Reversible restore: Brings hidden paths back on demand, or disables sparse-checkout entirely to restore everything.
- Safety guardrails: Refuses to hide when there are uncommitted changes to tracked files under the target path, preventing a half-applied state that could lead to silent loss of work.
- List current hidden state: Shows which paths are currently excluded in the per-clone sparse-checkout configuration.
Use case: teammates commit personal/generated output like .claude/ or dist/, but you want them hidden only on your machine while still leaving the repo intact for everyone else.
Quick Start
Ask to hide a path locally by running: python <skill-dir>/scripts/sparse_checkout.py hide .claude/