Skill library

Agent skill UI design

Reconcile Paper Sync

Shape a web interface around a coherent visual direction.

  • UI design
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add millionco/skills --skill reconcile-paper-sync --agent claude-code --yes

Check this file in your project.claude/skills/reconcile-paper-sync/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add millionco/skills --skill reconcile-paper-sync

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring a local Paper sync snapshot and target preview. When a snapshot is unavailable, supply an approved Paper reference and flag exact values that cannot be recovered.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Skill name
reconcile-paper-sync
Scenario
Reconcile one synced card with its Paper frame
Deliverable
A scoped patch for confirmed drift, paired screenshots and a record of design-version differences.
Skill name
reconcile-paper-sync

Give the request a concrete task

A request with an unclear outcome

Fix everything that looks different from my old screenshot.

An older screenshot may show different content, a different width or a font that had yet to load.

A workflow with observable results

  1. Locate the exact Paper frame
  2. Compare the two renders at the same width
  3. Repair confirmed conversion differences

Reconcile Paper Sync operation manual

Compare a synced implementation with its canonical Paper evidence and repair confirmed conversion drift.

Replace the bracketed details with your own project and target.

  1. Locate the exact Paper frame

    Identify the canonical file, matching preview frame and source assets.

    Prompt · Step 1
    Use reconcile-paper-sync for [local source route] and [Paper file ID or approved reference]. Check the project's `.paper-sync/<fileId>/.canonical/*.tsx`, its `paper.css` and synced fonts. Locate the matching frame in the approved Paper preview or an authorized screenshot, recording the exact hash if the preview uses `?preview#<FRAME>`. Record which source establishes numeric values and which visual reference is current. Report missing evidence.
  2. Compare the two renders at the same width

    Match the frame size and inspect loaded fonts, line breaks and layer order.

    Prompt · Step 2
    Use reconcile-paper-sync to compare [canonical preview or approved Paper screenshot] with [local implementation] at the same frame width, viewport height and capture scale. Wait for fonts and check their actual loaded faces. List concrete differences in text measure, spacing, decoration and layer order, with the canonical styles or live screenshot supporting each. Flag possible content-version changes separately in the report.
  3. Repair confirmed conversion differences

    Patch proven drift and repeat the paired capture.

    • Both captures use the same width, height and scale.
    • Every source edit matches a documented conversion difference.
    Prompt · Step 3
    Use reconcile-paper-sync to fix [confirmed conversion differences] in [target route]. Keep version differences pending until I confirm the desired design. Use canonical measurements and authorized existing fonts or assets. Recapture both renders using the same settings and list corrected differences, remaining questions, and paths to the evidence and changed code.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

Canonical values and visible preview differReference
Command or reference
SKILL.md · 1. Find the paper-sync canonical
Examples
Use the canonical TSX for exact numbers and confirm visible version differences against the corresponding Paper frame.
Text wraps differently after syncReference
Command or reference
SKILL.md · 4. Screenshot-diff the running app against the frame
Examples
Check the loaded font face, assigned width, and line height at the matching viewport.

Reconcile Paper Sync troubleshooting

Must the project already have a `.paper-sync` directory?

An approved Paper screenshot can support a visual comparison. Record unavailable exact geometry and ask for the canonical snapshot when precision matters.