# Extend Strata19
URL: /documentation/extensions/overview



Strata19 ships as a plugin built from this repository (`plugins/strata19/`) plus a small, real projection registry that decides what a host can see and call. Extending it means changing this source and pushing it through the same release loop every other change goes through — there is no separate plug-in SDK or hot-reload path. This section is for developers working in a checkout of the repository who want to add a capability rather than just use one.

Five real extension points exist today, and they are not equally heavy. A packaged skill only teaches an existing tool; a new MCP tool adds a callable capability and a registry entry; a detector changes what the verification gate finds; a routine composes existing dispatchable actions into a repeatable graph. Pick the lightest one that says what you mean — a skill that teaches a workflow is easier to review and ship than a new tool that duplicates one.

<Cards>
  <Card title="Add an MCP tool" href="/documentation/extensions/mcp-tools">
    Register a new callable capability with a real projection, not just a handler.
  </Card>

  <Card title="Package a skill" href="/documentation/extensions/skills">
    Teach a host a real sequence of existing `strata19.*` operations.
  </Card>

  <Card title="Author a routine" href="/documentation/extensions/routines">
    Compose a repeatable action graph with validation, approvals, and receipts.
  </Card>

  <Card title="Add a detector" href="/documentation/extensions/detectors">
    Claim a new finding-producing check in the canonical detector catalog.
  </Card>
</Cards>

A sixth path is a project-local `strata19-extension.json` manifest under `.strata19/extensions/<name>/`. The source loader discovers and validates this format (`src/mcp/facade/extension-loader.ts`, `packages/shared-types/src/plugin/extension-manifest.ts`). A source-level consumer can incorporate `config` contributions into standards resolution, but the normal standards-store call site is not yet wired to that consumer. The manifest also accepts `detectors`, `library`, `packs`, `routines`, `commands`, and `fakeRuntimes` contributions, but acceptance does not mean these contributions execute. Check the installed version and integration before relying on this path; it is not a general extension runtime.

## What's in this section [#whats-in-this-section]

* [**Add an MCP tool**](/documentation/extensions/mcp-tools) — define a tool's schema and handler, then declare its projection so it is reachable, presentable, and testable.
* [**Package a skill**](/documentation/extensions/skills) — write a `SKILL.md` that teaches a host a real, executable sequence of existing operations.
* [**Author a routine**](/documentation/extensions/routines) — build an action-graph workflow definition, validate it, and publish it as an immutable version.
* [**Add a detector**](/documentation/extensions/detectors) — declare a new check in the canonical detector catalog and wire it into the verification gate.
* [**Interface and packaging**](/documentation/extensions/interface-and-packaging) — keep the widget, the tool projection registry, the plugin bundle, and the installed cache in sync; owns the full release loop every other page here links to.
* [**Test an extension**](/documentation/extensions/testing) — prove a change at the contract, registry, package, and real-host boundaries before it ships.
