"Situation: there are 4 competing plugin standards." "Ridiculous! We need one universal format that covers everyone." "Soon: Situation: there are 5 competing plugin standards." — XKCD 927
x927 compiles one PLUGIN.md source file into plugin manifests for Claude Code, Cursor, OpenAI Codex, and Tessl. A plugin author edits one file and reviews one diff instead of three or four manifests that silently drift.
The portable piece (SKILL.md, the Agent Skills spec) already works everywhere. x927 only handles the part that isn't standardized: the per-vendor plugin manifest envelope and marketplace metadata.
# Compile all targets from a PLUGIN.md in the current dir
npx x927 build
# Pick a target, or several
npx x927 build --target cursor --target tessl
# Show what would be written without touching disk
npx x927 build --dry-run
# CI guard — exits 1 if any generated file is out of sync with PLUGIN.md
npx x927 diff
# See which file each target writes
npx x927 list-targetsPLUGIN.md is plain Markdown. The structure is:
- The H1 text (
# <name>) becomes the plugin name. - A paragraph immediately after the H1 becomes the
description(orsummaryfor Tessl). - A bullet list of
- key: valuepairs holds the base fields, inherited by every target. ## <target>opens a target-specific override section. Bullets under it override or augment the base.
Comma-separated values become arrays. Sub-bullets also become arrays. true/false/numbers are coerced.
# app-builder
Development, customization, testing, and deployment skills for Adobe App Builder projects.
- version: 1.0.0
- author: Adobe
- license: Apache-2.0
- repository: https://github.com/adobe/skills
- keywords: app-builder, adobe, development
- skills: ./skills/
## Cursor
- displayName: Adobe App Builder
- logo: ./assets/logo.png
## Codex
- mcpServers: ./mcp.json
## Tessl
- name: adobe/app-builder
- softDependencies: impeccableRunning npx x927 build against that PLUGIN.md writes:
| Target | Output path | Spec |
|---|---|---|
| Claude Code | .claude-plugin/plugin.json |
code.claude.com/docs/en/plugins-reference |
| Cursor | .cursor-plugin/plugin.json |
cursor.com/docs/reference/plugins |
| OpenAI Codex | .codex-plugin/plugin.json |
developers.openai.com/codex/plugins/build |
| Tessl | tile.json |
docs.tessl.io/reference/configuration |
For every target, x927 runs four steps in order:
| Step | What it does |
|---|---|
map |
Rename fields the target spells differently (Tessl's summary ← shared description). |
filter |
Drop base fields the target doesn't support, so they don't leak into the manifest. |
merge |
Overlay the ## <target> section's bullets. These override base fields or add new target-specific ones, bypassing the filter. |
output |
Run any target-specific transforms, then serialize. |
Each target is one module under src/targets/ declaring rename, allow, transforms, and output. Adding a fifth target is ~25 lines.
- uses: ai-ecoverse/x927@v1
with:
command: diff # or "build"
input: PLUGIN.md
target: claude,cursor # optional; defaults to allcommand: diff makes a useful CI guard. If a contributor forgot to regenerate, the job fails before review.
All four targets are verified against vendor docs or source. The Tessl target additionally runs through tessl tile lint in CI on every push.
Releases are automated by semantic-release on every push to main. The next version is computed from conventional-commit messages (feat: → minor, fix: → patch, feat!: / BREAKING CHANGE: → major). The workflow tags the release, updates CHANGELOG.md + package.json, publishes to npm with provenance via OIDC trusted publishing, and creates the GitHub release.
The package's trusted-publisher config on npm must reference this repo (ai-ecoverse/x927) and the release.yml workflow. No NPM_TOKEN is stored.
Apache-2.0. See LICENSE.