mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
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.
45 lines
1.0 KiB
YAML
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
|