stocktake-skills
Sequential subagent batch audit of the bigpowers skill catalog — Quick Scan (changed only) or Full (all skills). Use during sustain phase, before a major release, or when catalog drift is suspected.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 289
- Forks
- 24
01 前言 Front Matter
- name
- stocktake-skills
- model
- sonnet
- description
- Sequential subagent batch audit of the bigpowers skill catalog — Quick Scan (changed only) or Full (all skills). Use during sustain phase, before a major release, or when catalog drift is suspected.
02 资源文件 1
- 参考文档REFERENCE.md322 B
03 SKILL.md 正文
<!-- story: e09s01 --> <!-- story: e45s12 --> <!-- story: e79s04 -->
Stocktake Skills
HARD GATE — HARD GATE — Skill inventory must be current. Missing HARD GATEs, stale descriptions, or broken verify commands are defects, not cosmetic. Fix them in
evolve-skill.
Audit SKILL.md catalog for drift, stale triggers, missing HARD GATEs, and INDEX mismatches.
Modes
| Mode | Scope |
|---|---|
| Quick Scan | Skills changed since last tag or in current diff |
| Full | All skills per SKILL-INDEX.md + catalog audit |
| --verify | Run bash scripts/run-skill-verify.sh and append health results to the stocktake report |
Process
- Catalog validator (code-enforced) — run
bash scripts/validate-skill-catalog.sh. Any FAIL is a critical finding before manual review. Add--archiveto list zero-usage skills frommetrics.skill_timingsfor auto-archiving candidates (move tospecs/epics/archive/or delete after user confirms). 0b. Agentic STE audit (e79s04) — runbash scripts/validate-agentic-ste.sh --audit skills/. Flag hedge words and sentences over 20 words per AGENTIC-STE.md. Record WARN lines in the stocktake report as STE debt — do NOT rewrite the full catalog in one pass. Route critical repeat offenders toevolve-skill. - Run
bash scripts/audit-catalog.shto verify pi/skills ↔ source SKILL.md sync. Mismatch is a critical finding. - Run mode; for each skill check: exists, verb-noun, <300 lines total, HARD GATE present, INDEX row matches.
- Write
specs/STOCKTAKE-<date>.mdwith findings table (skill, issue, severity). - Effectiveness report (--full mode only): Read
specs/state.yamlmetrics.skill_timingsand report:- Top 5 most-used skills (by calls, total_seconds)
- Skills with zero calls (potential dead weight)
- Skills with high average time (candidates for
evolve-skill)
- Critical findings →
plan-workstory; cosmetic →evolve-skillcandidate. - --verify mode: Run
bash scripts/run-skill-verify.shand append a## Verify Healthsection to the stocktake report:"N/68 PASS, M FAIL, K SKIP". FAIL skills are critical findings and go straight toplan-work.
Skill timing data (metrics.skill_timings)
In --full mode, read specs/state.yaml metrics.skill_timings for per-skill usage stats:
metrics:
skill_timings:
survey-context:
calls: 12
total_seconds: 180
avg_seconds: 15.0
develop-tdd:
calls: 30
total_seconds: 5400
avg_seconds: 180.0
Timing data is populated by scripts/bp-timing.sh start|end <skill> calls within critical-path skills.
Verify
→ verify: compgen -G 'specs/STOCKTAKE-*.md' >/dev/null && bash scripts/validate-skill-catalog.sh
See REFERENCE.md for checklist.
Stocktake checklist
- [ ] SKILL.md exists at repo root
<name>/SKILL.md - [ ] Listed in SKILL-INDEX.md with correct phase
- [ ]
descriptionincludes "Use when..." - [ ] At least one HARD GATE callout
- [ ] specs/ output documented if applicable
- [ ] No edit to
.cursor/rules/or.gemini/(generated only)
04 同仓库更多 Skills
skill-verify-fail-open-fixture
Negative-path fixture for run-skill-verify.sh — must never PASS.
negative-path
暂无简介
write-document
Write, organize, and sync high-integrity technical documents using the BMAD methodology. Ensures every document is Bold, Minimal, Actionable, and Durable. Use when creating architectural docs, technical guides, or organizing the specs/ directory.
wire-observability
Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
wire-ci
CI pipeline setup with bundled, forge-neutral templates and local validation. Detects the forge from the git remote, generates workflows for supported forges, and skips honestly for the rest. The CI equivalent of wire-observability.
visual-dashboard
Start a browser-based dashboard that visualizes architecture, implementation plans, and project status. Persists artifacts in .bigpowers/dashboard/. Reads specs/state.yaml, release-plan.yaml, epics, and planning-status via HTTP API or opencode panel.