# Docs Count Drift Explorer PR #1516

30 fumadocs MDX files had hardcoded skill/agent/hook counts that drifted from canonical. This shows the before/after and how the new `scripts/stamp-counts.sh` patterns prevent recurrence.

Scenario
Before
After (#1516)
After M119
Skills 106
Agents 37
Hooks (total) 182
Global hooks 114
Agent-scoped hooks 46
Skill-scoped hooks 22
User-invocable 26
Sample doc rendering
stamp-counts.sh patterns (subset)

### Prompt for Claude