validate-counts
17
总安装量
17
周安装量
#19899
全站排名
安装命令
npx skills add https://github.com/yonatangross/orchestkit --skill validate-counts
Agent 安装分布
github-copilot
17
cursor
17
gemini-cli
16
codex
16
kimi-cli
16
amp
16
Skill 文档
Validate Counts
Checks that hook, skill, and agent counts are consistent across all authoritative sources in OrchestKit. Outputs a comparison table and flags drift with precise file references.
Quick Start
# Full validation: counts src/ vs CLAUDE.md and manifests (run from repo root)
bash src/skills/validate-counts/scripts/validate-counts.sh
# Just get raw counts from src/
bash src/skills/validate-counts/scripts/count-all.sh
Rules
| Category | Rule | Impact | Key Pattern |
|---|---|---|---|
| Count Sources | rules/sources-authoritative.md |
HIGH | Filesystem is authoritative; derived sources must match |
| Drift Detection | rules/drift-reporting.md |
HIGH | Comparison table + flag with file:field references |
Total: 2 rules across 2 categories
Workflow
- Run
scripts/validate-counts.shfor full validation (counts + drift comparison), orscripts/count-all.shfor raw counts only - Read
CLAUDE.mdâ extract counts from Project Overview and Version section - Read
manifests/ork.jsonandmanifests/orkl.jsonâ check skill/agent/hook array lengths - Build the comparison table (see
rules/drift-reporting.mdfor format) - Flag any mismatches with file + field references; otherwise output “All counts consistent.”
References
- Count Locations â Where every count lives and why drift happens
Related Skills
release-checklistâ Uses validate-counts as step 5 of the release gatedoctorâ Broader health check that includes count validationaudit-skillsâ Quality audit for skill structure and completeness
Common Mistakes
- Counting from
plugins/instead ofsrc/â plugins/ may be empty after an interrupted build - Flagging
orklvsorkskill differences as drift âorklintentionally excludes some skills - Forgetting the hook breakdown: global + agent-scoped + skill-scoped must sum to total