Commit e6b1c08
authored
chore: add validate-counts job for README aggregate count enforcement (#10)
Adds a validate-counts job that enforces README.md aggregate count
claims match the actual filesystem counts of skills/SKILL.md and
rules/*.mdc. Mirrors the canonical pattern shipping in CFX and Unity.
Filesystem walk (not plugin.json introspection) because this repo
uses glob-based plugin.json (`"skills": ["skills/**/SKILL.md"]`),
where len(m['skills']) would always return 1. The walk approach
matches what the existing "Count components" step already does
informationally; this job promotes it to enforcement.
Currently passes (skill/rule counts match README claims). Pure
CI hardening; catches future drift before it ships.
Refs TMHSDigital/Developer-Tools-Directory#39.
Made-with: Cursor
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>1 parent 1754066 commit e6b1c08
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
0 commit comments