/platty-mcp:platty-mcp-sdd-design-with-figmafrom platty-mcp
Aligns approved product documents (PRD, user stories) with Figma design evidence before generating system design. Produces a FigmaDesignAlignmentPacket and gates technical design.
Ships in platty-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Prerequisite: Read using-platty-mcp first. This stage starts only after a
separate user request for system design or technical design. A prior PRD request
does not authorize this stage. Read the selected approved SDD pair, resolve its
Figma target from the supplied Figma URL, current-session evidence handoff, or
validated figma_handoff.json, and internally create, reuse, or refresh the validated bundle through
platty-mcp-figma-design-sync before alignment.
This skill is a thin semantic alignment gate. It compares approved prd.md and
approved user_stories.md with current Figma evidence and the current Impact
Dossier, produces one FigmaDesignAlignmentPacket, and delegates technical
design to platty-mcp-sdd-design only when the gate allows it.
All reader-facing summaries are Korean. Preserve source identifiers, Figma node IDs, paths, statuses, revisions, and quoted copy exactly.
platty-mcp-figma-design-sync owns the revisioned Figma evidence bundle.platty-mcp-impact-analysis owns impact evidence and PRD §9.platty-mcp-sdd-spec owns canonical product revision and approval.platty-mcp-sdd-design owns canonical system_design.md and owns canonical tasks.md
after the exact design approval gate.Never write, modify, edit, or rewrite prd.md. Never write, modify, edit, or
rewrite user_stories.md. Record input hashes before and after every live run.
Never edit Figma, run local Platty CLI, mutate generated SOT, or write memory.
Never ask the user for a packet path, reportId, sourceRevision, integrity index,
or report-directory location. Accept a Figma URL. In the same session, reuse exact
fileKey, nodeId, reportId, and sourceRevision from the current-session
evidence handoff. In a new session, first use the validated sidecar
figma_handoff.json from the selected SPEC directory. Its canonical URL and source identity recover
the target automatically. Only when the handoff is absent and no current-session
evidence exists, ask the user for the node-specific Figma URL.
CONNECTED: the pair was produced with the same Figma evidence lineage.INDEPENDENT: the pair and Figma were authored separately.INDEPENDENT is first-class. This skill does not require the PRD to be generated from the same Figma or require shared lineage. It requires semantic alignment of the approved user result, direct design evidence, and current system evidence.
../using-platty-mcp/scripts/sdd-artifacts.mjs.prd.md, and approved
user_stories.md. Compute requestRevision, storiesRevision, and
productInputFingerprint with the existing helper.loadOptionalFigmaHandoff from
../using-platty-mcp/scripts/figma-handoff.mjs, passing the exact project,
spec, request revision, and stories revision. Use its canonicalUrl and
source identity as routing input. A corrupt/invalid, mismatched, or stale
sidecar is BLOCKED; stop instead of requesting a replacement URL or
silently switching to non-Figma design. When no sidecar exists, use the
explicit URL or current-session handoff; if neither exists, ask only for the
node-specific Figma URL and stop.platty-mcp-figma-design-sync, validate the refreshed bundle, and continue;STALE or BLOCKED.
Require matching fileKey/nodeId and current sourceRevision.Unapproved inputs are BLOCKED. A user may explicitly request a negative-test
draft alignment report, but no canonical design write follows from it.
CONNECTED or INDEPENDENT; lineage never substitutes for evidence.references/alignment-gate.md to every Figma state, annotation,
interaction, missing state, and product requirement exactly once.MATCHED, DESIGN_DETAIL, FIGMA_GAP, PRODUCT_CONFLICT, STALE, or
BLOCKED with the reference's precedence.PRODUCT_CONFLICT, build a
SpecRevisionFromFigmaConflictPacket, route it to platty-mcp-sdd-spec, and
stop. Do not create system_design.md. Do not create, write, or overwrite
tasks.md.FIGMA_GAP, decide whether the approved product already defines
the visible state. When it does, preserve it as a design evidence-resolution
item; when it does not, route the missing product result to spec revision.DESIGN_DETAIL. They are not product
conflicts.platty-mcp-sdd-design.
Once the product-conflict scan is clear, delegate the complete alignment
packet. The canonical owner uses accuracy-first evidence closure by default;
elapsed time or call count must not force unresolved alignment/source details
into ER-* rows. A time-boxed fast-draft is allowed only when the user
explicitly requests it.system_design.md. It creates
no tasks.md until explicit design approval of the exact designRevision.system_design.md to retain the exact Figma evidence
identity (canonicalUrl, fileKey, nodeId, reportId,
sourceRevision) and the alignment rows that support each Figma-sensitive
design decision. It must own one complete registry keyed by stable
FIGMA-SURFACE-* ids. Each row contains the canonical URL, every exact Figma
node used for that surface, expected sourceRevision, required live screenshot
and bounded design-context reads, and the drift/failure action. This is the
implementation-time Figma MCP preflight contract. The registry node union
must equal the node union in every mapping of the validated
figma_handoff.json; retain DESIGN_DETAIL, FIGMA_GAP, and
product-excluded/no-edit nodes even when they do not create an implementation
change.tasks.md to reference its FIGMA-SURFACE-* id plus its R/AC, US/scenario,
and design-decision links. Project the complete registry once near the top of
tasks.md, before the module execution plan, so a new-session implementer can
recover every canonicalUrl, exact Figma node, and expected sourceRevision
without scanning individual tasks. This top-level registry is the single execution preflight
and receipt location. Before any code edits, retrieve
current screenshot and bounded design context for every referenced node and
compare the refreshed sourceRevision with the expected sourceRevision. A task
may not replace surface identity with a screenshot description or packet path.system_design.md must project a complete FIGMA-SURFACE-* registry with
canonicalUrl, fileKey, every exact nodeId, reportId, sourceRevision,
live-read requirements, and drift action, followed by the reviewable alignment
rows consumed by technical decisions. tasks.md must project that registry once
near the top, before its module execution plan. Every UI or interaction task
references the applicable surface id and retains its R/AC, scenario, and
design-decision links. Non-visual backend tasks retain product/design links only
when the same change directly constrains them. The design and task registries
must each contain every mapped node from the validated sibling
figma_handoff.json; dispositions may become no-edit boundaries, but nodes may
not disappear.
The preflight is an execution gate, not a reminder. Authentication or Figma read
failure, a missing node, an identity mismatch, unavailable screenshot or design
context, or source drift must stop and block code edits. Refresh the evidence
through platty-mcp-figma-design-sync, rerun alignment, produce a new design
revision, and require design approval again. Never patch only tasks.md to
accept changed Figma or implement from stale captures.
The required chain is:
Figma node -> R/AC -> US/scenario -> design decision -> task
Missing Figma identity or a complete surface registry in system_design.md, a
missing top-level registry/preflight in tasks.md, or a Figma-sensitive task
without a valid surface reference is NEEDS_WORK and cannot be declared
implementation-ready.
FigmaDesignAlignmentPacket
- pairMode: CONNECTED | INDEPENDENT
- projectId
- productInput
- prdPath
- storiesPath
- requestRevision
- storiesRevision
- productInputFingerprint
- approvalStatus
- figmaEvidence
- handoffOrigin: explicit-url | current-session | figma_handoff.json
- packetPath
- canonicalUrl
- reportId
- sourceRevision
- fileKey
- nodeId
- integrityStatus
- coverageStatus
- impactDossier
- impactRevision
- impactStatus
- sourceParity
- blockingCoverageLimits
- alignmentRows
- alignmentId
- figmaNodeIds
- productIds
- storyScenarioIds
- disposition
- evidenceClass
- rationale
- nextOwner
- traceRows: Figma node -> R/AC -> US/scenario -> design decision -> task
- specRevisionPacket
- designEvidenceResolutionItems
- inputHashes
- delegationTarget: platty-mcp-sdd-design
Every direct semantic candidate and approved product requirement must have one
disposition. Missing identity, duplicate disposition, inferred product promise,
or ownerless conflict is BLOCKED.
Stop when the selected product pair is unapproved; when an existing
figma_handoff.json is corrupt/invalid, project/spec mismatched, or stale; when
no sidecar, current-session evidence, or node-specific Figma URL is available;
when Figma evidence cannot be refreshed to current complete coverage; when a
product conflict requires spec revision; or when the canonical design owner
rejects the alignment packet. Never downgrade a failed Figma route to generic
technical design.
Record the product ids, story/scenario ids, direct Figma nodes and copy, current approved meaning, conflicting meaning, evidence boundary, visible trade-off, and recommended product review. This packet authorizes no edit. The spec owner must revise both product files, reset approval, refresh impact, and return a new exact revision before design resumes.
Alignment completes only when inputs and evidence are current, every row has one
disposition and owner, product conflicts are absent, product hashes are
unchanged, the canonical design and tasks preserve the required Figma trace, and
the existing design owner accepts the exact packet. Technical design completion
and task readiness remain owned by platty-mcp-sdd-design.
Read references/alignment-gate.md before comparing. Read
references/pressure-scenarios.md when modifying or evaluating this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub paradigmshift-labs/platty --plugin platty-mcp24 skills in this plugin
/heroines-low-fi-wireframesUse when turning a Heroines FSD or confirmed screen behavior into a low fidelity wireframe, reviewing its visual hierarchy, or adding interactions to that wireframe./ba-interviewOrchestrate a BA interview through JTBD, PRD, user experience, storyboard and Notion delivery, screen behavior, and verified wireframes. Use to start or resume an interview; it routes to exactly one current stage./design-pack-editChange what the Heroines design knowledge pack contains — tokens, components, screen roles, recipe rules, principles, usability checks, reference screens — through the upstream seeds that produce it, then build and verify a new pack version. Use when a designer wants to fix, add, or remove something in the design system./design-pack-reviewRender the Heroines design knowledge pack — tokens, components, screen roles, recipe rules, principles, reference screens — as one HTML page a designer can open and judge. Use when someone asks to see, review, or check what the design system currently contains./wireframeAuthor and verify Heroines design-system wireframes from confirmed screen behavior using the design pipeline harness, then export the completed wireframe to a new Figma file. Use only while the session stage is design_system_wireframe./jtbdInterview the planner for the customer's job-to-be-done and the experiences that job requires, before any PRD exists. Use only while the session stage is jtbd.Other plugins' skills for the same job