agentleFS
geldmachergeldmacher/design/.agents/skills/deploy-local-plugin/SKILL.md

deploy-local-plugin

Skill1 starsChanged 3 months agoMITView on GitHub

Build, inspect, preview, or deploy this Design source checkout to selected local Cursor, Codex, and OpenCode installations. Use only on explicit deploy-local-plugin invocation; installing a published release is a separate operation.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat an invocation without a requested action as a standard deployment.

    line 12
  2. Distinctive:

    After a real deployment, tell the user to reload Cursor, start a new Codex task, and/or start a new OpenCode session for the hosts that …

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deploy Local Plugin

Operate only on the current repository. Never search for or deploy sibling plugins, and never invent an --all mode.

  1. Confirm the current repository contains package.json, .cursor-plugin/plugin.json, and scripts/local-plugin-deploy.mjs.
  2. Treat an invocation without a requested action as a standard deployment. Map the user's request exactly:
    • status or inspect: npm run deploy:status
    • dry run or preview: npm run deploy:local -- --dry-run
    • deploy or update: npm run deploy:local
    • full deploy or full validation: npm run deploy:local -- --full
    • OpenCode uninstall: npm run deploy:uninstall Resolve host scope independently: no host request means Cursor, Codex, and OpenCode; append --cursor-only, --codex-only, or --opencode-only for one host. The host flags work with status, dry-run, standard, and full paths.
  3. Run from the repository root. Do not manually copy plugin files, edit the personal Marketplace, remove Codex caches, trust hooks, restart Cursor, restart Codex, or restart OpenCode. OpenCode configuration and commands are shared. Merge only this plugin's entries and preserve all unrelated settings, skill paths, and commands. Keep originals in memory and create no backups. If a shared-config write fails in the same run, deploy rewrites the original text from memory and does not copy it to disk. Uninstall removes only Design's skills entry, its own command files, and its OpenCode package.
  4. Report the selected hosts, product and local versions, content hashes, destination paths, dirty provenance, applicable Codex cache verification, and whether hook trust needs manual review.
  5. After a real deployment, tell the user to reload Cursor, start a new Codex task, and/or start a new OpenCode session for the hosts that changed. Do not claim live activation until those host-specific checks happen.

Stop on any manifest identity, path-boundary, symlink, validation, swap, Marketplace, or Codex cache error. A failure before the plugin directory is replaced leaves that directory in place. A failure after replacement stops and reports; recover by installing an older GitHub release. Preserve the deploy command's verified/provisional distinction.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.