/smg:implementfrom smg
Routes implementation requests in the SMG repository to the correct step-by-step recipe based on subsystem (config, routing, model, bindings, etc.). Each recipe provides files, verify commands, and error tracking.
Ships in smg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Rule: load the recipe for the subsystem before writing implementation code. Exception: a single-file change under 20 lines that touches none of config/types.rs, crates/protocols/, model_gateway/src/cli/, bindings/, crates/symphony/src/formats/registry.rs or crates/engine_zmq_client/src/protocol/ may skip it. Both paths end in smg:contribute.
| Signal in the request | Recipe |
|---|---|
CLI flag, config field, YAML config, RouterConfig, ServerConfig | recipes/config-plumbing.md |
| Routing policy, load balancing, worker selection | recipes/routing-policy.md |
Grand Central stage (filter, scorer, picker), a stage's parameter, a preset, --grand-central on | recipes/grand-central-stage.md |
Policy spec field, a binding's match, a plan, --policy-spec, policyspec.schema.json | recipes/policy-spec-field.md |
| A new checkpoint or model family end to end, "support model X", "what did the engine release" | smg:add-model, which walks recipes/model-releases.md, recipes/model-conformance.md, recipes/model-symphony.md and recipes/model-media.md |
A model's tool-call or reasoning format, <think>, chat template, a Symphony table of its own | recipes/symphony-format.md |
Legacy tool parser or reasoning parser (--parser legacy) | recipes/tool-parser.md, recipes/reasoning-parser.md |
| Tokenizer backend, chat-template renderer, stop/EOS decoding | recipes/tokenizer.md |
| Python binding, Go SDK, PyO3, maturin, launcher parity | recipes/bindings-update.md |
| A new HTTP API endpoint or route, a control-plane management endpoint | recipes/http-endpoint.md |
| Vendor profile, request validation rule, protocol type change | recipes/protocols-profile.md |
| A new discovery provider (Consul, Slurm, file, …) | recipes/discovery-provider.md |
| Worker metadata, labels, pod annotations through the pipeline | recipes/discovery-feature.md |
| gRPC engine client, proto RPC, tonic | recipes/grpc-backend.md |
ZMQ, ipc:// worker, EngineCore, headless engine, handshake, msgpack wire | recipes/zmq-backend.md |
| Rust engine servicer, Python servicer | recipes/engine-servicer.md |
| Storage, PostgreSQL, Oracle, Redis, chat history | recipes/storage-backend.md |
| WASM plugin, middleware hook | recipes/wasm-plugin.md |
| Control-plane auth, JWT, OIDC, role | recipes/auth-feature.md |
| Metrics, tracing, logging | recipes/observability-feature.md |
| Mesh, gossip, CRDT, cluster | recipes/mesh-feature.md |
| MCP approval policy, MCP transport | recipes/mcp-feature.md |
| KV cache, cache-aware routing, radix tree, chain index | recipes/kv-index-feature.md |
| Image, audio, video, vision processor | recipes/multimodal-feature.md |
| Third-party provider upstream (OpenAI, Anthropic, Gemini, xAI, an OpenAI-compatible vendor) | recipes/provider-api.md |
| Priority scheduler, admission, preemption, service class | recipes/scheduler-feature.md |
| Tenant key, tenant resolution, per-tenant state | recipes/tenancy-feature.md |
| Rate limit, token bucket, per-tenant quota | recipes/rate-limit-feature.md |
| E2E test, marker, CI lane | recipes/e2e-lane.md |
Unit test, a tests/unit folder, a test module's #[path] pointer, the unit-test-layout hook | recipes/unit-test.md |
Several match → load all. config-plumbing.md co-applies to almost every feature, bindings-update.md to every new RouterConfig field and unit-test.md wherever a step adds a unit test. Nothing matches → smg:map names the area (its reference.md lists areas without a recipe); work from the code and leave a lesson afterwards.
A recipe at level: draft was written from its exemplars' diffs. Its anchors are checked, and no step of it has been run yet: tell smg:learn what a step got wrong.
DETECT match the request to the table; size it: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/lanes.py" <files you expect to touch>
LOAD read the recipe; its front matter says when it was verified (level: full | anchors | draft) and lists exemplar commits — `git show --stat <sha>` shows the full file set a real change touched
CRAFT read skills/craft/SKILL.md once per session; its references when the change is hot-path, a flag, a metric, an endpoint, or new vocabulary
PLAN one task per recipe step
EXECUTE per step: file → do → run the Verify command → confirm the signal → fix before moving on
LEARN a cited path or symbol does not exist, a Verify fails for an unpredicted reason, or a step is missing → smg:learn now; do not route around it silently
GATE smg:contribute, then self-review with smg:review-pr
Failures that compile and pass tests, so feedback will not catch them:
RouterConfig field without its builder call in bindings/python/src/lib.rs silently runs the Rust default in Python.PolicyConfig variant with only the create_from_config arm silently falls back to the default policy for a worker policy_hint.groups.json line is never selected; the model keeps the legacy parsers.needs() does not declare may be handed none of it: a prompt size of zero places every request as an empty one, with no error.recipes/auth-feature.md (opens in a new tab)recipes/bindings-update.md (opens in a new tab)recipes/config-plumbing.md (opens in a new tab)recipes/discovery-feature.md (opens in a new tab)recipes/discovery-provider.md (opens in a new tab)recipes/e2e-lane.md (opens in a new tab)recipes/engine-servicer.md (opens in a new tab)recipes/grand-central-stage.md (opens in a new tab)recipes/grpc-backend.md (opens in a new tab)recipes/http-endpoint.md (opens in a new tab)recipes/kv-index-feature.md (opens in a new tab)recipes/mcp-feature.md (opens in a new tab)recipes/mesh-feature.md (opens in a new tab)recipes/model-conformance.md (opens in a new tab)recipes/model-media.md (opens in a new tab)recipes/model-releases.md (opens in a new tab)recipes/model-symphony.md (opens in a new tab)recipes/multimodal-feature.md (opens in a new tab)recipes/observability-feature.md (opens in a new tab)recipes/policy-spec-field.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Rust, Python, PostgreSQL, Oracle, Redis
npx claudepluginhub smg-project/smg-dev-guide --plugin smg8 skills in this plugin
/add-modelAdd support for a new checkpoint or model family to SMG end to end. Use for "support model X", "the engine added model Y", "which models did the engine release lately", a new Symphony group row, a new media family, or new conformance rows. Decides what the checkpoint owes (a Symphony row or table, a media family, token-parity and processor-parity rows in the conformance repository) and walks one recipe per part, each step with a file, a verify command and the silent trap./contributeShip a change to the SMG repository. Use before committing, pushing or opening a PR, and when asked "am I ready to submit". Runs the whole pre-PR gate as one command (fmt, clippy, tests, pre-commit, Python/Go lanes, Cargo.lock, vocabulary, branch/commit rules) and names what CI will still run./craftHow SMG code is written, so a change reads like the maintainers wrote it. Use before writing non-trivial code, naming things, designing a flag, metric, endpoint or error, touching a hot path, writing a commit message, PR text, a release-note sentence, release notes or an announcement, or a doc comment, or when reviewing for cloning, bounds, duplication and wording. Points to the evidence-backed references on writing, performance, interfaces, structure and release notes./learnRecord a lesson for the SMG dev guide when a skill or recipe was wrong or incomplete (a cited path or symbol that no longer exists, a missing or wrong step, a verify command or CI lane that failed for an unpredicted reason, a subsystem with no recipe). Files a structured issue the next sync promotes./mapOrient in the SMG codebase before changing it. Use for "where does X live", "how does Y flow", or before a change that touches more than one file. Gives a live crate map read from the checkout, the invariants a change must respect, and the area table that names each path's recipe and review checklist./review-prReview a pull request or diff in the SMG repository. Use for "review this PR", a PR number or URL, or a self-review before pushing. Maps changed files to per-subsystem checklists (with anti-patterns), applies the always-on error-handling, testing and craft sections, and reports REVIEW.md-severity findings with file:line.Other plugins' skills for the same job