[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CRAXJ67RH5MJ90MXWFNNTG":3,"skill-same:01M6CRAXJ67RH5MJ90MXWFNNTG":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},"01M6CRAXJ67RH5MJ90MXWFNNTG","fo-spec-sync",null,"Import a planning-spec attachment (Jira zip or extracted folder) into specs\u002F\u003Cscreen>\u002F as an immutable snapshot, update specs\u002FMANIFEST.md (ticket, version, status, sha256, content hash, date), and report which screens now have a plan older than their spec. Use when the planning team delivers a new or updated spec.","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\u002Ffrontend-ohmyhotel-plugin\u002Fskills\u002Ffo-spec-sync\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"sync","fo spec sync","spec","plan","version","use","snapshot","edit","write","read","grep","status","Bash","team","immutable","manifest","report","planning","update","jira","2026-11-10 10:12:30",false,"---\nname: fo-spec-sync\ndescription: Import a planning-spec attachment (Jira zip or extracted folder) into specs\u002F\u003Cscreen>\u002F as an immutable snapshot, update specs\u002FMANIFEST.md (ticket, version, status, sha256, content hash, date), and report which screens now have a plan older than their spec. Use when the planning team delivers a new or updated spec.\nargument-hint: \"\u003Cscreen> \u003Czip-or-dir> --ticket \u003COMH-nnn> [--app \u003Cname>] [--extra \u003Cpath>]... [--note \\\"...\\\"]\"\nuser-invocable: true\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash\n---\n\n# fo-spec-sync — bring a spec snapshot into the repo\n\nThe planning team's attachments are the functional source of truth for a screen. This command places\none of them under `specs\u002F\u003Cscreen>\u002F` exactly as delivered, records it in the ledger, and tells you which\nplans are now stale. It never edits a spec and never merges two versions — a new version replaces the\nfolder, and git history keeps the old one.\n\nConventions: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Ffo-shared\u002FSKILL.md`.\n\n## Step 1 — Arguments and preconditions\n\n- `\u003Cscreen>` — the screen id used across the repo (`01-main-page`, `02a-admin-hotel-recommendation`, …);\n  a directory under `screensDir` when the code exists, otherwise a new id (the spec arrives before the\n  code). `--app` selects the app (the only one when there is one) — its `answerKeys.spec.dir` is the\n  specs folder and its `progress.json` records stale plans.\n- `\u003Czip-or-dir>` — the attachment as downloaded from Jira (`*-spec_v\u003Cver>_\u003Cyyyymmdd>.zip`) or an\n  extracted folder with `ko\u002F en\u002F vi\u002F` at its top.\n- `--ticket` — the Jira issue the attachment came from. Required: the ledger is only useful if a row can\n  be traced back to the comment it was taken from. Ask for it when it is missing.\n- `--extra` — a second attachment to place inside the snapshot (a prototype delivered separately).\n- `--note` — free text for the ledger row (e.g. \"afternoon re-upload; FR-012 modal rules\").\n\nRead `.claude\u002Ffrontend-ohmyhotel-plugin.json`; stop with the `fo-init` hint if it is missing. Confirm\n`specs\u002FMANIFEST.md` exists (`fo-init` creates it).\n\n## Step 2 — Dry run and show the delta\n\nRun the importer once with `--dry-run`:\n\n```bash\nfo-spec-import --screen \u003Cscreen> --from \u003Cpath> --ticket \u003Cticket> --specs-dir \u003CanswerKeys.spec.dir> [--extra ...] [--note \"...\"] --dry-run --stage-dir .claude\u002Ffrontend-ohmyhotel\u002Fstage\u002F\u003Cscreen>\n```\n\nIt prints a JSON object: header metadata read from the spec (`status`, `version`, `lastUpdated` —\na version embedded in the status line is split out; attachments that wrap `ko\u002F en\u002F vi\u002F` in one folder\nare hoisted; a package-level version that only appears in the zip name goes into `--note`), the\nattachment `sha256`, the markdown `contentHash`, `previousContentHash` for the current snapshot, and\n`changed`. Show the user the prospective ledger row and, when a previous snapshot exists:\n\n- `changed: false` → say the content is identical (only the attachment or its name differs); still\n  record the row if the ticket or file name is new, otherwise stop here.\n- `changed: true` → list what differs at file level (`diff -rq \u003Cstage-dir> specs\u002F\u003Cscreen>` — the\n  staged tree is kept at `--stage-dir`, already normalised and hoisted), and run a quick comparison of\n  the `ko\u002F*-spec_ko.md` headers and section headings so the user sees whether this is a re-upload or a\n  real revision. Do not attempt a semantic diff of requirements here; that is `fo-plan`'s delta step.\n\nA `status` other than `FINALIZED` (e.g. `DRAFT`) is imported like any other but flagged in the report:\nplans built on a draft are expected to change.\n\n## Step 3 — Import\n\nRun the same command without `--dry-run`. The importer replaces `specs\u002F\u003Cscreen>\u002F` wholesale and\nrewrites the screen's row in `specs\u002FMANIFEST.md` (rows sorted by screen id).\n\nThen stage the result for the user to commit — do not commit on their behalf:\n\n```bash\ngit add specs\u002F\u003Cscreen> specs\u002FMANIFEST.md\n```\n\n## Step 4 — Stale plans\n\nFor the screen just imported, read `\u003CscreensDir>\u002F\u003Cscreen>\u002Fimplementation-plan.json` if it exists and\ncompare its `spec.contentHash` (the 12-hex prefix the manifest records) with the first 12 characters\nof the new `contentHash`. Different → the plan is stale:\n`fo-progress-set --app \u003Capp> --screen \u003Cscreen> --set specStale --json 'true' --set specStaleHashes --json '{\"plan\":\"…\",\"spec\":\"…\"}'`,\nso `fo-progress` shows it and `fo-plan` knows to produce a delta instead of a fresh plan.\n\nAlso check every other screen in the manifest the same way (cheap: hashes only) so a backlog of\nun-synced specs surfaces here rather than at gate time.\n\n## Step 5 — Report\n\nIn the user's language: the ledger row as written, whether content changed, draft\u002Ffinal status, the\nlist of stale plans, the suggested commit message\n(`specs: \u003Cscreen> v\u003Cversion> (\u003Cticket>) — \u003Cnote>`), and the next command:\n\n- plan exists and is stale → `\u002Ffrontend-ohmyhotel-plugin:fo-plan --app \u003Capp> --screen \u003Cscreen>` (delta)\n- no plan yet → the same command (fresh plan)\n- content unchanged → nothing to do\n\nTagging the snapshot set (`specs\u002F\u003Cdate>`) at the start of a screen group is the team's release\nconvention, not this command's job; mention the tag command when the user asks.\n\nDone when the snapshot and the manifest are written and staged, `progress.json` records stale flags,\nand the report names the next command.\n","# fo-spec-sync — bring a spec snapshot into the repo\n\nThe planning team's attachments are the functional source of truth for a screen. This command places\none of them under `specs\u002F\u003Cscreen>\u002F` exactly as delivered, records it in the ledger, and tells you which\nplans are now stale. It never edits a spec and never merges two versions — a new version replaces the\nfolder, and git history keeps the old one.\n\nConventions: `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Ffo-shared\u002FSKILL.md`.\n\n## Step 1 — Arguments and preconditions\n\n- `\u003Cscreen>` — the screen id used across the repo (`01-main-page`, `02a-admin-hotel-recommendation`, …);\n  a directory under `screensDir` when the code exists, otherwise a new id (the spec arrives before the\n  code). `--app` selects the app (the only one when there is one) — its `answerKeys.spec.dir` is the\n  specs folder and its `progress.json` records stale plans.\n- `\u003Czip-or-dir>` — the attachment as downloaded from Jira (`*-spec_v\u003Cver>_\u003Cyyyymmdd>.zip`) or an\n  extracted folder with `ko\u002F en\u002F vi\u002F` at its top.\n- `--ticket` — the Jira issue the attachment came from. Required: the ledger is only useful if a row can\n  be traced back to the comment it was taken from. Ask for it when it is missing.\n- `--extra` — a second attachment to place inside the snapshot (a prototype delivered separately).\n- `--note` — free text for the ledger row (e.g. \"afternoon re-upload; FR-012 modal rules\").\n\nRead `.claude\u002Ffrontend-ohmyhotel-plugin.json`; stop with the `fo-init` hint if it is missing. Confirm\n`specs\u002FMANIFEST.md` exists (`fo-init` creates it).\n\n## Step 2 — Dry run and show the delta\n\nRun the importer once with `--dry-run`:\n\n```bash\nfo-spec-import --screen \u003Cscreen> --from \u003Cpath> --ticket \u003Cticket> --specs-dir \u003CanswerKeys.spec.dir> [--extra ...] [--note \"...\"] --dry-run --stage-dir .claude\u002Ffrontend-ohmyhotel\u002Fstage\u002F\u003Cscreen>\n```\n\nIt prints a JSON object: header metadata read from the spec (`status`, `version`, `lastUpdated` —\na version embedded in the status line is split out; attachments that wrap `ko\u002F en\u002F vi\u002F` in one folder\nare hoisted; a package-level version that only appears in the zip name goes into `--note`), the\nattachment `sha256`, the markdown `contentHash`, `previousContentHash` for the current snapshot, and\n`changed`. Show the user the prospective ledger row and, when a previous snapshot exists:\n\n- `changed: false` → say the content is identical (only the attachment or its name differs); still\n  record the row if the ticket or file name is new, otherwise stop here.\n- `changed: true` → list what differs at file level (`diff -rq \u003Cstage-dir> specs\u002F\u003Cscreen>` — the\n  staged tree is kept at `--stage-dir`, already normalised and hoisted), and run a quick comparison of\n  the `ko\u002F*-spec_ko.md` headers and section headings so the user sees whether this is a re-upload or a\n  real revision. Do not attempt a semantic diff of requirements here; that is `fo-plan`'s delta step.\n\nA `status` other than `FINALIZED` (e.g. `DRAFT`) is imported like any other but flagged in the report:\nplans built on a draft are expected to change.\n\n## Step 3 — Import\n\nRun the same command without `--dry-run`. The importer replaces `specs\u002F\u003Cscreen>\u002F` wholesale and\nrewrites the screen's row in `specs\u002FMANIFEST.md` (rows sorted by screen id).\n\nThen stage the result for the user to commit — do not commit on their behalf:\n\n```bash\ngit add specs\u002F\u003Cscreen> specs\u002FMANIFEST.md\n```\n\n## Step 4 — Stale plans\n\nFor the screen just imported, read `\u003CscreensDir>\u002F\u003Cscreen>\u002Fimplementation-plan.json` if it exists and\ncompare its `spec.contentHash` (the 12-hex prefix the manifest records) with the first 12 characters\nof the new `contentHash`. Different → the plan is stale:\n`fo-progress-set --app \u003Capp> --screen \u003Cscreen> --set specStale --json 'true' --set specStaleHashes --json '{\"plan\":\"…\",\"spec\":\"…\"}'`,\nso `fo-progress` shows it and `fo-plan` knows to produce a delta instead of a fresh plan.\n\nAlso check every other screen in the manifest the same way (cheap: hashes only) so a backlog of\nun-synced specs surfaces here rather than at gate time.\n\n## Step 5 — Report\n\nIn the user's language: the ledger row as written, whether content changed, draft\u002Ffinal status, the\nlist of stale plans, the suggested commit message\n(`specs: \u003Cscreen> v\u003Cversion> (\u003Cticket>) — \u003Cnote>`), and the next command:\n\n- plan exists and is stale → `\u002Ffrontend-ohmyhotel-plugin:fo-plan --app \u003Capp> --screen \u003Cscreen>` (delta)\n- no plan yet → the same command (fresh plan)\n- content unchanged → nothing to do\n\nTagging the snapshot set (`specs\u002F\u003Cdate>`) at the start of a screen group is the team's release\nconvention, not this command's job; mention the tag command when the user asks.\n\nDone when the snapshot and the manifest are written and staged, `progress.json` records stale flags,\nand the report names the next command.\n",{"name":5,"description":7,"allowed-tools":43,"argument-hint":44,"user-invocable":45},"Read, Write, Edit, Glob, Grep, Bash","\u003Cscreen> \u003Czip-or-dir> --ticket \u003COMH-nnn> [--app \u003Cname>] [--extra \u003Cpath>]... [--note \"...\"]",true,"main","99f07e592261c66756a2927d0440fc5fef950507","frontend-ohmyhotel-plugin\u002Fskills\u002Ffo-spec-sync",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 fo-spec-sync",{"tool":59,"command":60},"bunx","bunx skills add ohmyhotelco\u002Fhare-cc-plugins --skill fo-spec-sync",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ohmyhotelco\u002Fhare-cc-plugins --skill fo-spec-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fohmyhotelco\u002Fhare-cc-plugins\u002Fblob\u002Fmain\u002Ffrontend-ohmyhotel-plugin\u002Fskills\u002Ffo-spec-sync\u002FSKILL.md",[],[67,91,109,127,143,162],{"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,34,81,82,83,84,85,86,87,88,89,90],"shared","hp shared","state","stack","plugin","how","for","code conventions","commands","how to","conventions","false","frontmatter","file","code","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,81,100,101,102,103,85,88,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,85,118,119,89,77,120,86,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,138,139,27,20,26,25,18,23,87,140,141,142],"pp","pp translate","translate","feature","name","editing","language","true","changes",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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",[],[150,134,151,18,152,153,137,154,155,156,157,23,30,158,159,160,161,138,27,141],"pp sync stitch","stitch","projects","get","project","re","local","MCP","id","wireframes","website","screen",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"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,169,18,170,137,155,171,172,157,23,173,138,27,26,25,28,141],"notion","pp sync notion","search","manual","specification"]