Skip to content

Add .github/copilot-instructions.md#47

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/generate-copilot-instructions
Draft

Add .github/copilot-instructions.md#47
Copilot wants to merge 2 commits intomasterfrom
copilot/generate-copilot-instructions

Conversation

Copy link

Copilot AI commented Mar 12, 2026

Generated repository-level Copilot instructions from codebase analysis.

Covers:

  • Architecture — Two-thread Figma plugin model (worker code.ts ↔ UI main.js), message passing protocol, manifest structure
  • Build system — Rollup dual-bundle config (IIFE for UI with HTML inlining, CJS for worker), dev/prod modes
  • Source layout — All 14 source files in src/ with purpose annotations
  • Code conventions — Svelte component ordering, naming (PascalCase components, camelCase vars, kebab-case CSS), 2-space indent, semicolons
  • Key patterns — Selective update payloads, batch value distribution via fillToLengthOfSelected, Set deduplication for multi-select display, RGB↔HSL↔Hex color space conversions, async font loading with Promise.all
  • Figma plugin specificsfigma global availability constraints, font loading requirements, missing weight handling

Copilot AI and others added 2 commits March 11, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants