spec-anchors
CommunityMaintain spec anchors for code implementation alignment
AuthorMattJColes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that code implementations are aligned with their corresponding specifications, reducing drift and improving code quality.
Core Features & Use Cases
- Anchor Resolving: Resolves spec anchors before changes to check for discrepancies.
- Spec Diffs: Proposes spec updates after changes as diffs for human review.
- Rule Maintenance: Guides the creation and maintenance of ast-grep rules for anchoring specifications.
- Use Case: In a repository using spec anchors, before making changes to a code file, run the anchor resolution script to verify that all spec anchors are resolved. After the change, re-run the anchors and propose spec updates if necessary.
Quick Start
Before making a change, run 'ast-grep scan' and review any unmatched anchors. After the change, run 'ast-grep scan' again to check for spec changes and propose updates if needed.
Dependency Matrix
Required Modules
ast-grep
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spec-anchors Download link: https://github.com/MattJColes/macols-configs/archive/main.zip#spec-anchors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.