Check Local Changes
Validate the working tree of this skills repo: every touched skill must have a well-formed SKILL.md and a matching README.md entry, and no junk files may land in the commit.
Workflow
Step 1: Run the deterministic checks
node .agents/skills/check-local-changes/scripts/check.js
The script inspects git status --porcelain and reports:
Failures (exit 1, scoped to changed files):
- Touched skill directory without
SKILL.md SKILL.mdmissing frontmatter,name, ordescription- Frontmatter
namenot matching the directory name or not kebab-case descriptionover 1024 characters- Touched skill missing its
### <name>README section or install command (npx -y skills add microlinkhq/skills/<name>) - README section added in this diff pointing to a non-existent directory
.DS_Storeornode_modulesabout to be committed
Warnings (informational, pre-existing drift):
- Skill directories missing from README
- Pre-existing README sections without a directory
Step 2: Review the diff in latent space
The script cannot judge quality. Read git diff plus new files and check:
- The description states what the skill does AND when to use it, with concrete trigger phrases (compare against neighbors in
README.md) - The README section text matches the
SKILL.mdfrontmatter description - Instructions are imperative and self-contained — no references to files outside the skill directory
Step 3: Report
Summarize failures and warnings with file paths. If everything passes, say the changes are ready to commit. Do not commit unless asked.