Agent skill
Spec Linter
Validates specs have required frontmatter, links, and compliance. Use before commits or during code review.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/spec-linter
SKILL.md
Spec Linter Skill
Purpose
Validate:
- Frontmatter completeness
- Test-to-spec traceability
- ADR requirements for architectural changes
- PR template compliance
Validation Rules
- Frontmatter required fields by type
- Test IDs (TC-XXX) present near Swift test methods
- ADR required when key components/frameworks change
- Acceptance criteria present for new features
- PR template sections completed
Usage
- Pre-commit:
python3 scripts/lint-specs.py - CI: see
.github/workflows/spec-lint.yml
Didn't find tool you were looking for?