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
+2 -1
View File
@@ -11,7 +11,8 @@ docs website (`website/`, Astro Starlight). The only repo-level check is
## Build, test, run
- Plugin: nothing to build. Lint before committing: `node scripts/validate-plugin.cjs`
— validates every SKILL.md against the 8-section anatomy and plugin/marketplace
version sync (also runs in CI, `.github/workflows/validate.yml`).
version sync; `node scripts/token-report.cjs --check` — enforces token budgets
on skill/agent frontmatter (both run in CI, `.github/workflows/validate.yml`).
- Test by installing locally:
`/plugin marketplace add <path-or-repo>``/plugin install claudekit``/claudekit:init`
- Website (`cd website/`): `npm install`, `npm run dev`, `npm run build`,