From godmode
Use when adding new BAML types/functions to cruxx-agentic. Symptoms - need to add structured extraction functions, mirror types to cruxx-types.
How this skill is triggered — by the user, by Claude, or both
Slash command
/godmode:baml-add-typesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Adding new BAML functions or classes to `cruxx-agentic/baml_src/`.
Adding new BAML functions or classes to cruxx-agentic/baml_src/.
Edit the .baml file (usually extract.baml or planner.baml):
{{ ctx.output_format }}Regenerate the BAML client:
cd crates/cruxx-agentic && mise exec -- baml-cli generate
Verify compilation:
cargo check -p cruxx-agentic
Mirror shared output types to cruxx-types::extraction
(crates/cruxx-types/src/extraction.rs):
#[derive(Debug, Clone, Serialize, Deserialize)]BTreeMap not HashMap for deterministic serializationOption<T> for BAML T? fieldsVec<T> for BAML T[] fieldsf64 for BAML floati64 for BAML intVerify cruxx-types compiles:
cargo check -p cruxx-types
| Symptom | Fix |
|---|---|
baml-cli version mismatch | Match generators.baml version to Cargo.toml baml dep |
baml-cli generate not found | Use mise exec -- baml-cli generate, not bare baml-cli |
| Generated code won't compile | Check baml_client/ is gitignored and regenerate cleanly |
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub 89jobrien/bazaar --plugin godmode