--- name: cartridge-forge description: Use when the user asks to forge, scaffold, or author a new cartridge — content cartridge, department cartridge, or chipset bundle. Drives the cartridge-forge loop (scaffold → fill → gate checks → commit) via the skill-creator cartridge CLI. description-frequency: on-demand user-invocable: true --- # Cartridge Forge Forge a new cartridge end-to-end using the `skill-creator cartridge` CLI. The forge is the toolchain that builds cartridges; this skill is the playbook that drives it. ## When to invoke Trigger on any of: - "create a cartridge for X" - "forge a new cartridge" - "scaffold a department" / "generate a department cartridge" - "build a content cartridge" - "make a chipset bundle for X" Do **not** trigger for migrating legacy cartridges (that is `cartridge migrate`) or for forking an existing one (that is `cartridge fork`). ## Prerequisites 1. `docs/cartridge/FORGING-GUIDE.md` and `docs/cartridge/CARTRIDGE-SPEC.md` are the normative references. Read them once per session if the context is not already loaded. 2. Pick the target directory. Convention: - `examples/cartridges//` for in-repo cartridges - `./my-cartridges//` for ad-hoc / user-local work 3. Pick the slug. Drop the `-department` suffix **unless** the cartridge is directly tied to a college department in `.college/`. "systems-administration" — not "systems-administration-department". 4. Pick the template: `department` (skills + agents + teams), `content` (deepMap + story arc), `coprocessor` (pure functional tooling), or `graphics` (GLSL / OpenGL / WebGL / Vulkan shader pipeline; grounded in the GFX research series at [/Research/GFX/](https://tibsfox.com/Research/GFX/) on tibsfox.com). ## The Forge Loop ``` scaffold → fill → validate → eval → dedup → metrics → commit ``` Every step is idempotent and JSON-capable. `eval` is the gate — if it exits non-zero, the cartridge is not ready to ship. ### 1. Scaffold ``` skill-creator cartridge scaffold