[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72SF1ASNNKG9FK8HSV75TZA":3,"skill-same:01M72SF1ASNNKG9FK8HSV75TZA":46},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M72SF1ASNNKG9FK8HSV75TZA","speckit-merge",null,"Squash-merge all feature branches into the default branch (main or master), delete them, and push. Use when the user says \"land this\", \"ship the feature\", \"merge the feature branches\", \"squash-merge and push\", or anything that means consolidating feature work onto the trunk. After a successful merge, every packable library project (the `src\u002F**` libs + `build\u002FGovernance\u002FFS.Skia.UI.Build`, NOT the `dotnet new` template) MUST be packed with a bumped version number.","EHotwagner\u002FFS-Skia-UI","EHotwagner","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1645484?v=4","01M72S7CTBDPQDQHQJKKHY87K9","01M72S7CVFD0JN82RVX21NFEVC",2,"MIT","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-merge\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: speckit-merge\ndescription: Squash-merge all feature branches into the default branch (main or master), delete them, and push. Use when the user says \"land this\", \"ship the feature\", \"merge the feature branches\", \"squash-merge and push\", or anything that means consolidating feature work onto the trunk. After a successful merge, every packable library project (the `src\u002F**` libs + `build\u002FGovernance\u002FFS.Skia.UI.Build`, NOT the `dotnet new` template) MUST be packed with a bumped version number.\nmetadata:\n  short-description: Squash-merge feature branches, bump+pack, and push\n---\n\n# speckit-merge\n\nConsolidate feature branches onto the trunk (`main` or `master`) via\nsquash-merge, push to origin, and — after a successful merge — bump the\npatch version of every packable **library** project (NOT the `dotnet new`\ntemplate, which is a separate version track owned by `\u002Ffs-skia-template-update`)\nand produce a local NuGet package. The bump-and-pack step is **mandatory**\nwhenever any packable library project is present; skip it only when the repo has\nno packable library projects at all.\n\n## When to use\n\n- User says \"ship it\", \"land this branch\", \"squash-merge\", \"merge the\n  features\", \"land all feature branches\", etc.\n- After a feature has passed `\u002Fspeckit.evidence.audit` with verdict PASS\n  (or explicit `--accept-synthetic` override).\n\n## Preconditions — check before doing anything destructive\n\n1. Working tree is clean (`git status --porcelain` is empty). Refuse and\n   ask the user to commit or stash if not.\n2. On a git repo. Refuse if not.\n3. The evidence audit, if applicable, has PASSED for each feature branch\n   being merged. If `readiness\u002Fsynthetic-evidence.json` exists with an\n   unlogged override, surface that to the user before proceeding.\n\n## Steps\n\n### 1. Detect trunk\n\n```bash\nTRUNK=\"\"\nif git show-ref --verify --quiet refs\u002Fheads\u002Fmain; then TRUNK=main\nelif git show-ref --verify --quiet refs\u002Fheads\u002Fmaster; then TRUNK=master\nelse\n  echo \"No main or master branch; ask the user which branch is the trunk.\"\n  exit 2\nfi\n```\n\n### 2. Enumerate feature branches\n\nEvery local branch that is NOT the trunk is a candidate feature branch.\nList them and confirm with the user before merging more than one.\n\n```bash\ngit for-each-ref --format '%(refname:short)' refs\u002Fheads\u002F | grep -v \"^$TRUNK$\"\n```\n\n### 3. Switch to trunk and pull\n\n```bash\ngit checkout \"$TRUNK\"\ngit pull --ff-only origin \"$TRUNK\" 2>\u002Fdev\u002Fnull || true\n```\n\n### 4. For each feature branch — squash-merge and delete\n\n```bash\nfor BRANCH in \u003Clist>; do\n  git merge --squash \"$BRANCH\"\n  # Abort and prompt the user if there are conflicts.\n  if ! git diff --cached --quiet; then\n    git commit -m \"Merge $BRANCH (squash)\"\n    git branch -D \"$BRANCH\"\n  fi\ndone\n```\n\n**Conflict handling.** If a squash-merge reports conflicts, do NOT resolve\nautomatically. Abort with `git merge --abort`, tell the user which branch\nconflicted, and ask them to resolve manually. Never take sides.\n\n### 5. Push to origin\n\n```bash\ngit push origin \"$TRUNK\"\n```\n\n### 6. NuGet pack — MANDATORY after a successful merge\n\nAfter step 5 succeeds, this step is **required**. Skip it only when the\nrepo contains zero packable library projects. Detect them with:\n\n```bash\nPACKABLE=$(grep -lE '\u003CIsPackable>\\s*true|\u003CPackageId>' $(find . -name '*.fsproj') \\\n  | grep -v '\u002F\\.template\\.package\u002F')\n```\n\n**The merge bump covers the repo *library* packages ONLY — never the\n`dotnet new` template.** `.template.package\u002FFS.Skia.UI.Template.fsproj` is a\n**separate version track** owned by the `\u002Ffs-skia-template-update` flow (it pins\nthe libraries via `template\u002Fbase\u002FDirectory.Packages.props`, which the merge does\nnot touch). Bumping the template here would push its version ahead of its pins\nand create drift, so the `grep -v` above excludes it — and you MUST NOT bump it\nin this step even if you bump versions by hand. The authoritative library set is\nexactly the projects `PackLocal` packs (`packProjects` in\n`build\u002FGovernance\u002FFront\u002FHelpers.fs`): the `src\u002F**` libraries plus\n`build\u002FGovernance\u002FFS.Skia.UI.Build.fsproj` (which lives under `build\u002F`, not\n`src\u002F` — do not miss it). `FS.Skia.UI.Build` and the `src` libs share one\nversion, so they all bump together.\n\nIf `PACKABLE` is empty, skip. Otherwise, for **every packable library project\n(template excluded)**, you MUST:\n\n1. Read the current `\u003CVersion>` from the `.fsproj` (FS.Skia.UI projects pin\n   it per-project, e.g. `0.1.37-preview.1`). If absent, insert\n   `\u003CVersion>0.1.0\u003C\u002FVersion>` into the first `\u003CPropertyGroup>`.\n2. Increment the **patch** segment by 1 (always — never reuse or\n   decrement), preserving any preview suffix. The version must strictly\n   increase on every merge so downstream FSI consumers see a fresh package.\n3. Update the `\u003CVersion>` element in place.\n4. Produce the local packages. The canonical mechanism is the FAKE target,\n   which packs **all** packable projects to `~\u002F.local\u002Fshare\u002Fnuget-local`\n   in Release:\n\n   ```bash\n   .\u002Ffake.sh build -t PackLocal\n   ```\n\n   Equivalently, pack a single project with\n   `dotnet pack \u003Cproj> -c Release -o ~\u002F.local\u002Fshare\u002Fnuget-local`. If the\n   pack fails, stop and surface the error — do not push a half-bumped repo.\n   If `PackLocal` (or a packing run) **stalls** — a `dotnet` build sitting at\n   ~0% CPU with no compiler child — the cause is usually concurrent builds of\n   overlapping projects deadlocking on `obj\u002F`\u002F`bin` locks. Recover by\n   `dotnet build-server shutdown` (and, if needed, killing stray `dotnet`\n   processes), then build the library set **sequentially** once\n   (`dotnet build \u003Cleaf> -c Release -p:UseSharedCompilation=false -nodeReuse:false`\n   for the leaf projects, which pulls the whole graph) and pack each with\n   `dotnet pack \u003Cproj> -c Release --no-build -o ~\u002F.local\u002Fshare\u002Fnuget-local`.\n5. Commit the version bumps: `Bump packable project versions`.\n6. Push the bump commit.\n\nThe merge is not \"done\" until every packable **library** project (template\nexcluded) has been bumped, packed, committed, and pushed.\n\n> FAKE note: `.\u002Ffake.sh` \u002F `dotnet fake` share repository `.fake` state and are\n> not safe to run concurrently. Run FAKE-backed pack\u002Fvalidation commands one at\n> a time, in deterministic order; never in parallel with another FAKE target.\n\n### 7. Clear NuGet caches (F# libraries only)\n\nFSI caches resolved packages aggressively. If a new version was just\nproduced for downstream FSI scripts, clear both caches:\n\n```bash\ndotnet nuget locals http-cache --clear\ndotnet nuget locals global-packages --clear\n```\n\n## Safety rails\n\n- NEVER force-push.\n- NEVER bypass pre-commit hooks (`--no-verify`) unless the user explicitly\n  requests it and owns the reason.\n- NEVER delete a branch that hasn't been successfully squash-merged.\n- If the trunk has diverged from origin (local `git pull --ff-only` would\n  fail), stop and ask the user. Do not attempt a rebase or merge of the\n  trunk automatically.\n- If the version bump commit fails to push (e.g., someone else bumped\n  first), stop and surface the conflict. Do not retry.\n\n## After running\n\nReport to the user:\n- Which branches were squash-merged, in order.\n- Any branches that were skipped and why (conflicts, audit failure, user\n  cancelled).\n- The new versions of packed projects, if any.\n- Whether origin was pushed successfully.\n","# speckit-merge\n\nConsolidate feature branches onto the trunk (`main` or `master`) via\nsquash-merge, push to origin, and — after a successful merge — bump the\npatch version of every packable **library** project (NOT the `dotnet new`\ntemplate, which is a separate version track owned by `\u002Ffs-skia-template-update`)\nand produce a local NuGet package. The bump-and-pack step is **mandatory**\nwhenever any packable library project is present; skip it only when the repo has\nno packable library projects at all.\n\n## When to use\n\n- User says \"ship it\", \"land this branch\", \"squash-merge\", \"merge the\n  features\", \"land all feature branches\", etc.\n- After a feature has passed `\u002Fspeckit.evidence.audit` with verdict PASS\n  (or explicit `--accept-synthetic` override).\n\n## Preconditions — check before doing anything destructive\n\n1. Working tree is clean (`git status --porcelain` is empty). Refuse and\n   ask the user to commit or stash if not.\n2. On a git repo. Refuse if not.\n3. The evidence audit, if applicable, has PASSED for each feature branch\n   being merged. If `readiness\u002Fsynthetic-evidence.json` exists with an\n   unlogged override, surface that to the user before proceeding.\n\n## Steps\n\n### 1. Detect trunk\n\n```bash\nTRUNK=\"\"\nif git show-ref --verify --quiet refs\u002Fheads\u002Fmain; then TRUNK=main\nelif git show-ref --verify --quiet refs\u002Fheads\u002Fmaster; then TRUNK=master\nelse\n  echo \"No main or master branch; ask the user which branch is the trunk.\"\n  exit 2\nfi\n```\n\n### 2. Enumerate feature branches\n\nEvery local branch that is NOT the trunk is a candidate feature branch.\nList them and confirm with the user before merging more than one.\n\n```bash\ngit for-each-ref --format '%(refname:short)' refs\u002Fheads\u002F | grep -v \"^$TRUNK$\"\n```\n\n### 3. Switch to trunk and pull\n\n```bash\ngit checkout \"$TRUNK\"\ngit pull --ff-only origin \"$TRUNK\" 2>\u002Fdev\u002Fnull || true\n```\n\n### 4. For each feature branch — squash-merge and delete\n\n```bash\nfor BRANCH in \u003Clist>; do\n  git merge --squash \"$BRANCH\"\n  # Abort and prompt the user if there are conflicts.\n  if ! git diff --cached --quiet; then\n    git commit -m \"Merge $BRANCH (squash)\"\n    git branch -D \"$BRANCH\"\n  fi\ndone\n```\n\n**Conflict handling.** If a squash-merge reports conflicts, do NOT resolve\nautomatically. Abort with `git merge --abort`, tell the user which branch\nconflicted, and ask them to resolve manually. Never take sides.\n\n### 5. Push to origin\n\n```bash\ngit push origin \"$TRUNK\"\n```\n\n### 6. NuGet pack — MANDATORY after a successful merge\n\nAfter step 5 succeeds, this step is **required**. Skip it only when the\nrepo contains zero packable library projects. Detect them with:\n\n```bash\nPACKABLE=$(grep -lE '\u003CIsPackable>\\s*true|\u003CPackageId>' $(find . -name '*.fsproj') \\\n  | grep -v '\u002F\\.template\\.package\u002F')\n```\n\n**The merge bump covers the repo *library* packages ONLY — never the\n`dotnet new` template.** `.template.package\u002FFS.Skia.UI.Template.fsproj` is a\n**separate version track** owned by the `\u002Ffs-skia-template-update` flow (it pins\nthe libraries via `template\u002Fbase\u002FDirectory.Packages.props`, which the merge does\nnot touch). Bumping the template here would push its version ahead of its pins\nand create drift, so the `grep -v` above excludes it — and you MUST NOT bump it\nin this step even if you bump versions by hand. The authoritative library set is\nexactly the projects `PackLocal` packs (`packProjects` in\n`build\u002FGovernance\u002FFront\u002FHelpers.fs`): the `src\u002F**` libraries plus\n`build\u002FGovernance\u002FFS.Skia.UI.Build.fsproj` (which lives under `build\u002F`, not\n`src\u002F` — do not miss it). `FS.Skia.UI.Build` and the `src` libs share one\nversion, so they all bump together.\n\nIf `PACKABLE` is empty, skip. Otherwise, for **every packable library project\n(template excluded)**, you MUST:\n\n1. Read the current `\u003CVersion>` from the `.fsproj` (FS.Skia.UI projects pin\n   it per-project, e.g. `0.1.37-preview.1`). If absent, insert\n   `\u003CVersion>0.1.0\u003C\u002FVersion>` into the first `\u003CPropertyGroup>`.\n2. Increment the **patch** segment by 1 (always — never reuse or\n   decrement), preserving any preview suffix. The version must strictly\n   increase on every merge so downstream FSI consumers see a fresh package.\n3. Update the `\u003CVersion>` element in place.\n4. Produce the local packages. The canonical mechanism is the FAKE target,\n   which packs **all** packable projects to `~\u002F.local\u002Fshare\u002Fnuget-local`\n   in Release:\n\n   ```bash\n   .\u002Ffake.sh build -t PackLocal\n   ```\n\n   Equivalently, pack a single project with\n   `dotnet pack \u003Cproj> -c Release -o ~\u002F.local\u002Fshare\u002Fnuget-local`. If the\n   pack fails, stop and surface the error — do not push a half-bumped repo.\n   If `PackLocal` (or a packing run) **stalls** — a `dotnet` build sitting at\n   ~0% CPU with no compiler child — the cause is usually concurrent builds of\n   overlapping projects deadlocking on `obj\u002F`\u002F`bin` locks. Recover by\n   `dotnet build-server shutdown` (and, if needed, killing stray `dotnet`\n   processes), then build the library set **sequentially** once\n   (`dotnet build \u003Cleaf> -c Release -p:UseSharedCompilation=false -nodeReuse:false`\n   for the leaf projects, which pulls the whole graph) and pack each with\n   `dotnet pack \u003Cproj> -c Release --no-build -o ~\u002F.local\u002Fshare\u002Fnuget-local`.\n5. Commit the version bumps: `Bump packable project versions`.\n6. Push the bump commit.\n\nThe merge is not \"done\" until every packable **library** project (template\nexcluded) has been bumped, packed, committed, and pushed.\n\n> FAKE note: `.\u002Ffake.sh` \u002F `dotnet fake` share repository `.fake` state and are\n> not safe to run concurrently. Run FAKE-backed pack\u002Fvalidation commands one at\n> a time, in deterministic order; never in parallel with another FAKE target.\n\n### 7. Clear NuGet caches (F# libraries only)\n\nFSI caches resolved packages aggressively. If a new version was just\nproduced for downstream FSI scripts, clear both caches:\n\n```bash\ndotnet nuget locals http-cache --clear\ndotnet nuget locals global-packages --clear\n```\n\n## Safety rails\n\n- NEVER force-push.\n- NEVER bypass pre-commit hooks (`--no-verify`) unless the user explicitly\n  requests it and owns the reason.\n- NEVER delete a branch that hasn't been successfully squash-merged.\n- If the trunk has diverged from origin (local `git pull --ff-only` would\n  fail), stop and ask the user. Do not attempt a rebase or merge of the\n  trunk automatically.\n- If the version bump commit fails to push (e.g., someone else bumped\n  first), stop and surface the conflict. Do not retry.\n\n## After running\n\nReport to the user:\n- Which branches were squash-merged, in order.\n- Any branches that were skipped and why (conflicts, audit failure, user\n  cancelled).\n- The new versions of packed projects, if any.\n- Whether origin was pushed successfully.\n",{"name":5,"metadata":23,"description":7},{"short-description":24},"Squash-merge feature branches, bump+pack, and push","main","f943406829a9218b2882e09eb88d4ddb539c5e72",".claude\u002Fskills\u002Fspeckit-merge",0,"https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI","https:\u002F\u002Fgithub.com\u002FEHotwagner","2026-06-16 16:16:52",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add EHotwagner\u002FFS-Skia-UI --skill speckit-merge",{"tool":38,"command":39},"bunx","bunx skills add EHotwagner\u002FFS-Skia-UI --skill speckit-merge",{"tool":41,"command":42},"pnpm","pnpm dlx skills add EHotwagner\u002FFS-Skia-UI --skill speckit-merge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-merge\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M72SGYR4T02T1HTS175E0V86","fs-skia-ui-widgets","Generated product guidance for Skia-rendered FS.Skia.UI Controls, rich text, chart controls, graph controls, DataGrid, and custom wrappers.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-ui-widgets\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M72SGVZJR1B117QK7TCC6E0J","fs-skia-testing","Assert generated-product expectations and evidence in a governed FS.Skia.UI product.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-testing\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M72SGTC5HZYEVVVZT4X51AZ3","fs-skia-skiaviewer","Wire a generated FS.Skia.UI product to the desktop viewer host.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-skiaviewer\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M72SGS47RPYPC9JTC39CC6EF","fs-skia-scene","Build pure scene descriptions in a generated FS.Skia.UI product.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-scene\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M72SGQF4G76C4NGSF69KZRRF","fs-skia-keyboard-input","Map keyboard input to product commands in a generated FS.Skia.UI product.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-keyboard-input\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M72SGNJP3PMSS2VRP98G7Z42","fs-skia-elmish","Drive a generated FS.Skia.UI product through the pure Elmish adapter.","https:\u002F\u002Fgithub.com\u002FEHotwagner\u002FFS-Skia-UI\u002Fblob\u002Fmain\u002Ftemplate\u002Fproduct-skills\u002Ffs-skia-elmish\u002FSKILL.md",[],[]]