Files
reverse-engineering-anything/scripts/generate-cursor-plugin-skill.mjs
T
a54e848302 feat(cursor): ship a Marketplace plugin with the skill and pinned MCP server (#9878)
Cursor Marketplace installs are Git checkouts, so the plugin manifest
points at a synced copy of the authored skill and starts
npx -y rea-agents@<release> mcp. Release Please and the release
checkpoint keep that pin aligned with the package version.

The manifest, skill, and icon checks follow the local plugin bundle
contract from #7619, adapted for a checkout that has no dist/.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: GamerDubz <105694977+GamerDubz@users.noreply.github.com>
2026-11-11 00:16:44 -05:00

15 lines
479 B
JavaScript

import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
import { syncCursorPluginSkill } from "./lib/cursor-plugin-bundle.mjs";
const arguments_ = new Set(process.argv.slice(2));
for (const argument of arguments_)
if (argument !== "--check")
throw new Error(`Unknown Cursor plugin skill option: ${argument}`);
await syncCursorPluginSkill({
root: join(dirname(fileURLToPath(import.meta.url)), ".."),
check: arguments_.has("--check"),
});