aiskillstore/figjam-plugin
FigJam plugin development workflow. Use when modifying code.ts (canvas rendering), ui.ts (WebSocket/UI), fixing plugin build errors, or adding new rendering features.
npx skills add https://github.com/aiskillstore/marketplace --skill figjam-plugin
| Thread | File | APIs | Role |
|--------|------|------|------|
| Main | code.ts | figma.* only | Canvas rendering |
| UI | ui.ts | Browser APIs | WebSocket client, connection UI |
Critical: code.ts has NO browser APIs (window, document, fetch, WebSocket).
CLI ←─ WebSocket ─→ ui.ts ←─ postMessage ─→ code.ts ←─ figma.* ─→ Canvas
cd packages/plugin && bun run build
Import: Figma Desktop → Plugins → Development → Import from manifest → packages/plugin/manifest.json
@figram/core, normalizes to IR| File | Purpose |
|------|---------|
| manifest.json | Plugin config |
| src/code.ts | Canvas rendering |
| src/ui.ts | WebSocket + UI |
| src/icons/ | Service icons |
Take aiskillstore/figjam-plugin from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.