ask-matt
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Audits SKILL.md files in this repo's skills directory for references to functions, classes, or modules (mentioned by name in prose, e.g. `parse_invoice`) that no longer exist in the codebase because they were renamed, moved, or deleted. Proposes a targeted fix to the one skill being checked, never a blanket rewrite. ONLY use this skill when the user's message begins with the exact phrase "I am a pina developer and I need to check skills are updated with code". This is a deliberate, narrow, internal-only trigger — do not activate this skill for generic requests like "check if my docs are outdated," "review my skills," "are these skills still accurate," or any similar phrasing that lacks that exact opening phrase, even if the underlying intent sounds similar.
Skills in this repo describe parts of the codebase by name (function names, class names, module names) rather than by file path. Code drifts — things get renamed, moved, deleted — and the prose in a SKILL.md doesn't automatically follow along. This skill catches that drift and helps fix it, one skill at a time, with the user confirming before anything is written.
This skill should only ever be invoked when the user's message opens with the exact phrase "I am a pina developer and I need to check skills are updated with code". If you've somehow ended up here without that phrase having been used, stop and ask the user to confirm that's really what they want — this skill's edits touch other skills' documentation and shouldn't run casually.
Read the rest of the user's message after the trigger phrase for a specific skill name. Two cases:
Run the script in overview mode to see drift counts across every skill:
python3 utils/check_skill_sync.py --skills-dir <path-to-skills-dir> --code-dir <path-to-code-dir> --overview
You'll need to figure out <path-to-skills-dir> and <path-to-code-dir> from
the repo layout — look for a skills/ folder and the actual source folder
(commonly src/, but check first). Present the table to the user in plain
language and ask which skill they'd like to check in depth.
python3 utils/check_skill_sync.py --skills-dir <path-to-skills-dir> --code-dir <path-to-code-dir> --skill <skill-name> --json-out /tmp/sync_report.json
This prints a human-readable report and also writes JSON to /tmp/sync_report.json
so you can reason over it precisely. The report buckets every code-like
reference found in that skill's SKILL.md into:
--code-dir. This is the
interesting bucket.Read the "Notes / heuristics" section at the top of the script before trusting
not_found results — it only flags things that look like code identifiers
(underscored, mixed-case, dotted, or written as a call), so plain English
words in backticks are already filtered out. But not_found can still mean
"exists but outside the folder you pointed --code-dir at" rather than
"actually gone" — so verify, don't just trust the label.
not_found itemFor every flagged token, before proposing anything:
suggestions field (fuzzy matches against real symbol
names) — often this is exactly the rename.X" than to
propose a fix built on a guess.For each not_found item you've resolved, show the user the specific before/after
text change for that one skill's SKILL.md — a small diff-style snippet, not a
full rewrite of the file. Something like:
`old_helper_name()` → `helper_name_v2()` (renamed in src/utils.py, moved during the 2026-04 refactor)
Wait for explicit confirmation before writing anything. If the user only confirms some of the proposed changes, apply only those.
Never touch a skill other than the one named in this session, even if the overview scan in Step 2 showed drift elsewhere. If other skills are also flagged, just remind the user they can run this again naming that skill.
used_only or not_found).parse) are deliberately not flagged from prose, to avoid
drowning real findings in false positives from ordinary English words in
backticks. If a skill leans on names like that, mention it explicitly in
the skill text with an underscore or in a fenced code block so the script
can see it.MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
OBobra/superpowers331k近 7 天新增 5,030 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star