plugin-distribution
Load and distribute Bifrost plugins - dev links for terminal Claude, Claude Desktop and Antigravity, the release/<mod> branches built by CI, and the marketplace. Use when linking a plugin for live testing or changing how plugins are distributed; for cutting a release use the releasing skill.
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- plugin-distribution
- description
- Load and distribute Bifrost plugins - dev links for terminal Claude, Claude Desktop and Antigravity, the release/<mod> branches built by CI, and the marketplace. Use when linking a plugin for live testing or changing how plugins are distributed; for cutting a release use the releasing skill.
03 SKILL.md 正文
Distribution
Everything ships from plugins/<mod>/dist/ (built by bifrost build): one folder that is a Claude Code
plugin (.claude-plugin/, hooks/, types/) and an Antigravity plugin (plugin.json, skills/,
rules/, sidecars/<mod>/) at once.
Live development
| Command | Effect |
|---|---|
pnpm dev [mod…] |
rebuild dist on save |
pnpm dev:link [mod…] |
CLAUDE_CODE_PLUGIN_DIRS (+ CLAUDE_CODE_PLUGIN_DIR_WATCH=1) in mise.local.toml for claude in this repo |
pnpm dev:link:desktop [mod…] |
the same in ~/.claude/settings.json env (daily backup, atomic write) for Claude Desktop |
pnpm dev:link:agy [mod…] |
junctions in ~/.gemini/config/plugins and .../sidecars |
pnpm dev:unlink*, pnpm dev:status |
remove links; show links, stale links and name clashes |
Links point at dist and are built first if missing. They only add: installed plugins, marketplaces and
foreign plugin dirs stay; a name an installed, enabled plugin uses is skipped (--force to link anyway).
~/.claude/settings.json and ~/.gemini/config belong to the user: link there only on request.
Releasing a plugin
Follow releasing: bump, commit, pnpm release:check, push main alone, then the
tags, then verify release/<mod>. On a <mod>-v<version> tag .github/workflows/release-plugins.yml runs bun test, builds the plugin and force-pushes dist
(without tests/ and engine-laid types) to the orphan branch release/<mod> at its root, plus a
tarball artifact.
Install: /plugin marketplace add gidragir/claude-mods + /plugin install <mod>@claude-mods (the
marketplace points at release/<mod>), or agy plugin install gidragir/claude-mods#release/<mod>.
The framework
Plugins in this monorepo resolve @gidragir/bifrost to its sources. Publishing the framework
(framework-v<version>) is framework work: packages/bifrost/AGENTS.md.
04 同仓库更多 Skills
__MOD_NAME__
__MOD_DESCRIPTION__
cross-mod
Hub for building plugins that run in both Claude Code and Google Antigravity (agy) with the Bifrost framework. Use when starting any plugin work in this repository to find the right specialized skill and the end-to-end workflow.
ref-pane
Inspect and navigate project artifact references (such as RV-1, FB-2, T-3, ADR-4) in the Auxiliary Pane.
bifrost-dev
Use when changing @gidragir/bifrost itself (packages/bifrost) - adding or renaming an export, Host member, primitive or component, changing codegen or the adapters, bumping its version or releasing it - and not when building a plugin under plugins/<mod>.
bifrost-claude-adapter
Use when changing packages/bifrost/src/claude or src/cli codegen, or when a generated hooks module fails claude plugin validate/test for a reason the framework (not the plugin) causes - scanner errors, missing state contract keys, guard hooks, next(e) chaining.
bifrost-agy-adapter
Use when changing packages/bifrost/src/agy - the generated Antigravity aux-pane server, page runtime client.js, effects, token and preload contract, HTML renderer or bifrost.css - or when an agy pane misbehaves for every plugin rather than one.