一键导入
add-domain
Scaffold a new domain module following the spec layout. Creates all required files with correct structure and wires CLI, API, and MCP surfaces.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold a new domain module following the spec layout. Creates all required files with correct structure and wires CLI, API, and MCP surfaces.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Authoritative procedure for publishing an MCP server to the official MCP registry at registry.modelcontextprotocol.io — package metadata, server.json schema, authentication, validation, publish, and verification. Preloaded by mcp-publisher.
Stage all current changes, optionally bump project versions, update changelog, commit with an appropriate message, push the current or new feature branch, and then save session documentation. Use when the user asks to quick push, commit and push everything, ship current changes, or run a full git add/commit/push workflow with session capture.
Save the current agent session to an in-repo markdown file with observed metadata, git state, session context, verification evidence, errors, open questions, and next steps. Use when the user asks to save session notes, persist conversation context, create a session log, document the current work, or when another workflow such as quick-push needs post-push session documentation.
Run xtask enforcement gates before declaring work complete. Use before finishing any Rust code change.
Post-cargo-generate setup for a new project. Walks through first-run configuration, domain replacement, and tooling bootstrap.
| name | add-domain |
| description | Scaffold a new domain module following the spec layout. Creates all required files with correct structure and wires CLI, API, and MCP surfaces. |
| disable-model-invocation | false |
Called when the user wants to add a new business domain (e.g. /add-domain sonarr).
series, episode), which actions (list, get, create, delete)crates/core/src/{domain}.rs — module entry with pub mod actions, types, params, handlers, clientcrates/core/src/{domain}/actions.rs — ACTIONS Vec<ActionSpec> constantcrates/core/src/{domain}/types.rs — domain types (split per subject if >1)crates/core/src/{domain}/params.rs — param extraction functionscrates/core/src/{domain}/handlers.rs — run() and run_with_client() dispatch matchcrates/core/src/{domain}/handlers_tests.rs — sibling test file (NOT inline mod tests)crates/core/src/{domain}/client.rs — {Domain}Client struct, Backend impl, client_from_env()crates/app/src/cli/{domain}.rs — clap subcommandcrates/app/src/api/services/{domain}.rs — axum handle() fncrates/core/src/lib.rs and crates/app/src/lib.rscrates/app/src/mcp/mod.rs — use file-per-module conventioncore::log_fields::FIELD_* constants — no string literalsclient/series.rs, not monolithic client.rs)subject.verb pattern (e.g. series.list, episode.get)mod tests blocks (unless ≤30 lines trivial)Invoke the spec-check skill to run xtask enforcement gates before declaring the domain complete.