pmai-mirror-site

Compares web prototypes against reference sites page-by-page to derive alignment checks and diff reports.

4|Updated May 26, 2026
One-click install
npx skills add https://github.com/YYG501/PM-AI-Harness --skill pmai-mirror-site-yyg501
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pmai-mirror-site
Source: https://github.com/YYG501/PM-AI-Harness/tree/main/skills/mirror-site
Command: npx skills add https://github.com/YYG501/PM-AI-Harness --skill pmai-mirror-site-yyg501

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When building or aligning a web prototype against a reference site or a live production product, teams lack a structured way to verify that every page, modal, button state, and text matches the reference. This Skill walks the reference site page by page, derives machine-checkable specs, and produces prioritized P0/P1/P2 diff reports that feed back into the design and build workflow. ## Core Features & Use Cases - Two alignment modes: rebuild mode reconstructs approximate pages from an external reference site, while align mode aligns existing local pages to your own live production product. - Automated checks derivation: crawls the reference site with browser tooling (including login-state cookie capture) and derives a checks-spec covering text, buttons, disabled states, and state coverage per page and modal. - Structured diff reports: runs checks-diff to generate P0/P1/P2 reports and patch todo lists, keeping code changes inside the design-to-build chain rather than editing code directly. - Use Case: A PM wants to rebuild a competitor's onboarding flow as a prototype. The Skill crawls each page and modal of the target site, derives checks, gets PM approval on scope, then hands the confirmed checks to design and build for implementation and verification. ## Quick Start Ask the AI to mirror the reference site at a given URL and align the local web prototype pages against it, confirming the page scope before any build changes.

Frequently Asked Questions about pmai-mirror-site

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I align a web prototype with a live production site?

Provide the live URL and corresponding local routes, then the Skill crawls the reference pages and modals, derives a checks-spec, and runs a diff engine to produce P0/P1/P2 reports. Code changes are executed through the build workflow after you approve the alignment scope.

How to rebuild pages from an external reference website?

Use rebuild mode with the external site's URL. The Skill walks every page, tab, and modal, captures text, buttons, and states, derives checks, and optionally scrapes real content for mock data. Implementation follows your project's declared stack and design system, not the reference site's code.

Does site mirroring copy the reference site's source code?

No. It is not a lossless copy. Screenshots and structure serve only as reference evidence, and all implementation uses your own technology stack, existing components, and declared design system. Cross-stack rebuilds produce approximate implementations.

Can I crawl pages that require login?

Yes. The Skill can export real browser cookies through a setup step so subsequent browsing carries login state. This may trigger a macOS Keychain prompt and manual domain selection, so it is used only when necessary.

What are the limitations of automated site alignment?

The diff engine only checks structure, text, and button states; visual details and behavior are verified through separate acceptance checks. The planning phase never modifies business code, and all changes require PM approval before build execution.