feat: Add skill structure validation script and CI job#389
Merged
martincjarvis merged 9 commits intomainfrom Jan 17, 2026
Merged
feat: Add skill structure validation script and CI job#389martincjarvis merged 9 commits intomainfrom
martincjarvis merged 9 commits intomainfrom
Conversation
Refs: #388 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Validates SKILL.md, *.test.md, and references/README.md existence. Refs: #388 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Validates name and description fields, ensures name matches directory. Refs: #388
Validates Overview, When to Use, and Core Workflow sections exist. Note: Some skills don't currently meet this standard. Refs: #388
Validates all skills have required files, frontmatter, and sections. Refs: #388 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Until existing skills are updated to comply with SKILL-FORMAT.md, the validation job should not block PRs. Refs: #388
7 tasks
martincjarvis
approved these changes
Jan 17, 2026
Collaborator
martincjarvis
left a comment
There was a problem hiding this comment.
LGTM - Validation script correctly identifies non-compliant skills. CI job is appropriately non-blocking until skills are updated.
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.
Summary
Implements the structure validation automation recommended in the retrospective.
scripts/validate-skill-structure.cjsto validate skill structurenpm run validate:skillsscriptWhat the validation checks
Current state
The validation finds 45 compliance issues across 28 skills that don't have the required sections. This is expected - the validation is working correctly and identifies skills that don't follow SKILL-FORMAT.md.
The CI job is marked as
continue-on-error: truetemporarily so PRs can still merge. A follow-up issue should be created to update the non-compliant skills.Issues
Test Plan
npm run validate:skillsruns and validates all 55 skills (evidence)npm run lintpasses (evidence)Verification