coldbox-di

Official

Simplify ColdBox dependency injection and wiring

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers configure and manage dependency injection inside ColdBox applications, removing confusion around ColdBox-specific injection namespaces, binder configuration, and module-scoped mappings so services are resolved consistently and safely.

Core Features & Use Cases

  • ColdBox-aware Injection DSL: Explains coldbox:, wirebox:, logbox:, cachebox:, model:, provider, and id namespaces for precise property and argument injection.
  • Binder & Module Mapping: Guides creating config/WireBox.cfc binders, overriding auto-scanned models, and declaring module-specific mappings and onLoad behavior.
  • Safe Transient Usage: Shows provider-based injection for request-scoped objects, injecting settings via coldbox:setting, and common anti-patterns to avoid in singletons.

Quick Start

Configure a WireBox binder to map a service implementation and inject that service into a handler using property injection.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: coldbox-di
Download link: https://github.com/ColdBox/skills/archive/main.zip#coldbox-di

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.