Repository navigation
Add deterministic PR quality checks - #4
Merged
Merged
Conversation
Add a read-only pull-request workflow backed by a repository-owned validator and focused unit tests. Check manifests, skill metadata, relative links, native skill references, version increases, workstation paths, patch whitespace, and plugin packaging without model access. Verification: 7 validator tests passed; repository validation passed for all 12 skills; workflow YAML parsed; git diff checks passed; Claude Code 2.1.220 plugin validation passed with the existing author and root CLAUDE.md warnings. The GitHub workflow itself has not run yet.
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.
Why
Plugin packaging and skill-contract mistakes were only caught by local checks. This adds one fast, deterministic pull-request gate that uses no model access or model credentials.
What changed
scripts/validate_repository.py, which contributors and CI run through the same interface.Behavioral evaluations remain outside this workflow. The job does not call a model.
Verification
Submitted revision:
602e5f4PR quality / Validate plugin repositoryjob passed on the submitted revision in 11 seconds.git diff --checkpassed.CLAUDE.mdloading behavior.Acceptance
How to reproduce locally
From the repository root:
python3 -m unittest discover -s tests python3 scripts/validate_repository.py --base-ref origin/main claude plugin validate . git diff --check origin/main...HEADThe repository validator uses only the Python standard library. Plugin validation requires Claude Code on PATH but does not require a model session.