[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F84D2R30337F2TEGJG7A4G":3,"skill-same:01M7F84D2R30337F2TEGJG7A4G":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F84D2R30337F2TEGJG7A4G","bifrost-framework",null,"The @gidragir\u002Fbifrost public API as a plugin author uses it - definePlugin, atom\u002FuseAtom\u002FuseState, the Host interface, UI primitives and components, the bifrost build\u002Fdev CLI. Use when writing or changing plugin code under plugins\u002F\u003Cmod>\u002Fsrc, including when a needed component or helper seems missing.","gidragir\u002Fclaude-mods","gidragir","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7879777?v=4","01M7F842DBWPHAR769D362Z1S5","Gidragir","01M7F842DZNA65ZSEQBZDP0A21",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbifrost-framework\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: bifrost-framework\ndescription: The @gidragir\u002Fbifrost public API as a plugin author uses it - definePlugin, atom\u002FuseAtom\u002FuseState, the Host interface, UI primitives and components, the bifrost build\u002Fdev CLI. Use when writing or changing plugin code under plugins\u002F\u003Cmod>\u002Fsrc, including when a needed component or helper seems missing.\n---\n\n# Bifrost framework\n\nFull reference: [packages\u002Fbifrost\u002FREADME.md](..\u002F..\u002F..\u002Fpackages\u002Fbifrost\u002FREADME.md).\n\n## Plugin shape\n\n```tsx\nimport { atom, definePlugin, MasterDetail, Markdown, useAtom, useHost, useValue } from '@gidragir\u002Fbifrost'\n\nconst items = atom('items', [] as Item[])\nconst selected = atom('selected', null as string | null)\n\nfunction Pane() {\n  const host = useHost()\n  const list = useValue(items)\n  const [sel, setSel] = useAtom(selected)\n  return (\n    \u003CMasterDetail items={list} selectedId={sel} onSelect={setSel} getId={x => x.id}\n      detail={x => \u003CMarkdown text={x.body} \u002F>} \u002F>\n  )\n}\n\nexport default definePlugin({\n  name: 'my-plugin', version: '0.1.0', description: '…',\n  config: { mode: { type: 'string', title: 'Mode', default: '' } },\n  panes: { main: { title: 'Mine', component: Pane, onOpen: async host => { \u002F* load *\u002F } } },\n  commands: { mine: { description: '…', run: async (host, args) => { await host.pane.open('main'); return 'Opened.' } } },\n  claude: { turnComplete: async (host, e) => {}, promptSubmit: async (host, e) => undefined },\n})\n```\n\n## Rules of thumb\n\n- **State**: `atom(key, initial)` at module level; `useAtom` \u002F `useValue` in components;\n  `host.get` \u002F `host.set(atom, value | prev => next)` in handlers. `useState('key', initial)` is sugar:\n  keep the key a literal. Values are plain data.\n- **Host** (`useHost()`, or the first argument of commands\u002Fevents): `fs`, `cwd()`, `config(key)`,\n  `selection()`, `prompt.append\u002Freplace\u002Fread\u002Fsubmit`, `toast`, `pane.open\u002Fclose\u002Ffocus`, `scrollTo`.\n  Never throws; degrades where a harness lacks a capability. Never import `claude-code` or Node in `src`.\n- **UI**: primitives `Box Text Button Input Select Markdown Code Link`; components `Card Row Column\n  Header Toolbar EmptyState Field SearchInput MasterDetail`; `truncate`, `plural`; `useViewport()` →\n  `{ harness, surface, columns, canInput, wide }`. Give interactive elements a `key`. `Box kind=\"card\"`\n  etc. picks the semantic HTML element in agy.\n- Components are plain functions called eagerly; hooks are keyed by atom, so conditions and loops are fine.\n- `claude.promptSubmit` returns a new text, `{ text, after }` (run `after` once the prompt went through),\n  or `undefined` to pass.\n\n## Missing piece\n\nNo `Badge`, no `Tabs`? Write it in the plugin from primitives (`plugins\u002F\u003Cmod>\u002Fsrc\u002Fbadge.tsx`:\n`\u003CText bold color=\"green\">[ACCEPTED]\u003C\u002FText>`). The API above is all a plugin gets; changing Bifrost is a\nframework task with its own instructions ([packages\u002Fbifrost\u002FAGENTS.md](..\u002F..\u002F..\u002Fpackages\u002Fbifrost\u002FAGENTS.md)),\nnever part of plugin work (see `cross-mod`).\n","# Bifrost framework\n\nFull reference: [packages\u002Fbifrost\u002FREADME.md](..\u002F..\u002F..\u002Fpackages\u002Fbifrost\u002FREADME.md).\n\n## Plugin shape\n\n```tsx\nimport { atom, definePlugin, MasterDetail, Markdown, useAtom, useHost, useValue } from '@gidragir\u002Fbifrost'\n\nconst items = atom('items', [] as Item[])\nconst selected = atom('selected', null as string | null)\n\nfunction Pane() {\n  const host = useHost()\n  const list = useValue(items)\n  const [sel, setSel] = useAtom(selected)\n  return (\n    \u003CMasterDetail items={list} selectedId={sel} onSelect={setSel} getId={x => x.id}\n      detail={x => \u003CMarkdown text={x.body} \u002F>} \u002F>\n  )\n}\n\nexport default definePlugin({\n  name: 'my-plugin', version: '0.1.0', description: '…',\n  config: { mode: { type: 'string', title: 'Mode', default: '' } },\n  panes: { main: { title: 'Mine', component: Pane, onOpen: async host => { \u002F* load *\u002F } } },\n  commands: { mine: { description: '…', run: async (host, args) => { await host.pane.open('main'); return 'Opened.' } } },\n  claude: { turnComplete: async (host, e) => {}, promptSubmit: async (host, e) => undefined },\n})\n```\n\n## Rules of thumb\n\n- **State**: `atom(key, initial)` at module level; `useAtom` \u002F `useValue` in components;\n  `host.get` \u002F `host.set(atom, value | prev => next)` in handlers. `useState('key', initial)` is sugar:\n  keep the key a literal. Values are plain data.\n- **Host** (`useHost()`, or the first argument of commands\u002Fevents): `fs`, `cwd()`, `config(key)`,\n  `selection()`, `prompt.append\u002Freplace\u002Fread\u002Fsubmit`, `toast`, `pane.open\u002Fclose\u002Ffocus`, `scrollTo`.\n  Never throws; degrades where a harness lacks a capability. Never import `claude-code` or Node in `src`.\n- **UI**: primitives `Box Text Button Input Select Markdown Code Link`; components `Card Row Column\n  Header Toolbar EmptyState Field SearchInput MasterDetail`; `truncate`, `plural`; `useViewport()` →\n  `{ harness, surface, columns, canInput, wide }`. Give interactive elements a `key`. `Box kind=\"card\"`\n  etc. picks the semantic HTML element in agy.\n- Components are plain functions called eagerly; hooks are keyed by atom, so conditions and loops are fine.\n- `claude.promptSubmit` returns a new text, `{ text, after }` (run `after` once the prompt went through),\n  or `undefined` to pass.\n\n## Missing piece\n\nNo `Badge`, no `Tabs`? Write it in the plugin from primitives (`plugins\u002F\u003Cmod>\u002Fsrc\u002Fbadge.tsx`:\n`\u003CText bold color=\"green\">[ACCEPTED]\u003C\u002FText>`). The API above is all a plugin gets; changing Bifrost is a\nframework task with its own instructions ([packages\u002Fbifrost\u002FAGENTS.md](..\u002F..\u002F..\u002Fpackages\u002Fbifrost\u002FAGENTS.md)),\nnever part of plugin work (see `cross-mod`).\n",{"name":5,"description":7},"main","f6bd66d12222e4097404efee5bec1b8e1ec45482",".agents\u002Fskills\u002Fbifrost-framework","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Ftree\u002Fmain\u002Fplugins\u002Fref-pane","https:\u002F\u002Fgithub.com\u002Fgidragir","Everything as Code. Automating routines, refining AI workflows & building ergonomic developer tooling.","2026-10-22 19:56:40",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add gidragir\u002Fclaude-mods --skill bifrost-framework",{"tool":38,"command":39},"bunx","bunx skills add gidragir\u002Fclaude-mods --skill bifrost-framework",{"tool":41,"command":42},"pnpm","pnpm dlx skills add gidragir\u002Fclaude-mods --skill bifrost-framework","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbifrost-framework\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7F867TXYBJX53PWSD1CSWMC","__MOD_NAME__","__MOD_DESCRIPTION__","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Ftemplates\u002Fmod\u002Fskills\u002F__MOD_NAME__\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7F862R0J2CBSCDPCMMKFEZW","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.","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Fskills\u002Fcross-mod\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7F85YREF3NBW5RFRDM2NSV4","ref-pane","Inspect and navigate project artifact references (such as RV-1, FB-2, T-3, ADR-4) in the Auxiliary Pane.","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Fplugins\u002Fref-pane\u002Fskills\u002Fref-pane\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7F85V4PPEFB8YC12ACYHRYN","bifrost-dev","Use when changing @gidragir\u002Fbifrost itself (packages\u002Fbifrost) - 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\u002F\u003Cmod>.","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Fpackages\u002Fbifrost\u002F.agents\u002Fskills\u002Fbifrost-dev\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7F85KV1TAYNXEFZ1V8ZDYBF","bifrost-claude-adapter","Use when changing packages\u002Fbifrost\u002Fsrc\u002Fclaude or src\u002Fcli codegen, or when a generated hooks module fails claude plugin validate\u002Ftest for a reason the framework (not the plugin) causes - scanner errors, missing state contract keys, guard hooks, next(e) chaining.","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Fpackages\u002Fbifrost\u002F.agents\u002Fskills\u002Fbifrost-claude-adapter\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7F85EX7FQXHME8HYVQXFF32","bifrost-agy-adapter","Use when changing packages\u002Fbifrost\u002Fsrc\u002Fagy - 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.","https:\u002F\u002Fgithub.com\u002Fgidragir\u002Fclaude-mods\u002Fblob\u002Fmain\u002Fpackages\u002Fbifrost\u002F.agents\u002Fskills\u002Fbifrost-agy-adapter\u002FSKILL.md",[],[]]