bridge
bridge copied to clipboard
Design in Figma with Claude Code. Bridge connects your terminal to the Figma Plugin API via WebSocket.
## Summary Instance swaps (`INSTANCE.swaps`) cannot work in Bridge 7.3.1: the generated code looks up the INSTANCE_SWAP property key on the **instance** node via `findPropKey(instVar, slotName, "INSTANCE_SWAP")`, but `findPropKey` reads...
## Summary Figma lets a component **expose a nested instance** (`isExposedInstance: true`) so that consumers set the nested instance's properties (its `Label`, `Checked`, …) directly from the parent instance's property...
## Summary `bridge-ds lint` (7.3.1, `bridge:recommended`) and `bridge-ds compile` disagree on how a `$token` reference resolves against the KB. A CSpec whose scene graph **compiles with exit 0 and executes...
## Summary Two related codegen behaviours in `bridge-ds compile` (7.3.1) leave **unbound, hardcoded white fills** in the generated design, contradicting the "no hardcoded values" guarantee: 1. **FRAME nodes without a...
## Summary `bridge-ds compile` (7.3.1, console transport) emits, for every TEXT node: ```js var text_title = figma.createText(); text_title.name = "Title"; text_title.characters = "Connexion"; // ← Rule 12: characters FIRST await...
## Summary `resolveTokenRef()` in `lib/compiler/resolve.ts` falls back to fuzzy segment scoring (`scoreCandidate`, threshold `> 40`) when a `$token` has no exact registry match. On a real design system this silently...
\`extractTextStylesFromFigma\` (\`lib/extractors/figma-rest.ts\`) writes hardcoded constants for every text style instead of real font data: \`\`\`js const textStyles = textStylesOnly.map((s) => ({ key: s.key, name: s.name, fontFamily: "Inter", fontStyle: "Regular", fontSize:...
## Problem The scaffolded GitHub Actions workflow (`.github/workflows/bridge-docs-cron.yml`) ships with: \`\`\`yaml - run: npm install --no-audit --no-fund - run: npm run build - run: node dist/lib/cron/orchestrator.js --config docs.config.yaml \`\`\` This...
## Problem Running \`bridge-ds docs build\` on a fresh-scaffolded repo (KB extracted, zero CSpecs) produces ~571 lines of doc per component × 92 components = a forest of empty Handlebars...