一键导入
baml-add-types
Use when adding new BAML types/functions to cruxx-agentic. Symptoms - need to add structured extraction functions, mirror types to cruxx-types.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when adding new BAML types/functions to cruxx-agentic. Symptoms - need to add structured extraction functions, mirror types to cruxx-types.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | baml-add-types |
| description | Use when adding new BAML types/functions to cruxx-agentic. Symptoms - need to add structured extraction functions, mirror types to cruxx-types. |
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 |
Audit godmode skills, agents, and plugin files for internal consistency, broken references, stale commands, and cross-skill contradictions. Use when asked to "introspect", "audit the skills", "review godmode", or after adding new skills.
Use at the start of every conversation to orient to available skills and workspace rules. Replaces superpowers entirely. Triggers on session start, "/godmode", or "what skills do you have".
Generate and maintain a `.ctx/godmode/memory-bank/` directory that captures project context backed by source code. The memory bank is injected into prompts via lifecycle hooks and updated incrementally as work progresses. Use when starting a new project, onboarding to an unfamiliar codebase, or when context drift is detected.
Patterns and techniques for adding governance, safety, and trust controls to AI agent systems in Rust. Use this skill when building agents that call external tools, implementing policy-based access controls, adding semantic intent classification to detect dangerous prompts, creating trust scoring systems for multi-agent workflows, building audit trails, or enforcing rate limits and content filters. Covers policy composition, tool wrappers, trust decay, and JSONL audit trails — all in Rust.
Parse git history into structured changelogs. Use to generate release notes, audit commit conventions before tagging, or integrate with `godmode release` workflow.
Dead code detector for Rust workspaces. Finds unused public API surface, orphaned test helpers, stale feature flags, and plugin artifacts referencing removed CLI subcommands. Cross-references pub exports against call sites across the workspace.