check-barrel-files
Installation
SKILL.md
Detect and remove redundant index.ts barrel files that add no value -- files containing a single export * from './xxx' statement.
Arguments
$ARGUMENTS- Library path to check (e.g.,libs/mxsecurity/account-page)
Bad vs Good
# Bad: intermediate barrel with single re-export
libs/scope/domain/features/src/
├── index.ts # exports from './lib/my-dialog'
└── lib/
└── my-dialog/
├── index.ts # only exports './my-dialog.component'
└── my-dialog.component.ts