From 98044a0a4709cc983d9b6cd880da7a914ff26af9 Mon Sep 17 00:00:00 2001 From: Florian BRUNIAUX Date: Mon, 12 Jan 2026 14:20:53 +0100 Subject: [PATCH] fix(audit-scan): count files recursively in subfolders - Commands in subfolders (tech/, product/, support/) now counted correctly - Split count_files() into count_md_files() and count_script_files() - Hooks counted as scripts (.sh/.js/.py/.ts), others as .md - Excludes README.md from counts - Bug: Was reporting 0 commands when 10 existed in subfolders - Bump version to 2.9.6 Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- claude-code-reference.yaml | 2 +- english-ultimate-claude-code-guide.md | 4 ++-- examples/scripts/audit-scan.sh | 26 ++++++++++++++++++-------- 5 files changed, 35 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f815a85..2147f6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [2.9.6] - 2026-01-12 + +### Fixed +- **audit-scan.sh** - Count files recursively in subfolders + - Commands in subfolders (e.g., `commands/tech/`, `commands/product/`) now counted + - Split into `count_md_files()` for .md and `count_script_files()` for hooks (.sh/.js/.py/.ts) + - Excludes README.md from counts + - Bug found: Was reporting 0 commands when 10 existed in subfolders + +### Stats +- 1 file modified (audit-scan.sh, ~15 lines) +- Critical fix for accurate extension counting + ## [2.9.5] - 2026-01-12 ### Added diff --git a/README.md b/README.md index f8aa24b..2347ab8 100644 --- a/README.md +++ b/README.md @@ -362,7 +362,7 @@ If this guide saved you time, helped you master Claude Code, or inspired your wo --- -*Version 2.9.5 | January 2026 | Crafted with Claude* +*Version 2.9.6 | January 2026 | Crafted with Claude*