Files
Claude-BugHunter/.github/workflows/doc-count-check.yml
prithvee07andGitHub f6944d673d feat: add hunt-fintech-graphql skill + doc-count CI, refresh counts (#61)
New `hunt-fintech-graphql` skill (money-movement GraphQL mutations, ledger/balance IDOR, decimal-precision abuse, idempotency-key replay, nested field-level KYC/PII authz, admin-override mass assignment; defers generic GraphQL to hunt-graphql). Adds scripts/check_doc_counts.py + doc-count-check.yml CI to guard skill/command counts against drift, and refreshes every doc count to disk truth (83 skills, 58 hunt-*, 15 commands).

Contributed by @prithvee07. Original PR title described only the doc edits; rewritten to reflect the full scope.
2026-08-16 00:03:57 +05:30

45 lines
1.0 KiB
YAML

name: doc-count-check
# Keeps skill/command counts in docs honest against what's actually on disk.
# Catches stale numbers (e.g. "71 SKILL.md files" after the bundle grew to 82)
# before they merge. No external dependencies — stdlib Python only.
on:
pull_request:
paths:
- "skills/**"
- "commands/**"
- "README.md"
- "SECURITY.md"
- "USAGE.md"
- "INSTALL.md"
- "docs/skills.md"
- "docs/credits.md"
- "docs/architecture.md"
- "scripts/check_doc_counts.py"
- ".github/workflows/doc-count-check.yml"
push:
branches: [main]
paths:
- "skills/**"
- "commands/**"
- "scripts/check_doc_counts.py"
workflow_dispatch:
permissions:
contents: read
jobs:
check:
name: Check doc counts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Verify skill/command counts in docs match disk
run: python3 scripts/check_doc_counts.py