@tekyzinc/gsd-t 2.54.10 → 2.55.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/gsd-t.js CHANGED
@@ -517,6 +517,34 @@ function configureAutoRouteHook(scriptPath) {
517
517
  }
518
518
  }
519
519
 
520
+ // ─── Figma MCP ──────────────────────────────────────────────────────────────
521
+
522
+ const FIGMA_MCP_URL = "https://mcp.figma.com/mcp";
523
+
524
+ function configureFigmaMcp() {
525
+ const parsed = readSettingsJson();
526
+ if (parsed === null && fs.existsSync(SETTINGS_JSON)) {
527
+ warn("settings.json has invalid JSON — cannot configure Figma MCP");
528
+ return;
529
+ }
530
+ const settings = parsed || {};
531
+
532
+ if (settings.mcpServers && settings.mcpServers.figma) {
533
+ info("Figma MCP already configured");
534
+ return;
535
+ }
536
+
537
+ if (!settings.mcpServers) settings.mcpServers = {};
538
+ settings.mcpServers.figma = { url: FIGMA_MCP_URL };
539
+
540
+ if (!isSymlink(SETTINGS_JSON)) {
541
+ fs.writeFileSync(SETTINGS_JSON, JSON.stringify(settings, null, 2));
542
+ success("Figma MCP configured (remote: " + FIGMA_MCP_URL + ")");
543
+ } else {
544
+ warn("Skipping settings.json write — target is a symlink");
545
+ }
546
+ }
547
+
520
548
  // ─── Utility Scripts ─────────────────────────────────────────────────────────
521
549
 
522
550
  const UTILITY_SCRIPTS = ["gsd-t-tools.js", "gsd-t-statusline.js", "gsd-t-event-writer.js", "gsd-t-dashboard-server.js", "gsd-t-dashboard.html"];
@@ -832,6 +860,9 @@ function doInstall(opts = {}) {
832
860
  heading("Auto-Route (UserPromptSubmit)");
833
861
  installAutoRoute();
834
862
 
863
+ heading("Figma MCP (Design-to-Code)");
864
+ configureFigmaMcp();
865
+
835
866
  heading("Utility Scripts");
836
867
  installUtilityScripts();
837
868
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekyzinc/gsd-t",
3
- "version": "2.54.10",
3
+ "version": "2.55.10",
4
4
  "description": "GSD-T: Contract-Driven Development for Claude Code — 51 slash commands with headless CI/CD mode, graph-powered code analysis, real-time agent dashboard, execution intelligence, task telemetry, doc-ripple enforcement, backlog management, impact analysis, test sync, milestone archival, and PRD generation",
5
5
  "author": "Tekyz, Inc.",
6
6
  "license": "MIT",
@@ -39,7 +39,10 @@ MANDATORY:
39
39
  │ Use MCP to get exact colors, spacing, typography, component structure
40
40
  │ MCP values are authoritative — override visual estimates
41
41
  ├── If no Figma MCP but source is Figma:
42
- Request a screenshot/export of each component at 1x and 2x
42
+ Recommend setup: "For precise extraction, install the Figma MCP server.
43
+ │ Remote (recommended): https://mcp.figma.com/mcp
44
+ │ Or install the Figma Plugin for Claude Code which includes MCP settings."
45
+ │ Fallback: request a screenshot/export of each component at 1x and 2x
43
46
  │ Use visual analysis — note reduced precision in the design contract
44
47
  ├── Log which tools were used in the design contract Source section
45
48
  └── Future MCPs (Sketch, Adobe XD, Penpot) follow the same pattern