coldbox-configurationlisted
Install: claude install-skill ColdBox/skills
# ColdBox Configuration
## When to Use This Skill
Use this skill when configuring a ColdBox application via `config/ColdBox.cfc` — the master application configuration file.
## Language Mode Reference
Examples use **BoxLang (`.bx`)** syntax by default. Adapt for your target language:
| Concept | BoxLang (`.bx`) | CFML (`.cfc`) |
|---------|-----------------|---------------|
| Class declaration | `class [extends="..."] {` | `component [extends="..."] {` |
| DI annotation | `@inject` above `property name="svc";` | `property name="svc" inject="svc";` |
| View templates | `.bxm` suffix | `.cfm` / `.cfml` suffix |
| Tag prefix | `<bx:if>`, `<bx:output>`, `<bx:set>` | `<cfif>`, `<cfoutput>`, `<cfset>` |
> **CFML Compat Mode**: With BoxLang + CFML Compat module, `.bx` and `.cfc` files coexist freely. BoxLang-native classes use `class {}` (`.bx` files); CFML-compat classes use `component {}` (`.cfc` files).
## Core Concepts
ColdBox.cfc contains sections for:
- **`coldbox`** — core framework settings
- **`environments`** — environment-specific overrides
- **`modules`** — module settings per module
- **`interceptors`** — registered interceptors
- **`logbox`** — LogBox logging configuration
- **`cachebox`** — CacheBox cache configuration
- **`wirebox`** — WireBox DI configuration
## Full ColdBox.cfc Template
```boxlang
class ColdBox extends coldbox.system.Coldbox {
function configure() {
// =============================================
// COLDBOX SETTINGS