← All writing

One definition. Many ways to use it.

One definition, fifteen wrappersFifteen file, directory and plugin shapes surround one central definition. Their silhouettes differ; each contains the same diamond mark. The symbols illustrate formats, not a count by format.One definitionRules fileDirectoryPlugin
One definition, fifteen wrappersEvery wrapper carries the same diamond: the shared guidance. Rules files, skill directories and plugins still need to be checked against the tools that receive them.

The design behind ASH's generated integrations for fifteen AI coding platforms.

ASH: the fifteen-platform integration transpiler

Automated Security Helper AI workflows

At a glance

Define the capability once, adapt its packaging, and check the result where it will actually be used.

Different teams choose different AI coding tools. That should not require a security workflow to acquire a different meaning in every environment. The instructions, capabilities, and installation details need to fit each platform, while the underlying work remains recognizably the same.

I built ASH's agent-integration transpiler around a single validated definition. It generates the platform-specific packages rather than asking maintainers to keep fifteen separate copies aligned by hand. The interesting design question is what belongs in the shared definition, and what must remain a platform-specific decision.

Start with the meaning, not the file format.

A common template is not automatically a common contract. One platform may want a rules file, another a plugin manifest, and another a skill directory. If the shared layer is just a large string with substitutions, platform constraints tend to leak into the content and become harder to review.

One large diamond sits inside a ring of fifteen editions. The diamond inside each edition carries the same meaning.

One meaning. Fifteen native forms.One large diamond-shaped definition is surrounded by fifteen folded editions. Each carries the same diamond mark.DocumentCheck receiving toolFolderReceiving toolPluginReceiving toolOne shared definitionFifteen integrations, one source of guidance
One meaning. Fifteen native forms.

A shared definition becomes fifteen platform integrations, each with its own packaging.

One large diamond-shaped definition is surrounded by fifteen folded editions. Each carries the same diamond mark.

Diagram key
Large central diamondShared definition
The guidance is written once.
Fifteen surrounding shapesNative editions
Each tool receives its own packaging.

The transpiler uses a structured model for the shared content and metadata, then separates the output formats from the agent backends. That gives a maintainer two useful places to look: the definition that explains what the integration does, and the adapter that explains how a particular tool receives it.

Three wrappers open below the shared diamond. Their outlines differ; the diamond inside each stays the same.

Change the wrapper, not the meaning.Three editions open into different document, folder and plugin silhouettes. Their central meaning stays visibly unchanged.DocumentCheck receiving toolFolderReceiving toolPluginReceiving toolOne shared definitionDifferent packaging. The guidance stays the same.
Change the wrapper, not the meaning.

Documents, folders and plugins can carry the same guidance in different forms.

Three editions open into different document, folder and plugin silhouettes. Their central meaning stays visibly unchanged.

Diagram key
Left, folded cornerDocument
Guidance packaged as a document.
Middle, tabbed edgeFolder
Guidance packaged as a folder.
Right, rectangular outlinePlugin
Guidance packaged as a plugin.
Two decisions, kept separate.
  1. What the capability means
  2. How this platform receives it
  3. Whether the generated package is valid

Content, packaging, and validation are related, but each has its own contract.

When this work merged, I asked on LinkedIn how deterministic generation stays meaningful across 15 agent platforms, on LinkedIn, opens in a new tab.

Generation needs a check on the other side.

Generating a file proves that the generator ran. It does not prove that the target tool will accept the file. I gave the backends smoke-test coverage and connected validation to the platforms' own command-line tools and schemas, with versions pinned where the checks depend on them.

Each wrapper sits above its own dashed receiving box. Producing a file and checking it in the receiving tool are separate steps.

Generation is not acceptance.The editions settle beside three different receiving apertures. Generation and validation are visibly separate steps.DocumentCheck receiving toolFolderReceiving toolPluginReceiving toolOne shared definitionGenerated form → receiving tool → acceptance check
Generation is not acceptance.

Each generated form still needs a check against the tool that receives it.

One shared definitionThree example wrappers

The document, folder and plugin keep the same guidance inside. A receiving-tool check tests whether a wrapper is accepted; it does not make the integrations interchangeable.

The editions settle beside three different receiving apertures. Generation and validation are visibly separate steps.

Diagram key
Document, folder and pluginGenerated form
Three packages carrying the same guidance.
Dashed box below eachReceiving tool
Each package needs its own acceptance check.

That makes the maintenance loop more concrete. A shared change can be checked across the output families, while a platform-specific change stays in its adapter. The intent is not to erase differences between tools. It is to make those differences explicit and testable.

I wrote more about reviewing that output in Making generated files useful to reviewers, on LinkedIn, opens in a new tab: each generated file is a view of a decision made somewhere else.

Portability is a maintenance property.

For the person installing an integration, portability means being able to use the workflow in the environment they already have. For the person maintaining it, portability means knowing where a change belongs and how to check every affected output. Both sides matter.

I prefer this pattern when the capability is shared but the surrounding ecosystems are moving independently. Keep the common meaning small and deliberate. Let the adapters own the differences. Make a generated package something that can be reviewed and validated, rather than an opaque byproduct of a build.

Portability also has a permission side. A tool's authority lives in the parameters each host passes to it, the subject of Your agent's permissions live in the parameters, on LinkedIn, opens in a new tab.

For a closer technical look
  • The implementation uses a Pydantic model, a backend class per agent, and a command-line build interface.
  • Formats and agent backends are separate concerns, so a packaging format can be reused without making platforms identical.
  • The integration packages call ASH. Installing an integration and installing the scanner itself are separate steps.

What I take from it

Keep the shared definition in one place, then validate each generated integration against the tool that will use it.