{"data":{"slug":"github-figma-mcp-server-guide-workflow-skills-generate-project-plan-9bd209ed23b2","title":"Generate Project Plan in FigJam","summary":"Create an interactive project plan board in FigJam from a PRD and codebase context. The process includes research, section proposal, content creation, and board generation with precise styling and layout based on predefined visual conventions.","url":"https:\/\/skillshunter.net\/skills\/github-figma-mcp-server-guide-workflow-skills-generate-project-plan-9bd209ed23b2","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-figma-mcp-server-guide-workflow-skills-generate-project-plan-9bd209ed23b2","markdown_url":"https:\/\/skillshunter.net\/skills\/github-figma-mcp-server-guide-workflow-skills-generate-project-plan-9bd209ed23b2.md","download_url":"https:\/\/skillshunter.net\/skills\/github-figma-mcp-server-guide-workflow-skills-generate-project-plan-9bd209ed23b2\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before generating the project plan, ensure that both `Inter Medium` and `Inter Bold` fonts are loaded at the top of any `use_figma` script that creates tables or other text elements. Additionally, always position children using `prevChild.y + prevChild.height + 24` to avoid overlapping due to varying font sizes.","instructions":"---\nname: generate-project-plan\ndescription: \"Generate a FigJam project plan board from a PRD plus codebase context. Interactive flow: research \u2192 propose sections \u2192 per-section deep research \u2192 per-section content + block-shape proposal \u2192 create FigJam \u2192 skeleton \u2192 fill \u2192 diagrams \u2192 wrap. Each content block (section, nested section, intro callout, table, multi-column text, sticky column, diagram section, metadata strip) has its own subskill reference file. Use when the user asks for 'project plan in FigJam', 'interactive project plan', '\/generate-project-plan', or provides a PRD and wants per-section confirmation on content + rendering.\"\ndisable-model-invocation: false\n---\n\n# generate-project-plan\n\nTurn a PRD (plus optional codebase grounding) into a FigJam project plan board. Section set is not fixed \u2014 the skill proposes candidates from the research and the user picks which to include. For each picked section, the skill proposes content + rendering shape (block) and the user confirms.\n\n## Mandatory prerequisites\n\n**Foundation skills** (load by name; available in `figma\/mcp-server-guide`):\n\n- `figma-use` \u2014 **Load once per session.** Stays in context for all `use_figma` calls.\n- `figma-use-figjam` \u2014 **Re-load before every `use_figma` call.**\n- `figma-generate-diagram` \u2014 **Re-load before every `generate_diagram` call.**\n\n**Foundation references** (in this plugin):\n\n- [`foundation\/palette.md`](references\/foundation\/palette.md) \u2014 section + sticky + text palette constants (`hex\/255`).\n- [`foundation\/layout.md`](references\/foundation\/layout.md) \u2014 canvas geometry, sizing rules, placeholder lifecycle.\n- [`foundation\/plugin-api-traps.md`](references\/foundation\/plugin-api-traps.md) \u2014 documented traps for FigJam `use_figma`.\n- [`foundation\/codebase-grounding.md`](references\/foundation\/codebase-grounding.md) \u2014 Step 1 expansion rules.\n\n**Section catalog**:\n\n- [`section-catalog.md`](references\/section-catalog.md) \u2014 the ~10 candidate sections with default blocks and palette.\n\n**Block subskills** (one per content type \u2014 re-load the one(s) you need before each `use_figma` fill call):\n\n| Block | File | When to load |\n|---|---|---|\n| Top-level section | [`blocks\/section.md`](references\/blocks\/section.md) | Skeleton pass (Step 6) and every fill call (Step 7) |\n| Nested section | [`blocks\/nested-section.md`](references\/blocks\/nested-section.md) | Fills that group sub-content (e.g. \"Design Decisions 1\/2\/3\") |\n| Intro callout | [`blocks\/intro-callout.md`](references\/blocks\/intro-callout.md) | Fills that open with a highlighted intro (e.g. Motivation) |\n| Text primitives | [`blocks\/text-primitives.md`](references\/blocks\/text-primitives.md) | Any fill that uses body paragraphs, H3 subheaders, or bulleted lists |\n| Table | [`blocks\/table.md`](references\/blocks\/table.md) | Fills with structured data (Resources, Goals, Dependencies, Rollout, Milestones) |\n| Multi-column text | [`blocks\/multi-column-text.md`](references\/blocks\/multi-column-text.md) | Fills with 2\u20134 option columns (Design Decisions alternatives) |\n| Sticky column | [`blocks\/sticky-column.md`](references\/blocks\/sticky-column.md) | Fills with lists of stickies (Success Metrics, Risks, Open Questions) |\n| Diagram section | [`blocks\/diagram-section.md`](references\/blocks\/diagram-section.md) | Right-column diagram sections (Step 8) |\n| Metadata strip | [`blocks\/metadata-strip.md`](references\/blocks\/metadata-strip.md) | Skeleton pass \u2014 one metadata strip at top of board |\n\n**Also pass** `skillNames: \"figma-use,figma-use-figjam,generate-project-plan\"` on `use_figma` calls (logging only).\n\n## Visual UI conventions \u2014 STRICT, do not deviate\n\nThese are derived from a canonical reference board. Read the source-of-truth files for the full constants; this section is a single-place summary so an agent can answer \"what color \/ size \/ font \/ padding?\" without hunting.\n\n### Colors (two-tone per section)\n\nEvery left-column section uses **two coordinated colors** of the same hue: a very-pale `ARCH_PALE` background, and a slightly-more-saturated FigJam-`SECTION` palette color for any table header inside that section. Right-column diagram sections are pure white.\n\n| Section bg (`ARCH_PALE.X`) | Table header (`TABLE_HEADER.lightX`) | Hue |\n|---|---|---|\n| `#F8F5FF` | `#DCCCFF` | violet |\n| `#EBFFEE` | `#CDF4D3` | green |\n| `#DBF0FF` | `#C2E5FF` | blue |\n| `#F5FBFF` (alt) | `#C2E5FF` | pale blue |\n| `#FFF7F0` | `#FFE0C2` | orange |\n| `#F1FEFD` | `#C6FAF6` | teal |\n| `#FFFBF0` | `#FFEC BD` | yellow |\n| `#FFEEF8` | `#FFC2EC` | pink |\n| `#FFEEE8` | `#FFCDC2` | red |\n\nSource: `references\/foundation\/palette.md`. Never use the dark-saturated palette (`#874FFF`, `#3DADFF`, etc.) for table headers \u2014 that's for FigJam's standalone tables, not project-plan boards.\n\nArchitecture-diagram subgraph colors are auto-applied by `generate_diagram` and **must not be overridden**. Their canonical values: `client #AFF4C6` rounded-rect, `gateway #FFFFFF` square (diamond if labeled \"Load Balancer\"\/\"ALB\"\/\"LB\"), `service #E4CCFF` square, `datastore #BDE3FF` cylinder, `external #FFFFFF` PREDEFINED_PROCESS, `async #BDE3FF` ENG_QUEUE.\n\n### Typography (font sizes)\n\n| Element | Size | Font | Color |\n|---|---|---|---|\n| H1 (board title) | **40** | Inter Medium | `#1E1E1E` |\n| H2 (section title \u2014 first child of every section) | 40 | Inter Medium | `#1E1E1E` |\n| H3 \u2014 full-width subhead (e.g. \"Resources\" inside Motivation) | **40** | Inter Medium | `#1E1E1E` |\n| H3 \u2014 nested-section header (e.g. \"Design Decision 1: \u2026\") | **32** | Inter Medium | `#1E1E1E` |\n| H3 \u2014 column title in 2\/3\/4-col layouts (Risks col, Goals col) | **24** | Inter Medium | `#1E1E1E` |\n| Body text | 16 | Inter Medium | `#1E1E1E` |\n| Table cells (header AND body) | 16 | **Inter Bold** | `#1E1E1E` |\n\nThe three different H3 sizes are deliberate. 40 = matches H2 weight when subhead is alone in the section. 32 = sub-section header inside a child section (672px inner width). 24 = column title in narrow contexts (\u2264 224px col width). Pick by **container width**, not by semantic depth.\n\nAlways load both `Inter Medium` AND `Inter Bold` at the top of any `use_figma` script that creates tables (Bold) plus any other text (Medium).\n\n### Section properties\n\n| Property | Value |\n|---|---|\n| `section.fills` | `[{ type: 'SOLID', color: ARCH_PALE.X }]` (left column) or `ARCH_PALE.white` (right column \/ diagrams) |\n| `section.name` | `\"\"` \u2014 empty string. NO FigJam title-bar label. The H2 inside is the only title. |\n| Inner padding (all 4 sides) | 32 (current default; reference uses 40-50, kept at 32 for now) |\n| First child position | `(32, 32)` |\n| Width (left column) | 800 |\n| Width (right column \/ diagram) | `max(1200, diag.width + 64)` after diagram is reparented |\n| Vertical gap between sections (inside the wrapper) | **64** |\n| Hug behavior | Manual: call `section.resizeWithoutConstraints(w, maxChildBottom + 32)` after appending children. Sections do NOT auto-grow. |\n| Placeholder during build | `placeholder = true` in skeleton pass; `placeholder = false` at the end of the section's fill. |\n\n### Outer wrapper + column alignment (STRICT defaults)\n\nThe board has **one outer wrapper** (unlabeled, white) plus the diagram column:\n\n1. **Column wrapper** \u2014 an unlabeled white SECTION at `(_, 0)`. Contains, in order from top:\n   - H1 project title (40px Inter Medium, charcoal) at `(64, 64)` (= section padding)\n   - Body row of metadata: Owner \/ Status \/ Last updated \/ Source (16px Inter Medium, charcoal), at `(64, h1.y + h1.height + 16)` \u2014 16px gap below H1; 32px gap between each body cell\n   - 64px gap below the body row, then the 6 left-column sections stacked with 64px gutter\n2. **Diagram column** at `(columnWrapperRight + 64, 0)`. Each diagram is its own un-wrapped white SECTION; the **top diagram's y aligns with the column wrapper's y (= 0)**. Diagrams stack with 64px gutter.\n\nThe metadata is **embedded** in the column wrapper (NOT a separate section). One column wrapper holds everything text-related.\n\n**Constants:**\n- Wrapper inner padding (all 4 sides): **64**\n- Vertical gap between sections inside the wrapper: **64**\n- Horizontal gap between wrapper right edge and diagram-column left edge: **64**\n- Top of the diagram column aligns with `wrapper.y` (same horizontal axis as the wrapper top edge)\n- Vertical gap between stacked diagram sections: **64** (matches the inner gutter)\n\n```js\nconst PAD = 64;\nconst leftIds = [\/* all left-column section ids in order *\/];\nconst sections = [];\nfor (const id of leftIds) sections.push(await figma.getNodeByIdAsync(id));\n\n\/\/ Compute bbox of the column in page coords\nlet minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;\nfor (const s of sections) {\n  minX = Math.min(minX, s.x); minY = Math.min(minY, s.y);\n  maxX = Math.max(maxX, s.x + s.width); maxY = Math.max(maxY, s.y + s.height);\n}\n\nconst wrapper = figma.createSection();\nwrapper.name = \"\";                                                              \/\/ STRICT\nwrapper.fills = [{ type: 'SOLID', color: WHITE }];                              \/\/ ARCH_PALE.white\nwrapper.resizeWithoutConstraints((maxX - minX) + 2*PAD, (maxY - minY) + 2*PAD);\nwrapper.x = minX - PAD;\nwrapper.y = minY - PAD;\n\n\/\/ Reparent + translate to keep visual positions\nfor (const s of sections) {\n  const newX = (s.x - minX) + PAD;\n  const newY = (s.y - minY) + PAD;\n  wrapper.appendChild(s);\n  s.x = newX;\n  s.y = newY;\n}\n```\n\nThe wrapper has no header (no H2 inside) and no name \u2014 it's a pure container. Don't repeat the project title here; that lives in the metadata strip.\n\n**Position the diagram column** after the wrapper exists:\n\n```js\nconst wrapperRight = wrapper.x + wrapper.width;\nconst diagramX = wrapperRight + 64;       \/\/ 64px horizontal gap matches inter-section gutter\nlet y = wrapper.y;                          \/\/ align top with wrapper's top edge\nfor (const id of diagramSectionIdsInOrder) {\n  const d = await figma.getNodeByIdAsync(id);\n  d.x = diagramX;\n  d.y = y;\n  y += d.height + 64;                     \/\/ 64px vertical gutter between stacked diagrams\n}\n```\n\n### Vertical spacing (STRICT)\n\n| Between | Gap |\n|---|---|\n| Section top edge \u2192 H2 (first child) | 32 (= padding) |\n| H2 \u2192 next child (body \/ intro callout \/ H3 \/ table \/ first column) | **24** |\n| Body paragraph \u2192 H3 | **24** |\n| H3 (any size: 40 \/ 32 \/ 24) \u2192 next child (body \/ table \/ list \/ column content) | **24** |\n| Body \u2192 body | **24** |\n| List \u2192 next block | **24** |\n| Last child bottom \u2192 section bottom edge | 32 (= padding) |\n\n**Always position children using `prevChild.y + prevChild.height + 24`** \u2014 never use a fixed offset like `prevChild.y + 60`. The H3 has three different sizes (40 \/ 32 \/ 24), so a fixed offset is wrong by definition; always read `prevChild.height` after the font size is set.\n\n**When you change a header's font size after the fact, you MUST re-stack downstream children.** Setting `h3.fontSize = 40` grows the node's height; if the next child's `y` was computed before the resize, it will overlap.\n\n### Tables\n\n- **Both header AND body cells** use `Inter Bold` 16px (NOT Medium).\n- Header text is `#1E1E1E` charcoal on a light fill (matching the section's hue).\n- Body cells leave fill at default white; text is charcoal.\n- Headers do NOT use white-on-dark \u2014 that's wrong for this board style.\n\n### Diagrams (right column)\n\n`generate_diagram` with `useArchitectureLayoutCode: \"FIGMA_DIAGRAM_2026\"` produces **multiple page-level nodes** (1\u20132 subgraph SECTIONs + bare SHAPE_WITH_TEXTs + CONNECTORs), NOT a single container. To wrap them in a section:\n1. Collect all new page-level nodes (exclude known plan-section IDs).\n2. Compute the bbox.\n3. Create a new SECTION sized to `bboxW + 64 \u00d7 bboxH + 64 + 64` (HEADER_BLOCK = 40 H2 + 24 gap), fill `ARCH_PALE.white`.\n4. Reparent each diagram node, translating local coords to maintain visual layout.\n5. **CRITICAL \u2014 delete and recreate every connector after reparent.** The assign-to-self trick (`c.connectorStart = c.connectorStart`) is NOT reliable: short connectors re-route fine, but long-bend connectors retain stale elbow waypoints and extend hundreds of pixels outside the section. Delete + `figma.createConnector()` from captured spec produces a clean route every time. See [`blocks\/diagram-section.md`](references\/blocks\/diagram-section.md) for the spec-capture + recreate pattern.\n6. **Connector labels \u2014 explicit `fontName` + `fontSize` + `fills` ALL required.** A fresh connector's `text` sublayer has no usable defaults. Set ALL FOUR: `c.text.fontName = { family: 'Inter', style: 'Medium' }`, `c.text.fontSize = 14`, `c.text.characters = label`, `c.text.fills = [{ type: 'SOLID', color: CHARCOAL }]`. Default `text.fills` is **`[]` (empty array)** so the label renders **transparent** and is invisible \u2014 read-back of `c.text.characters` lies; verify with a screenshot.\n\nDiagram-section convention: `section.name = \"\"`, H2 text node inside as the title (matches the rest of the board).\n\n### What NOT to use (common wrong defaults)\n\n| Don't use | Use instead | Why |\n|---|---|---|\n| `#CDF4D3` (FigJam lightGreen) for section bg | `#EBFFEE` (ARCH_PALE.green) | Too saturated next to diagrams |\n| `#C2E5FF` (FigJam lightBlue) for section bg | `#DBF0FF` or `#F5FBFF` (ARCH_PALE.blue \/ blueLite) | Same |\n| `#874FFF` (FigJam dark violet) for table header | `#DCCCFF` (FigJam lightViolet) | Reference uses light-on-pale, not dark-on-pale |\n| White text on dark table header | `#1E1E1E` charcoal text on light header | Same \u2014 pale-on-pale convention |\n| `Inter Medium` for table cells | `Inter Bold` | Reference uses Bold for all cells |\n| `section.name = \"Goals\"` (or any non-empty string) | `section.name = \"\"` | Reference uses empty names; H2 inside is the title |\n| Reparenting only one subgraph from a generated diagram | Reparent ALL page-level nodes (SECTIONs + SHAPEs + CONNECTORs) | Architecture diagrams are not single nodes |\n| Trusting `c.connectorStart = c.connectorStart` to re-route every connector | After reparent, **delete and recreate every connector** from a captured spec | Long-bend connectors retain stale elbow waypoints; only `figma.createConnector()` produces a fresh route |\n| Setting only `c.text.characters = label` on a fresh connector | Set `c.text.fontName`, `c.text.fontSize`, `c.text.characters`, AND `c.text.fills` | Defaults: fontSize=missing, fills=`[]` (empty array \u2192 transparent) \u2192 label invisible despite correct read-back |\n\n## Step template\n\nEvery step below uses this shape. Read the step, then execute.\n\n```\n## Step N \u2014 <Name>  [Type: Research | Confirm | Write]\nInputs required: \u2026\nAsk if missing: \u2026\nTools \/ refs loaded: \u2026\nDo: (3\u20136 action bullets)\nCheckpoint: (Research \u2192 self-check; Confirm \u2192 AskUserQuestion; Write \u2192 screenshot + AskUserQuestion)\n```\n\nThree step types:\n- **Research** \u2014 read-only; checkpoint = self-check list.\n- **Confirm** \u2014 no board writes, user decision gate; checkpoint = `AskUserQuestion`.\n- **Write** \u2014 creates\/mutates FigJam; checkpoint = screenshot + `AskUserQuestion`.\n\n---\n\n## Step 1 \u2014 Gather context  [Research]\n\n**Inputs required**\n- PRD file path or pasted text.\n- Optional: codebase entry points (file paths, service names, doc paths).\n\n**Ask if missing**\n- \"Where's the PRD? (path or paste).\"\n- \"Any codebase entry points I should ground in? (paths \/ services \/ docs \/ 'none').\"\n\n**Tools \/ refs loaded**\n- `Read`, `Glob`, `Grep`.\n- [`foundation\/codebase-grounding.md`](references\/foundation\/codebase-grounding.md).\n\n**Do**\n1. Read the PRD. Extract: title, problem, goals, non-goals, owner, audience, success metrics, rollout hints, risks.\n2. If entry points provided: follow `codebase-grounding.md` \u2014 bounded 20-file cap, depth-1 imports, walk up to `CLAUDE.md`\/`ARCHITECTURE.md`\/`OWNERS`.\n3. Produce the **tech-context object**: `files_read`, `services`, `external_deps`, `key_modules`, `architecture_notes`, `ownership`, `expansion_truncated`.\n\n**Self-check**\n- Have: project title, problem statement, at least 1 concrete goal, owner (or \"TBD\"), services touched (or empty list with a reason).\n- Enough signal to draft candidate section cards in Step 2. If not, loop back and ask.\n\n---\n\n## Step 2 \u2014 Propose candidate sections  [Confirm]\n\n**Inputs required**\n- Tech-context object from Step 1.\n\n**Tools \/ refs loaded**\n- [`section-catalog.md`](references\/section-catalog.md).\n- `AskUserQuestion`.\n\n**Do**\n1. For each section in the catalog, decide if there is *real content* for it from Step 1. Skip catalog entries that would be empty or padding.\n2. For each qualifying candidate, produce a card:\n   - **Title** (catalog name)\n   - **1-line description** (what this section will contain, specific to the PRD)\n   - **Why suggested** (which PRD facts or tech-context items justify it)\n   - **Default block shape** (from the catalog)\n3. Print all cards to chat.\n4. Fire `AskUserQuestion` with a multiSelect question **per batch of \u22644 candidates** (max 4 questions per call, 4 options each \u2192 up to 16 candidates per call). Each option's label is the section title; description is the 1-line summary.\n\n**Checkpoint (AskUserQuestion)**\n- The multiSelect questions above. User ticks the sections they want. Store the selected set as `approved_sections`.\n- If zero sections selected \u2192 stop with a clean exit message. No file is created.\n\n---\n\n## Step 3 \u2014 Per-section deep research  [Research]\n\n**Inputs required**\n- `approved_sections` from Step 2; tech-context from Step 1.\n\n**Tools \/ refs loaded**\n- `Read`, `Grep`, `Glob` (optional).\n\n**Do**\n1. For each section in `approved_sections`, look up its catalog entry. The catalog declares what the section needs (e.g. Dependencies needs cross-team services + external deps + blockers).\n2. Compare what the section needs vs. what the tech-context has.\n3. Produce a **gap list per section**: specific facts the user must supply, framed as answerable questions (no \"figure it out yourself\" gaps).\n\n**Self-check**\n- Every `approved_sections` entry has either `ready` (no gaps) or a specific non-empty gap list.\n- Gaps are answerable \u2014 not vague prompts like \"tell me more about X.\"\n\n---\n\n## Step 4 \u2014 Per-section content + block proposal  [Confirm]\n\n**Inputs required**\n- Gap lists from Step 3.\n\n**Tools \/ refs loaded**\n- `AskUserQuestion`.\n- [`section-catalog.md`](references\/section-catalog.md).\n- Block reference(s) for the section's default shape (e.g. `blocks\/table.md` for Dependencies).\n\n**Do**, per section (one at a time, or small batch if trivial):\n1. Fill the gap list \u2014 free-text prompt for prose; `AskUserQuestion` for bounded choices.\n2. Propose:\n   - **Content**: the concrete bullets \/ rows \/ stickies that will appear.\n   - **Block shape**: the rendering block (body paragraph \/ table \/ multi-column \/ sticky column \/ \u2026). Default from `section-catalog.md`; offer alternative shapes where sensible (e.g. \"As a table, or as a multi-column layout?\").\n3. Show a short preview \u2014 section title + first line of body + block type summary.\n4. Fire `AskUserQuestion`: \"Use this content + shape? [Yes \/ Edit \/ Skip this section].\"\n5. Edit \u2192 accept free-text amendments, re-show, re-ask. Skip \u2192 mark the section as `skipped`; do not write it to the board.\n\n**Checkpoint**\n- Every section is `approved`, `edited+approved`, or `skipped`. No board writes yet.\n\n---\n\n## Step 5 \u2014 Create FigJam file  [Write]\n\n**Inputs required**\n- `approved_sections` (non-skipped); project title; `planKey` (Figma team plan).\n\n**Tools \/ refs loaded**\n- `create_new_file` MCP tool.\n- `whoami` MCP tool (for `planKey` if not known).\n- `use_figma` (once).\n- `figma-use` (already in context from Step 5 onward).\n- `figma-use-figjam` (re-loaded for the probe).\n- `AskUserQuestion`.\n\n**Do**\n1. Resolve `planKey`: call `whoami`. If one plan \u2192 use it. If multiple \u2192 `AskUserQuestion` which team.\n2. Call `create_new_file` with `{ planKey, fileName: \"<project title>\", editorType: \"figjam\" }`. Capture `file_key` + `file_url`.\n3. Run the first-run probe (`use_figma`):\n\n```js\nconst page = figma.currentPage;\nreturn {\n  rootName: figma.root.name,\n  editorType: figma.editorType,\n  pageCount: figma.root.children.length,\n  firstPageName: figma.root.children[0].name,\n  currentPageChildrenCount: page.children.length,\n};\n```\n\nExpect `editorType === \"figjam\"` and empty page. If not, halt and report.\n\n**Checkpoint (probe output + AskUserQuestion)**\n- Print probe return + `file_url`.\n- AskUserQuestion: \"File created at `<file_url>` \u2014 proceed to skeleton? [Yes \/ Cancel].\" Cancel = stop, leave empty file.\n\n---\n\n## Step 6 \u2014 Skeleton pass  [Write]\n\n**Inputs required**\n- `approved_sections` in taxonomy order; palette from `foundation\/palette.md`; layout constants from `foundation\/layout.md`.\n\n**Tools \/ refs loaded**\n- `use_figma` (one call).\n- Re-load `figma-use-figjam\/SKILL.md`.\n- Re-load `blocks\/section.md` and `blocks\/metadata-strip.md`.\n- [`foundation\/palette.md`](references\/foundation\/palette.md), [`foundation\/layout.md`](references\/foundation\/layout.md).\n\n**Do**\n1. Create metadata strip per `blocks\/metadata-strip.md` (H1 + 4 body texts at board `(0, 0)`\u2013`(0, ~100)`).\n2. For each approved section, create a top-level SECTION per `blocks\/section.md` \u2014 colored bg from ARCH_PALE, `section.name = \"\"` (no title-bar label \u2014 STRICT), `placeholder = true`, `resizeWithoutConstraints(LEFT_COL_W, DEFAULT_H)` for left-column sections or `resizeWithoutConstraints(RIGHT_COL_W_MIN, DEFAULT_H)` for right-column diagram sections.\n3. Position each left-column section at `(0, SECTION_TOP_Y + cumulative_y)`. Right-column sections at `(832, SECTION_TOP_Y + cumulative_y_right)`.\n4. Return all created node IDs: `{ createdNodeIds: { metadataStrip: {...}, sections: { <slug>: \"<id>\", ... } }, status: \"skeleton-complete\" }`. (The `slug` is internal, used to look up palette + drive Step 7 fills. It is never written to `section.name`.)\n5. Take an inline screenshot at `await figma.currentPage.screenshot({ scale: 0.3 })`.\n\n**Checkpoint (screenshot + AskUserQuestion)**\n- AskUserQuestion: \"Skeleton looks right? [Yes \/ Fix \/ Cancel].\" Fix = targeted fix script; Cancel = stop.\n\n---\n\n## Step 7 \u2014 Fill pass (one call per section)  [Write]\n\n**Inputs required**\n- Approved content + block shape for each section; section ID from Step 6.\n\n**Tools \/ refs loaded**\n- `use_figma` (one call per section).\n- Re-load `figma-use-figjam\/SKILL.md`.\n- Re-load whichever block refs this section uses:\n  - `blocks\/section.md` always.\n  - `blocks\/text-primitives.md` if body\/H3\/list.\n  - `blocks\/table.md` if table.\n  - `blocks\/multi-column-text.md` if multi-column.\n  - `blocks\/nested-section.md` if nested subsections.\n  - `blocks\/intro-callout.md` if highlighted intro.\n  - `blocks\/sticky-column.md` if stickies.\n\n**Do**, per section:\n1. `await figma.getNodeByIdAsync(sectionId)` \u2014 confirm type is SECTION.\n2. Build content: H2 header first, then children per approved block shape. Append to section FIRST, then set x\/y.\n3. Two-pass measure for stickies per `blocks\/sticky-column.md`.\n4. `section.resizeWithoutConstraints(LEFT_COL_W, computed_height)`.\n5. `section.placeholder = false`.\n6. `await section.screenshot()` inline.\n7. `return { mutatedNodeIds: [...], sectionHeight, screenshotIncluded: true }`.\n\n**Checkpoint (screenshot + AskUserQuestion)**\n- Per section: AskUserQuestion: \"Section `<name>` done? [Yes \/ Edit this section \/ Skip rest].\" Edit = targeted fix; Skip rest = exit fill loop (user will finalize manually).\n\n**After all left-column fills**: run the re-stack pass (single `use_figma`) to fix cumulative Y based on actual resized heights:\n\n```js\nlet y = SECTION_TOP_Y;\nfor (const id of leftColumnSectionIdsInOrder) {\n  const sec = await figma.getNodeByIdAsync(id);\n  sec.y = y;\n  sec.x = 0;\n  y += sec.height + 32;\n}\nreturn { mutatedNodeIds: leftColumnSectionIdsInOrder };\n```\n\n**Then run the outer-wrapper pass** (single `use_figma`) \u2014 wrap all left-column sections in an unlabeled white outer SECTION (see \"Outer column wrapper\" in the visual conventions block above). This is STRICT; do not skip.\n\n---\n\n## Step 8 \u2014 Diagrams  [Write]\n\n**Inputs required**\n- Diagram intents from Step 2\/4 (Current State, Target State, 0\u2013N Key Flows); tech-context for Mermaid composition.\n\n**Tools \/ refs loaded**\n- Re-load `generate-diagram\/SKILL.md` before each `generate_diagram` call.\n- Re-load `figma-use-figjam\/SKILL.md` + `blocks\/diagram-section.md` before each reparent `use_figma` call.\n- `generate_diagram` MCP tool, `use_figma`.\n\n**Do**, per diagram:\n1. `use_figma`: create the right-column section (white fill, H2 header, `placeholder = true`) per `blocks\/diagram-section.md`.\n2. `generate_diagram`: compose Mermaid from tech-context; architecture diagrams use `useArchitectureLayoutCode: \"FIGMA_DIAGRAM_2026\"`.\n3. `use_figma`: locate the generated diagram node, reparent into the section (`section.appendChild(diag)`), position below H2, resize section to fit. `placeholder = false`.\n4. `await section.screenshot()`.\n\n**Failure handling**: if `generate_diagram` fails, leave a text placeholder in the section reading `\"Diagram generation failed: <message>. Regenerate manually.\"` Continue to the next diagram.\n\n**Checkpoint (screenshot + AskUserQuestion)**\n- Per diagram: AskUserQuestion: \"Diagram `<name>` looks right? [Yes \/ Regenerate \/ Skip].\"\n\n---\n\n## Step 9 \u2014 Final review + report  [Write, then Read]\n\n**Inputs required**\n- `file_url` from Step 5.\n\n**Tools \/ refs loaded**\n- `use_figma` (one call for full-page screenshot).\n\n**Do**\n1. `await figma.currentPage.screenshot({ scale: 0.25 })` \u2014 full board.\n2. Inspect: two-column structure, no overlaps, no sections left with `placeholder = true`, metadata strip visible.\n3. Fix any issues with a targeted `use_figma` script. Do **not** regenerate from scratch.\n4. Post to chat:\n\n```\n\u2705 Project plan written to FigJam.\nFile: <file_url>\nSections: <N text + N diagram>\nFiles referenced during grounding: <count>\n```\n\n**Checkpoint (screenshot + AskUserQuestion)**\n- AskUserQuestion: \"Done, or tweak? [Done \/ Tweak].\" Tweak = targeted fix script on user's request, not regeneration.\n\n---\n\n## Operational rules\n\n- \u226410 logical operations per `use_figma` call.\n- Always return `createdNodeIds` \/ `mutatedNodeIds` from every write script.\n- Use `hex\/255` notation for all palette colors (see `foundation\/palette.md`).\n- **STRICT: section backgrounds use the `ARCH_PALE` palette, NOT the FigJam standard SECTION palette.** ARCH_PALE colors (`#EBFFEE`, `#F8F5FF`, `#F5FBFF`, `#FFF7F0`, etc.) visually pair with the architecture-diagram subgraph wrappers that `generate_diagram` produces. The FigJam SECTION palette (`#CDF4D3`, `#C2E5FF`, `#DCCCFF`, `#FFE0C2`) is too saturated and causes visible color clash next to diagrams. See `foundation\/palette.md`.\n- **STRICT: `section.name = \"\"` on every project-plan section (left-column, right-column, and nested children).** The user-facing title is rendered as the H2 text node *inside* the section, NOT via FigJam's section title-bar label. The reference board uses empty section names; setting a non-empty `name` produces a duplicate label that visually clutters the board.\n- Read, edit, or cancel at every Confirm\/Write checkpoint \u2014 never write past an unanswered AskUserQuestion.\n- If a `use_figma` script errors: atomic \u2014 no changes made. Read the error, fix, retry.\n\n## Trigger phrases\n\n\"\/generate-project-plan\", \"interactive project plan\", \"project plan\", \"make a FigJam project plan\", \"PRD to FigJam\".\n","use_cases":["When a user requests a 'project plan in FigJam' or provides a PRD and wants per-section confirmation on content + rendering.","When you need to generate a FigJam board with structured sections, diagrams, and styling based on a PRD and codebase context."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/figma\/mcp-server-guide\/blob\/5f3024c3decd83ff6f0bfb3ef36a2c4cfbff961d\/workflow-skills\/generate-project-plan\/SKILL.md","source_commit":"5f3024c3decd83ff6f0bfb3ef36a2c4cfbff961d","license":null,"version":null,"listing_approved_at":"2026-11-22","created_at":"2026-11-21T12:12:00.000000Z","updated_at":"2026-11-22T11:17:33.000000Z","seo_title":"Generate Project Plan in FigJam","seo_description":"Create an interactive project plan board from a PRD and codebase context with precise styling and layout.","seo_keywords":["generate project plan in figjam","interactive project plan board","figjam project plan from prd","software development project plan","figjam board generation"]}}