BMAD-METHOD/tools
ZvoneO c035b2f247 fix(path-utils): deduplicate subdirectory agent names (#1422)
Fixes redundant skill names for agents in subdirectories where the
folder name matches the filename (e.g., tech-writer/tech-writer.md).

Changes:
- Deduplicate when last two path segments are identical
- Handle .yaml extension in addition to .md
- Add comprehensive test suite (40 tests)

Before: bmad-bmm-tech-writer-tech-writer.agent
After:  bmad-bmm-tech-writer.agent

Closes #1422

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 14:54:09 +01:00
..
cli fix(path-utils): deduplicate subdirectory agent names (#1422) 2026-01-27 14:54:09 +01:00
docs docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
flattener feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
lib feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
maintainer feat: add Raven's Verdict PR review tool (#1054) 2025-12-07 14:13:33 -06:00
schema Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
build-docs.js docs: named TEA links consistently (#1337) 2026-01-15 18:01:37 -06:00
fix-doc-links.js Add link auditor, reorganize documentation, and README update (#1277) 2026-01-10 02:55:33 +08:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
migrate-custom-module-paths.js _cfg -> _config 2025-12-13 19:41:09 +08:00
platform-codes.yaml docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
validate-agent-schema.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
validate-doc-links.js docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
validate-svg-changes.sh Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00