feat: token-footprint report for skill/agent frontmatter, budget-enforced in CI (#2)

This commit is contained in:
duthaho
2026-07-17 05:45:45 +07:00
committed by GitHub
parent 80ca7f36e0
commit f9841971cc
4 changed files with 162 additions and 3 deletions
+4 -2
View File
@@ -161,11 +161,13 @@ In practice, devs skip steps for trivial work. The chains show the full discipli
## Development
CI (`.github/workflows/validate.yml`) lints every skill against the 8-section
anatomy above and checks `plugin.json`/`marketplace.json` version sync. Run
locally before committing:
anatomy above, checks `plugin.json`/`marketplace.json` version sync, and
enforces token budgets on the always-loaded skill/agent frontmatter (the
"no agent-bloat" claim, measured). Run locally before committing:
```
node scripts/validate-plugin.cjs
node scripts/token-report.cjs --check
```
## Requirements