[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CRCVH7T3M13097S2F5S65N":3,"skill-same:01M6CRCVH7T3M13097S2F5S65N":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6CRCVH7T3M13097S2F5S65N","hp-review",null,"Run 3-stage code review (SEO + quality + visual fidelity) on generated homepage code.","ohmyhotelco\u002Fhare-cc-plugins","ohmyhotelco","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258133233?v=4","01M6CR4HP2N9F9ZWNX1KRHQ2W1","01M6CR4HSJC5J80RVQMD5K9QRN",2,"MIT","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fhomepage-plugin\u002Fskills\u002Fhp-review\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"review","hp review","visual fidelity","code review","true","name","stage","visual","generated","edit","write","read","grep","quality","page","Bash","seo","code","run","workflow","2026-11-10 10:12:30",false,"---\nname: hp-review\ndescription: \"Run 3-stage code review (SEO + quality + visual fidelity) on generated homepage code.\"\nargument-hint: \"[page-name]\"\nuser-invocable: true\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash, Workflow\n---\n\n# Code Review Skill (3-Stage)\n\nThe `homepage-plugin:hp-review-run` workflow runs the reviewers in stages (SEO, then quality when SEO passes, then visual fidelity when both pass) and computes every score, verdict and page status. This skill owns what surrounds it: preconditions, locks, the report file, the progress file and the summary.\n\nConventions: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fhp-shared\u002FSKILL.md`.\n\n## Instructions\n\n### Step 0: Read Configuration\n\nRead `.claude\u002Fhomepage-plugin.json`. If not found, exit with instruction to run `\u002Fhomepage-plugin:hp-init`.\n\nRead `defaultLocale` — all user-facing output in this language.\n\nCheck if `docs\u002Fdesign-system\u002Fcomponent-map.json` exists. If it does, read it and check if any section has a non-empty `sectionNodeId` field OR a non-empty `screenshotRef` field that points to an existing file under `docs\u002Fdesign-system\u002F`. Set `hasVisualRefs = true` if at least one valid reference exists.\n\nAlso read `.claude\u002Fhomepage-plugin.json` for `figmaFileKey`. Read the Figma MCP tool prefix by checking which tools are available (`mcp__figma__*`, `mcp__figma_desktop__*`, or `mcp__Figma__*`). These are needed for the visual fidelity reviewer to fetch Figma designs directly.\n\n### Step 1: Validate Prerequisites\n\nIf `[page-name]` provided:\n- Check `docs\u002Fpages\u002F{page-name}\u002Fpage-plan.json` exists\n- Check `docs\u002Fpages\u002F{page-name}\u002F.progress\u002F{page-name}.json` exists\n\nCheck progress status:\n- Accept: `generated`, `verified`, `verify-failed`, `reviewed`, `review-failed`, `fixing`, `escalated`, `done`\n- Reject: `planned` (no code yet)\n- Warn on demotion from `done` → `reviewed`\n\nIf no argument: review all pages with generated code, each one on its own.\n\n### Step 2: Acquire Lock\n\nSame lock protocol as hp-gen Step 3 (JSON format with `lockedBy`, `lockedAt`, `pageName`; 30-min stale threshold). Take it for every page in the run.\n\nLock file path: `docs\u002Fpages\u002F{page-name}\u002F.implementation\u002Fhomepage\u002F.lock`\n- Write with `lockedBy: \"hp-review\"`\n- Stale lock (>= 30 min) → auto-remove and proceed\n- Active lock → release any lock this run took and exit with \"Another homepage-plugin operation is in progress\"\n\n### Step 3: Decide on the Visual Stage\n\nA workflow cannot ask a question mid-run, so settle this before starting it.\n\nIf `hasVisualRefs` is false, the visual stage does not run.\n\nOtherwise verify Playwright is available:\n\n```bash\ncd {projectRoot} && node -e \"require('playwright')\" 2>\u002Fdev\u002Fnull\n```\n\nIf the check **fails** (exit code !== 0), Playwright is not installed. Display a message to the user and wait for the answer:\n\n> **Playwright is not installed.**\n> Visual Fidelity Review captures rendered screenshots with Playwright and compares them against Figma designs.\n>\n> To install:\n> ```\n> pnpm add -D playwright\n> npx playwright install chromium\n> ```\n>\n> 1. **Install and continue** — installs Playwright, then runs the review with Visual Fidelity Review\n> 2. **Skip this time** — runs the review without Visual Fidelity Review\n\n- If the user chooses **Install and continue**: run `pnpm add -D playwright && npx playwright install chromium` in `{projectRoot}`. If installation fails, display the error and skip the visual stage.\n- If the user chooses **Skip this time**: skip the visual stage.\n\n### Step 4: Run the Workflow\n\nCall the `Workflow` tool with `name: \"homepage-plugin:hp-review-run\"` and `args`:\n\n- `projectRoot` — project root\n- `pages` — `[{ pageName, planFile }]`, one entry per page, where `planFile` is the path to its `page-plan.json`\n- `visual` — `null` when the visual stage does not run, otherwise `{ componentMapFile, fileKey, mcpToolPrefix }`: `componentMapFile` is `docs\u002Fdesign-system\u002Fcomponent-map.json`, `fileKey` is the Figma file key from the config, and `mcpToolPrefix` is the prefix found in Step 0\n\nTell the user which pages are being reviewed. The result arrives as a task notification; continue at Step 5 when it does. If the call is refused or fails, release the locks and report it.\n\n### Step 5: Save Results\n\nFor each entry in the result's `pages`:\n\n- `status: \"incomplete\"` — the reviewer named in `missing` returned nothing. Save no report and leave the progress file unchanged; the review is run again rather than judged on fewer reviewers.\n- Any other status — write `report` with a `timestamp` added to `docs\u002Fpages\u002F{page-name}\u002F.implementation\u002Fhomepage\u002Freview-report.json`, then update `docs\u002Fpages\u002F{page-name}\u002F.progress\u002F{page-name}.json`:\n\n```json\n{\n  \"implementation\": {\n    \"status\": \"reviewed\",\n    \"review\": {\n      \"seoScore\": 8.5,\n      \"qualityScore\": 8.0,\n      \"visualFidelityScore\": 7.5,\n      \"verdict\": \"pass_with_warnings\",\n      \"reviewedAt\": \"2026-03-23T...\"\n    }\n  }\n}\n```\n\n`status` is the entry's `status`, the scores are `report.seo.score`, `report.quality.score` and `report.visualFidelity.score`, and `verdict` is `report.overall.verdict`. Omit `visualFidelityScore` when the report has no `visualFidelity`.\n\nRelease the lock of every page in the run, whatever the result.\n\n### Step 6: Display Results\n\nShow an integrated review summary per page:\n\n```\nReview Results:\n  SEO Review:        8.5\u002F10 (pass)\n  Quality Review:    8.0\u002F10 (pass with warnings)\n  Visual Fidelity:   7.5\u002F10 (pass with warnings) [4\u002F5 sections compared]\n\n  Issues: 0 critical, 7 warnings, 3 info\n\n  Top warnings:\n    1. [responsive] Touch target too small — Header.astro:28\n    2. [i18n] Hardcoded string found — ContactSection.astro:15\n    3. [visual_fidelity] Hero background color differs from Figma — HeroSection.astro\n    ...\n\nNext step: Run \u002Fhomepage-plugin:hp-fix to address warnings.\n```\n\nThe Visual Fidelity line only appears when that stage ran. Show `[N\u002FM sections compared]` from `coverage`, and show the entry's `note` when it has one.\n\nOr if failed:\n```\nReview Results:\n  SEO Review:     5.5\u002F10 (fail)\n    Critical: Missing \u003Ctitle> on 3 pages\n    ...\n\nNext step: Run \u002Fhomepage-plugin:hp-fix to fix critical issues.\n```\n\nThe next step depends on the status: `done` says the page is complete, and `incomplete` says to run `\u002Fhomepage-plugin:hp-review` again.\n\n## Communication Language\n\nRead `defaultLocale` from `.claude\u002Fhomepage-plugin.json` for all user-facing output.\n","# Code Review Skill (3-Stage)\n\nThe `homepage-plugin:hp-review-run` workflow runs the reviewers in stages (SEO, then quality when SEO passes, then visual fidelity when both pass) and computes every score, verdict and page status. This skill owns what surrounds it: preconditions, locks, the report file, the progress file and the summary.\n\nConventions: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fhp-shared\u002FSKILL.md`.\n\n## Instructions\n\n### Step 0: Read Configuration\n\nRead `.claude\u002Fhomepage-plugin.json`. If not found, exit with instruction to run `\u002Fhomepage-plugin:hp-init`.\n\nRead `defaultLocale` — all user-facing output in this language.\n\nCheck if `docs\u002Fdesign-system\u002Fcomponent-map.json` exists. If it does, read it and check if any section has a non-empty `sectionNodeId` field OR a non-empty `screenshotRef` field that points to an existing file under `docs\u002Fdesign-system\u002F`. Set `hasVisualRefs = true` if at least one valid reference exists.\n\nAlso read `.claude\u002Fhomepage-plugin.json` for `figmaFileKey`. Read the Figma MCP tool prefix by checking which tools are available (`mcp__figma__*`, `mcp__figma_desktop__*`, or `mcp__Figma__*`). These are needed for the visual fidelity reviewer to fetch Figma designs directly.\n\n### Step 1: Validate Prerequisites\n\nIf `[page-name]` provided:\n- Check `docs\u002Fpages\u002F{page-name}\u002Fpage-plan.json` exists\n- Check `docs\u002Fpages\u002F{page-name}\u002F.progress\u002F{page-name}.json` exists\n\nCheck progress status:\n- Accept: `generated`, `verified`, `verify-failed`, `reviewed`, `review-failed`, `fixing`, `escalated`, `done`\n- Reject: `planned` (no code yet)\n- Warn on demotion from `done` → `reviewed`\n\nIf no argument: review all pages with generated code, each one on its own.\n\n### Step 2: Acquire Lock\n\nSame lock protocol as hp-gen Step 3 (JSON format with `lockedBy`, `lockedAt`, `pageName`; 30-min stale threshold). Take it for every page in the run.\n\nLock file path: `docs\u002Fpages\u002F{page-name}\u002F.implementation\u002Fhomepage\u002F.lock`\n- Write with `lockedBy: \"hp-review\"`\n- Stale lock (>= 30 min) → auto-remove and proceed\n- Active lock → release any lock this run took and exit with \"Another homepage-plugin operation is in progress\"\n\n### Step 3: Decide on the Visual Stage\n\nA workflow cannot ask a question mid-run, so settle this before starting it.\n\nIf `hasVisualRefs` is false, the visual stage does not run.\n\nOtherwise verify Playwright is available:\n\n```bash\ncd {projectRoot} && node -e \"require('playwright')\" 2>\u002Fdev\u002Fnull\n```\n\nIf the check **fails** (exit code !== 0), Playwright is not installed. Display a message to the user and wait for the answer:\n\n> **Playwright is not installed.**\n> Visual Fidelity Review captures rendered screenshots with Playwright and compares them against Figma designs.\n>\n> To install:\n> ```\n> pnpm add -D playwright\n> npx playwright install chromium\n> ```\n>\n> 1. **Install and continue** — installs Playwright, then runs the review with Visual Fidelity Review\n> 2. **Skip this time** — runs the review without Visual Fidelity Review\n\n- If the user chooses **Install and continue**: run `pnpm add -D playwright && npx playwright install chromium` in `{projectRoot}`. If installation fails, display the error and skip the visual stage.\n- If the user chooses **Skip this time**: skip the visual stage.\n\n### Step 4: Run the Workflow\n\nCall the `Workflow` tool with `name: \"homepage-plugin:hp-review-run\"` and `args`:\n\n- `projectRoot` — project root\n- `pages` — `[{ pageName, planFile }]`, one entry per page, where `planFile` is the path to its `page-plan.json`\n- `visual` — `null` when the visual stage does not run, otherwise `{ componentMapFile, fileKey, mcpToolPrefix }`: `componentMapFile` is `docs\u002Fdesign-system\u002Fcomponent-map.json`, `fileKey` is the Figma file key from the config, and `mcpToolPrefix` is the prefix found in Step 0\n\nTell the user which pages are being reviewed. The result arrives as a task notification; continue at Step 5 when it does. If the call is refused or fails, release the locks and report it.\n\n### Step 5: Save Results\n\nFor each entry in the result's `pages`:\n\n- `status: \"incomplete\"` — the reviewer named in `missing` returned nothing. Save no report and leave the progress file unchanged; the review is run again rather than judged on fewer reviewers.\n- Any other status — write `report` with a `timestamp` added to `docs\u002Fpages\u002F{page-name}\u002F.implementation\u002Fhomepage\u002Freview-report.json`, then update `docs\u002Fpages\u002F{page-name}\u002F.progress\u002F{page-name}.json`:\n\n```json\n{\n  \"implementation\": {\n    \"status\": \"reviewed\",\n    \"review\": {\n      \"seoScore\": 8.5,\n      \"qualityScore\": 8.0,\n      \"visualFidelityScore\": 7.5,\n      \"verdict\": \"pass_with_warnings\",\n      \"reviewedAt\": \"2026-03-23T...\"\n    }\n  }\n}\n```\n\n`status` is the entry's `status`, the scores are `report.seo.score`, `report.quality.score` and `report.visualFidelity.score`, and `verdict` is `report.overall.verdict`. Omit `visualFidelityScore` when the report has no `visualFidelity`.\n\nRelease the lock of every page in the run, whatever the result.\n\n### Step 6: Display Results\n\nShow an integrated review summary per page:\n\n```\nReview Results:\n  SEO Review:        8.5\u002F10 (pass)\n  Quality Review:    8.0\u002F10 (pass with warnings)\n  Visual Fidelity:   7.5\u002F10 (pass with warnings) [4\u002F5 sections compared]\n\n  Issues: 0 critical, 7 warnings, 3 info\n\n  Top warnings:\n    1. [responsive] Touch target too small — Header.astro:28\n    2. [i18n] Hardcoded string found — ContactSection.astro:15\n    3. [visual_fidelity] Hero background color differs from Figma — HeroSection.astro\n    ...\n\nNext step: Run \u002Fhomepage-plugin:hp-fix to address warnings.\n```\n\nThe Visual Fidelity line only appears when that stage ran. Show `[N\u002FM sections compared]` from `coverage`, and show the entry's `note` when it has one.\n\nOr if failed:\n```\nReview Results:\n  SEO Review:     5.5\u002F10 (fail)\n    Critical: Missing \u003Ctitle> on 3 pages\n    ...\n\nNext step: Run \u002Fhomepage-plugin:hp-fix to fix critical issues.\n```\n\nThe next step depends on the status: `done` says the page is complete, and `incomplete` says to run `\u002Fhomepage-plugin:hp-review` again.\n\n## Communication Language\n\nRead `defaultLocale` from `.claude\u002Fhomepage-plugin.json` for all user-facing output.\n",{"name":5,"description":7,"allowed-tools":43,"argument-hint":44,"user-invocable":45},"Read, Write, Edit, Glob, Grep, Bash, Workflow","[page-name]",true,"main","64e41a7f9c83f3469e662235cfcba152764ceb92","homepage-plugin\u002Fskills\u002Fhp-review",0,"https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins","https:\u002F\u002Fgithub.com\u002Fohmyhotelco","2026-11-13 16:34:32",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":45},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ohmyhotelco\u002Fhare-cc-plugins --skill hp-review",{"tool":59,"command":60},"bunx","bunx skills add ohmyhotelco\u002Fhare-cc-plugins --skill hp-review",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ohmyhotelco\u002Fhare-cc-plugins --skill hp-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fhomepage-plugin\u002Fskills\u002Fhp-review\u002FSKILL.md",[],[67,91,109,127,144,163],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":38},"01M6M5QVXQNQMJBP1JZP9T440T","hp-shared","Shared conventions for every homepage-plugin agent and skill — stack, code conventions, state-file writes, check commands and how to report them. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fhomepage-plugin\u002Fskills\u002Fhp-shared\u002FSKILL.md",[],[74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,35,89,90],"shared","hp shared","state","stack","plugin","how","for","report","code conventions","commands","how to","conventions","false","frontmatter","file","hand","check",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":38},"01M6M5PZTN1M0G4AHJV08VF1HV","fe-shared","Shared conventions for every frontend-react-plugin agent and skill — code conventions, state files and locks, accepted deviations, design principles, build working directory, router-mode command matrix, TypeScript check. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Ffrontend-react-plugin\u002Fskills\u002Ffe-shared\u002FSKILL.md",[],[74,98,80,99,82,100,101,102,103,86,35,89,104,90,105,76,78,106,107,108],"fe shared","mode","frontend","design","design principles","files","react","router","principles","command","build",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":38},"01M6M5GAW7ZZ3580DVCMH51SFQ","be-spring-shared","Shared conventions for every backend-springboot-plugin agent and skill — tech stack, CQRS architecture, naming, coding standards, TDD, commit and build rules, state files. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fbackend-springboot-plugin\u002Fskills\u002Fbe-spring-shared\u002FSKILL.md",[],[74,116,117,103,86,118,119,89,77,120,87,121,122,123,80,124,125,76,78,126],"spring","be spring shared","commit","architecture","coding standards","coding","standards","tech","Rules","cqrs","naming",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":38},"01M6FNV58QMW8K71SA9FGTXMF4","pp-translate","Use after directly editing the working language spec to sync changes to other supported languages.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fplanning-plugin\u002Fskills\u002Fpp-translate\u002FSKILL.md",[],[134,135,136,137,23,138,29,139,28,27,140,141,88,142,22,143],"pp","pp translate","translate","feature","editing","spec","sync","use","language","changes",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":38},"01M6FNV0PGRKR2MW0AEPS6XP0Q","pp-sync-stitch","Use when wireframes were manually edited on the Stitch website and need to be re-fetched to the local project.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fplanning-plugin\u002Fskills\u002Fpp-sync-stitch\u002FSKILL.md",[],[151,134,152,140,153,154,137,155,156,157,158,141,33,159,160,161,162,23,29,22],"pp sync stitch","stitch","projects","get","project","re","local","MCP","id","wireframes","website","screen",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":38},"01M6FNTWW2KHS9XRAR72X33G0B","pp-sync-notion","Use when a specification needs to be published or re-synced to Notion after finalization or manual edits.","https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Fplanning-plugin\u002Fskills\u002Fpp-sync-notion\u002FSKILL.md",[],[134,170,140,171,137,156,172,173,158,141,174,23,29,28,27,30,22],"notion","pp sync notion","search","manual","specification"]