loc-change-table
Installation
SKILL.md
LOC Change Table
Use this skill when the user wants a repo-by-category table of line changes under a folder since a date.
How to run
The bundled script is the single source of truth. Run it and present its output verbatim. Do not hand-compute counts, and do not substitute ad-hoc git log/git diff one-liners — they count differently and produce inconsistent results.
-
Resolve the inputs:
- Folder: use the user's path, or the current working directory if none is given.
- Date: required. If the user did not give one, ask. Accept any
git-compatible form, such as2026-06-01,last Friday, or2 weeks ago.
-
Run:
python3 scripts/loc_change_table.py <folder> --since <date> -
Present the Markdown table the script prints, then relay its trailing notes (hidden repos, empty-tree warnings, skipped repos). Do not drop the notes — the empty-tree warning is how a wrong date is caught.