dx: structural CI — frontmatter, manifest, relative links, variant parity, version agreement#10
Open
CnxLuc wants to merge 2 commits into
Open
dx: structural CI — frontmatter, manifest, relative links, variant parity, version agreement#10CnxLuc wants to merge 2 commits into
CnxLuc wants to merge 2 commits into
Conversation
Stdlib-only Python checker verifying SKILL.md frontmatter, plugin.json validity, relative link resolution (fenced-code-block links skipped), invocation variant parity between README and SKILL.md, and version agreement across manifest and frontmatter. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
GitHub Actions workflow runs python3 scripts/check.py on every push to main and on every pull request — keeps links, manifest, frontmatter, and variant parity machine-checked. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This repo is prompt-ware — the markdown files are the program — and community PRs are already landing, with nothing checking that
SKILL.mdfrontmatter stays valid, that.claude-plugin/plugin.jsonstays parseable, or that the relative links wiringSKILL.mdto itsreferences/*.mdstill resolve. A reference rename would silently break the skill for every installer. The audit playbook's own rule: "is there a one-command way to know the codebase works? If not, that's finding #1."This adds the deterministic subset of that baseline (deliberately not LLM-behavioral evals):
scripts/check.py— Python 3 stdlib only, no dependencies. Five checks:SKILL.mdfrontmatter present with non-emptyname/description,name=improveplugin.jsonparses;name/versionpresent;namematches the frontmatterplan-template.mdis full of example links that must not be validated;plans/output dirs skipped)README.mdandSKILL.mdmetadata.versioninSKILL.mdagrees withplugin.jsonversion.github/workflows/check.yml— checkout + run the script on push/PR, nothing else.Negative-tested: renaming
references/audit-playbook.mdfails the run naming the broken link inSKILL.md; restoring passes. The checker is green against currentmainas-is, so this PR is safe to merge independently of any other open PR.🤖 Generated with Claude Code