tibsfox/gsd-skill-creator/cartridge-forge
Claude Code and agent skill by tibsfox/gsd-skill-creator
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install tibsfox/gsd-skill-creator/cartridge-forgeSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as tibsfox/gsd-skill-creator/cartridge-forge.
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
docs/cartridge/FORGING-GUIDE.mdand
docs/cartridge/CARTRIDGE-SPEC.md are the normative references. Read them once per session if the context is not already loaded.
- Pick the target directory. Convention:
examples/cartridges/<slug>/for in-repo cartridges./my-cartridges/<slug>/for ad-hoc / user-local work
- Pick the slug. Drop the
-departmentsuffix unless the
cartridge is directly tied to a college department in .college/. "systems-administration" — not "systems-administration-department".
- 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/ on tibsfox.com).
The Forge Loop
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
Writes an 8-file skeleton: cartridge.yaml, chipsets/*.yaml, one placeholder skill, agent, and team, plus a README.md. Round-trips through load → validate with zero errors before any edits.
2. Fill
Replace placeholder content with real content. A full department cartridge typically wants:
- Skills — one per daily responsibility surface (10–15 is a
comfortable size; fewer feels thin, more suggests a split)
- Agents — an Opus capcom + hands-on Sonnet executors;
router topology with is_capcom: true on the capcom
- Teams — one per recurring workflow (author, review,
incident, drill) — each team names its roster and use_when
- Grove record types — 4–8 record types that capture the
durable outputs this cartridge produces
- Evaluation domains — one per skill domain; keep them
aligned with the domain: field on each skill
Replace the skeleton's cartridge.yaml header:
id:slugname:title case, human-readableauthor:real authordescription:one-paragraph, no marketing toneprovenance.origin,provenance.createdAtmetadata.tags
Delete the three placeholder markdown files (skills/placeholder-skill.md, agents/placeholder-agent.md, teams/placeholder-team.md) and replace them with one markdown file per real skill / agent / team. Each companion file is informational — the loader does not scan them, but a "full" cartridge ships them.
3. Validate
valid: true is the required outcome. If there are validation-debt errors (e.g. around agent_affinity or domains_covered), add --allow-validation-debt and track the debt per docs/cartridge/KNOWN-VALIDATION-DEBT.md.
4. Eval
Runs the pre-deploy gates declared in chipsets/evaluation.yaml. Default gates:
all_skills_have_descriptionsall_agents_have_rolesgrove_record_types_definedhas_evaluation_chipset
Exit code 0 is required before commit.
5. Dedup
no collisions is required. Collisions mean a skill or agent is defined twice across chipsets — either intentional merge (refactor) or typo (fix).
6. Metrics
Informational, not a gate. Captures shape (skill / agent / team / record-type counts) for the commit message.
7. Commit
Conventional Commits, scope cartridge:
Rules
- Never hand-author a `cartridge.yaml` from scratch. Always
scaffold first — the template encodes the current schema.
- Never skip `eval`. It is the ship gate.
- **
kind: departmentis a schema discriminator, not a college
tie.** The chipset kind stays department even when the cartridge is not tied to a college department.
- Drop `-department` from the slug unless the cartridge is
tied to an entry under .college/.
- The companion markdown files are not validated. Write
them anyway — a cartridge without them is scaffold-quality.
- Backup and DR content belongs in a dedicated team
(<slug>-dr-drill-team or equivalent) if the cartridge has data-durability responsibilities.
Reference walkthrough
A complete worked example: examples/cartridges/systems-administration/ — 12 skills, 5 agents, 4 teams, 6 grove record types, all forge gates green.
Output contract
After the loop completes, report to the user:
- Final
id,name, and path - Chipset list
- Counts: skills / agents / teams / grove record types
validate / eval / dedupverdicts- Any validation debt accepted and the follow-up note
Do not report "done" before all four forge gates (validate, eval, dedup, metrics) have been run and shown green.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/gsd/cartridge-forge/SKILL.md
Popularity
- Repository stars
- 70
- Repository forks
- 10
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tibsfox/gsd-skill-creator/cartridge-forge)