Back-end application generation
Generate a long-running back-end composed of cooperating parts that share one
codebase and one local store: an HTTP API, an embedded MCP server, and a scheduled
worker when the specification asks for them. Nested language skills are deltas of
this parent. MCP tool/resource/schema/error rules live in the MCP parent; this
parent owns process shape, store ownership, and Flavor-indexed ecosystems.
Flavor index
Python, Rust, and Elixir guidance is indexed off selected Flavors:
- When
lang-pythonis selected, apply the nestedpython-service-application
ecosystem (ASGI, typed models, embedded MCP transport, worker isolation).
- When
lang-rustis selected, apply the nestedrust-service-application
ecosystem (async service, explicit errors, no extra crates unless specified).
- When
lang-elixiris selected, apply the Elixir ecosystem chapter. If that
Flavor is not in the catalog, record skip/unavailable for Elixir and continue;
do not crash and do not author a Flavor here.
Unselected language ecosystems are omitted from the recipe. Nested skills must not
repeat this index rule.
Process and store
Each part is a distinct entrypoint. The HTTP API and embedded MCP server answer
from the local store at request time. Prefer an embedded database unless the
specification requires concurrent multi-process writers. The worker is the store's
only writer when it exists, runs on the specification's schedule, isolates
per-unit failure, and records run outcome so readers can report staleness.
MCP leaf
Embedded application MCP is server-side (stdio for one local client, HTTP/SSE for
concurrent callers). Inherit the MCP parent for tools versus resources, schema
validation, structured errors, identity pins, and secret rejection. Do not copy
those rules into a nested language skill.