cp-skill-validate

Solid

Run the deterministic validation script on KB notes. Checks frontmatter validity, schema constraints, link health, required sections, and batch signals such as orphans.

AI & Automation 81 stars 10 forks Updated today CC-BY-4.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
65
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## EXECUTE NOW Run the packaged validation command. For `all`, invoke each top-level collection separately because the CLI deliberately rejects a repository-wide literal scope: ```bash if [ "$ARGUMENTS" = "all" ]; then for contract in kb/*/COLLECTION.md; do commonplace-validate "$(basename "$(dirname "$contract")")" || exit $? done else commonplace-validate "$ARGUMENTS" fi ``` **Target: $ARGUMENTS** Prefer the narrowest target that covers the user's request. For write/edit workflows, validate the new or edited file paths explicitly; do not validate the whole KB unless the user asked for a full maintenance check. - Note path or name: validate that specific note - Multiple note paths: validate those specific notes, one command per path if needed - Directory path or collection name: validate `.md` files under that directory, only when the edited set is directory-scoped - "all": validate each top-level collection in a separate command - "notes": validate all `.md` files in `kb/notes/` - "recent" or "today": validate notes modified today - Empty: ask which note to validate Report the script output directly. Do not interpret, supplement, or override its findings. For judgment-based frontmatter checks, run `kb/instructions/run-review-batches.md` with the `frontmatter` bundle.

Details

Author
zby
Repository
zby/commonplace
Created
4 months ago
Last Updated
today
Language
Python
License
CC-BY-4.0

Similar Skills

Semantically similar based on skill content — not just same category