aiskillstore/marketplace / skills/7nohe/figjam-plugin
figjam-plugin
VerifiedFigJam plugin development workflow. Use when modifying code.ts (canvas rendering), ui.ts (WebSocket/UI), fixing plugin build errors, or adding new rendering features.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.3 KB |
| skill-report.json | config | 17.1 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-04T17:30:47.104Z",
"slug": "7nohe-figjam-plugin",
"source_url": "https://github.com/7nohe/figram/tree/main/.claude/skills/figjam-plugin",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "f4609a6caa3b009faf41f1c63bdb8971264f50eaa8f2c1d7237a02bf5fc6c62d",
"tree_hash": "b69bf0eb0ce31bf4466e24769a3128ff75b4a47b4ecd79345081e53f02d40173",
"provenance": {
"model_effective": "codex",
"fallback_chain": [
{
"agent": "codex",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "figjam-plugin",
"description": "FigJam plugin development workflow. Use when modifying code.ts (canvas rendering), ui.ts (WebSocket/UI), fixing plugin build errors, or adding new rendering features.",
"summary": "Guides FigJam plugin changes across canvas rendering, UI messaging, builds, and local Figma import.",
"icon": "π¦",
"version": "1.0.1",
"author": "7nohe",
"license": "MIT",
"category": "design",
"tags": [
"figjam",
"figma-plugin",
"websocket",
"canvas-rendering",
"plugin-build"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands"
]
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "The static findings are false positives caused by Markdown backticks and code fences in SKILL.md. The only command shown is a fixed local build command, and no prompt injection, exfiltration intent, or malicious instruction was found.",
"remediation": [],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 12,
"line_end": 12
},
{
"file": "SKILL.md",
"line_start": 13,
"line_end": 13
},
{
"file": "SKILL.md",
"line_start": 15,
"line_end": 15
},
{
"file": "SKILL.md",
"line_start": 19,
"line_end": 21
},
{
"file": "SKILL.md",
"line_start": 21,
"line_end": 25
},
{
"file": "SKILL.md",
"line_start": 25,
"line_end": 27
},
{
"file": "SKILL.md",
"line_start": 27,
"line_end": 29
},
{
"file": "SKILL.md",
"line_start": 29,
"line_end": 39
},
{
"file": "SKILL.md",
"line_start": 39,
"line_end": 46
},
{
"file": "SKILL.md",
"line_start": 46,
"line_end": 47
},
{
"file": "SKILL.md",
"line_start": 47,
"line_end": 48
},
{
"file": "SKILL.md",
"line_start": 48,
"line_end": 49
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:12:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 12,
"line_end": 12,
"snippet": "| Main | `code.ts` | `figma.*` only | Canvas rendering |"
},
{
"id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 13,
"line_end": 13,
"snippet": "| UI | `ui.ts` | Browser APIs | WebSocket client, connection UI |"
},
{
"id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 15,
"line_end": 15,
"snippet": "**Critical**: `code.ts` has NO browser APIs (`window`, `document`, `fetch`, `WebSocket`)."
},
{
"id": "external_commands:SKILL.md:19:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 19,
"line_end": 21,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 21,
"line_end": 25,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 25,
"line_end": 27,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:27:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 27,
"line_end": 29,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 29,
"line_end": 39,
"snippet": "Import: Figma Desktop β Plugins β Development β Import from manifest β `packages/plugin/manifest.jso"
},
{
"id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 39,
"line_end": 46,
"snippet": "- Validates with `@figram/core`, normalizes to IR"
},
{
"id": "external_commands:SKILL.md:46:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 46,
"line_end": 47,
"snippet": "| `manifest.json` | Plugin config |"
},
{
"id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 47,
"line_end": 48,
"snippet": "| `src/code.ts` | Canvas rendering |"
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 48,
"line_end": 49,
"snippet": "| `src/ui.ts` | WebSocket + UI |"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:12:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 12 uses Markdown inline code to name code.ts and figma.* in an architecture table. It is documentation, not Ruby or shell backtick execution."
},
{
"id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 13 uses Markdown inline code to name ui.ts in an architecture table. It does not execute a command or interpolate untrusted input."
},
{
"id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "Line 15 uses inline code formatting for API names such as window and fetch. This is a boundary warning for plugin code, not executable shell syntax."
},
{
"id": "external_commands:SKILL.md:19:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "Lines 19-21 are a plain Markdown diagram fence that describes message flow. The backticks open and close documentation, not a shell execution primitive."
},
{
"id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "Lines 21-25 only close one Markdown fence and introduce the build section. There is no dynamic command construction or Ruby backtick expression."
},
{
"id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.86,
"reason": "Lines 25-27 document a fixed local build command, cd packages/plugin && bun run build. It is expected plugin development guidance, not hidden or user-controlled execution."
},
{
"id": "external_commands:SKILL.md:27:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "Lines 27-29 close the build command fence and explain manual Figma import. The backticks are Markdown formatting and do not execute anything."
},
{
"id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "Line 29 uses inline code to show the manifest path. This is a file path reference for manual import, not command execution."
},
{
"id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "Line 39 uses inline code to name @figram/core as a validation library. It describes expected validation behavior and contains no executable command."
},
{
"id": "external_commands:SKILL.md:46:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 46 uses Markdown inline code to list manifest.json in a key files table. It is a filename reference, not shell syntax."
},
{
"id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 47 uses Markdown inline code to list src/code.ts in a key files table. It is documentation and has no execution path."
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 48 uses Markdown inline code to list src/ui.ts in a key files table. The text names a file and role, not a command."
}
],
"semantic_findings": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 50,
"audit_model": "codex",
"audited_at": "2026-07-04T17:30:47.104Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Build FigJam Plugin Features",
"value_statement": "FigJam plugin changes can fail when main-thread and UI APIs are mixed. This skill guides Claude, Codex, and Claude Code through the project structure, build flow, and import workflow.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"FigJam plugin",
"Figma plugin development",
"WebSocket UI",
"canvas rendering",
"plugin build",
"manifest import",
"FigJam automation"
],
"actual_capabilities": [
"Explains the split between code.ts and ui.ts responsibilities.",
"Identifies which APIs belong in the plugin main thread.",
"Shows the local build command for the plugin package.",
"Describes how to import the manifest in Figma Desktop.",
"Documents debugging locations for UI and main-thread errors.",
"Summarizes JSON import handling and validation behavior."
],
"limitations": [
"It does not include source code for the plugin implementation.",
"It does not validate manifest contents by itself.",
"It assumes the project uses the documented packages/plugin layout.",
"It does not replace Figma Desktop testing."
],
"use_cases": [
{
"title": "Add Canvas Rendering",
"description": "Use the skill to place rendering changes in code.ts and keep browser APIs out of the main thread.",
"target_user": "Figma plugin developers"
},
{
"title": "Repair UI Messaging",
"description": "Use the skill to trace WebSocket, postMessage, and canvas communication when plugin data does not arrive.",
"target_user": "Frontend engineers"
},
{
"title": "Prepare Local Plugin Testing",
"description": "Use the skill to build the package and import the manifest through Figma Desktop development tools.",
"target_user": "Design tool teams"
}
],
"prompt_templates": [
{
"title": "Locate the Right File",
"scenario": "Beginner file placement",
"prompt": "I need to change a FigJam plugin feature. Tell me whether the change belongs in code.ts or ui.ts, and explain why."
},
{
"title": "Fix a Build Error",
"scenario": "Intermediate troubleshooting",
"prompt": "Review this FigJam plugin build error. Identify the likely thread boundary issue and suggest the smallest fix."
},
{
"title": "Debug Message Flow",
"scenario": "Advanced integration",
"prompt": "Trace the CLI to UI to main-thread message flow for this plugin bug. List the checks I should run in order."
},
{
"title": "Plan a Rendering Feature",
"scenario": "Advanced feature design",
"prompt": "Design an implementation plan for a new FigJam rendering feature. Separate UI work, message passing, validation, and canvas rendering."
}
],
"output_examples": [
{
"input": "I need to add a shape rendering feature to the plugin.",
"output": "The response separates canvas rendering work into code.ts, UI state into ui.ts, and validation checks before drawing."
},
{
"input": "The plugin build succeeds, but Figma does not show the latest behavior.",
"output": "The response recommends rebuilding the plugin package, confirming the imported manifest path, and checking the correct Figma development console."
},
{
"input": "A WebSocket message reaches the UI but nothing appears on the canvas.",
"output": "The response traces the UI postMessage handoff, main-thread handler, IR validation, and final figma API rendering step."
}
],
"best_practices": [
"Keep browser APIs in ui.ts and FigJam canvas APIs in code.ts.",
"Run the documented build before importing the manifest in Figma Desktop.",
"Check UI and main-thread consoles separately when debugging."
],
"anti_patterns": [
"Do not call window, document, fetch, or WebSocket from code.ts.",
"Do not treat WebSocket delivery as proof that canvas rendering succeeded.",
"Do not import a stale manifest after changing plugin package files."
],
"faq": [
{
"question": "What does this skill help with?",
"answer": "It helps agents work on a FigJam plugin by following the documented file roles, build step, and debugging flow."
},
{
"question": "Does it generate a full plugin?",
"answer": "No. It guides edits inside an existing plugin project with the documented packages/plugin structure."
},
{
"question": "Which file handles canvas rendering?",
"answer": "The skill states that code.ts handles canvas rendering through figma APIs."
},
{
"question": "Which file handles WebSocket UI work?",
"answer": "The skill states that ui.ts handles browser APIs, WebSocket behavior, and connection UI."
},
{
"question": "How should I test changes locally?",
"answer": "Build the plugin package, then import packages/plugin/manifest.json through Figma Desktop development tools."
},
{
"question": "Can Claude, Codex, and Claude Code use it?",
"answer": "Yes. The report marks the skill as compatible with Claude, Codex, and Claude Code."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 50
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |