Skip to content

unic-spec-review S6: Figma + live sources — Dev Mode MCP designs/annotations and Playwright MCP, fail loud if absent #209

@orioltf

Description

@orioltf

Parent

Epic: #200 — unic-spec-review plugin.

What to build

Add the two non-Confluence input sources so the Spec-versus-Design and Spec-versus-Live dimensions have real material to compare against.

  • Figma (Dev Mode MCP): read designs and their annotations for Figma page/frame links the classifier identified, and feed them to the Spec-versus-Design dimension.
  • Live system (Playwright MCP): inspect the live production system for live URLs, and feed observations to the Spec-versus-Live dimension.

Both MCPs are discovered at runtime. If a required MCP is absent for a source that the pasted links demand, the run fails loudly for that source with explicit guidance — it never silently skips the source. (This complements the up-front /spec-doctor check from S2.)

Read-only: Figma and the live system are inputs only; nothing is posted to either.

Acceptance criteria

  • Figma page/frame links are read via the Figma Dev Mode MCP (designs + annotations) and supplied to the Spec-versus-Design agent.
  • Live URLs are inspected via the Playwright MCP and observations supplied to the Spec-versus-Live agent.
  • If the Figma or Playwright MCP is absent when a pasted link requires it, the run fails loudly for that source with remediation guidance; it never silently degrades.
  • Figma and the live system are treated as read-only inputs; no writes to either.
  • Pure helpers introduced for shaping MCP inputs/outputs get node:test unit tests with injected deps; the MCP-driven gathering orchestrators and agent prompts are not unit-tested (exercised via manual runs).
  • PR adds CHANGELOG.md bullets under [Unreleased] and bumps the patch version; verify:changelog passes. No em dash in authored text (except the mandated CHANGELOG version header).

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    app:unic-spec-reviewArea: apps/claude-code/unic-spec-reviewfeatureNew capabilityready-for-agentFully specified, ready for an AFK agent

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions