# `BB.Dsl.CategoryTransformer`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/dsl/category_transformer.ex#L5)

Collects category definitions and injects category-related functions.

This transformer:
- Collects all categories defined in the `commands` section
- Adds the built-in `:default` category if not explicitly defined
- Injects `__bb_categories__/0` and `__bb_category_limits__/0` functions

# `after_compile?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
