[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5KF5BR4M6CTQZBWNTV1DP":3,"skill-same:01M6C5KF5BR4M6CTQZBWNTV1DP":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6C5KF5BR4M6CTQZBWNTV1DP","comfy-node",null,"New ComfyUI node pack to a gitops-adopted repo: scaffold, create + seed the GitHub repo, open the gitops adoption PR. Use when standing up a new comfyui node pack end to end.","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcomfyui-plugin\u002Fskills\u002Fcomfy-node\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"comfy node","node","comfy","2026","new","github repo","when","end","gitops","opus","wed","seed","edit","write","read","create","Bash","use","open","up","repo","pr","2026-11-10 10:12:30",false,"---\ncreated: 2026-06-04\nmodified: 2026-11-07\nreviewed: 2026-07-29\nmodel: opus\nname: comfy-node\ndescription: >-\n  New ComfyUI node pack to a gitops-adopted repo: scaffold, create + seed the\n  GitHub repo, open the gitops adoption PR. Use when standing up a new comfyui\n  node pack end to end.\nallowed-tools: Bash, Read, Write, Edit, Grep, Glob, TodoWrite, AskUserQuestion\n---\n\n\u003C!-- skill-size-exception: scripts\u002Fplugin-compliance-check.sh check_skill_body (comfy-node gitops-owner block, #2142) -->\n\n# comfy-node\n\nTake a ComfyUI custom-node **idea** and drive it through every step from empty\nto publish-ready, collapsing the manual repo-creation + gitops wiring into one\norchestrated pass with a single human approval gate.\n\nThis is the orchestrator around the `comfyui-node-scaffold` skill (which only\ngenerates the local repo). Use `comfyui-node-scaffold` alone if you just want\nthe files; use **this** when you want the GitHub repo created, pushed, and\nadopted into gitops too.\n\n> **Canonical owner of the gitops adoption procedure.** Phases 3–5 below\n> (seed `main` → open the gitops PR → human gate → remove the import block),\n> the branch-protection hook note, and the generic failure-mode rows are the\n> single source of truth for **every** repo class, not just ComfyUI\n> packs. `foundryvtt-plugin:foundryvtt-module` carries only its own deltas and\n> defers here. If you arrived from another skill, read\n> [Adapting Phases 3–5 to another repo class](#adapting-phases-35-to-another-repo-class)\n> first — it names every value you substitute.\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative when... |\n|---|---|\n| The user gives an idea and wants the whole pipeline stood up — repo created, seeded, and gitops-adopted | You only want the local files → `comfyui-node-scaffold` |\n| Spinning up a `project:comfyui-nodes` taskwarrior backlog idea end to end | Adding a node to an *existing* pack → edit that repo directly |\n\nDo **not** use it to add a node to an existing pack, or to publish a release\n(release-please + `publish.yml` already automate that once the repo exists).\n\n## The shape it automates\n\nidea → `scaffold.py` → `gh repo create` + seed `main` → gitops PR → **human merges the gitops PR** → tofu-apply on release → remove the import block → implement + release. There is no scaffold PR, and the gate is never merged on the user's behalf. Diagram: [references\u002Fpipeline-overview.md](references\u002Fpipeline-overview.md).\n\n## Preconditions\n\n- Run from the directory that holds your pack clones (the new repo lands as a\n  sibling of the reference packs; modal-variant primitive copy resolves there).\n- `gh auth status` is a **personal** account that can create repos. The gitops\n  GitHub App *cannot* create repos on user accounts — that is exactly why the\n  repo is created out-of-band here and then imported into Terraform state.\n- `\u003Ciac-dir>` is clean (no uncommitted `repositories.tf` \u002F `main.tf`\n  changes) so the orchestrator's gitops PR is isolated.\n\n## Values from context\n\nThe commands in Phases 1–5 use three placeholders. Resolve them before Phase 1;\nnone of them has a default.\n\n| Placeholder | Meaning | Where it comes from |\n|---|---|---|\n| `\u003Cowner>` | GitHub account that owns the pack repos; also the scaffold's `--publisher` | `PublisherId` in a sibling pack's `pyproject.toml`, else `gh api user --jq .login` |\n| `\u003Ciac-repo>` | `owner\u002Fname` of the repo that manages repository settings as code | `iac_repo:` in `.claude\u002Fcomfyui-plugin.local.md` |\n| `\u003Ciac-dir>` | Local clone of `\u003Ciac-repo>` | `iac_dir:` in the same file |\n\nWhen the settings file has no `iac_repo:`, ask once how this user's repo\nsettings and secrets are managed: infrastructure as code, organization\nsecrets, or by hand. Offer to save the answer to `.claude\u002Fcomfyui-plugin.local.md`\nso later runs skip the question. Phases 4–5 assume a Terraform\u002FOpenTofu repo\nwith a `repositories.tf` map and `import` blocks; for any other answer, set\nthe secrets and branch protection the way the user named, and skip the\n`\u003Ciac-repo>` steps.\n\n## Phase 0 — Derive and confirm the spec\n\nFrom the idea, derive and **show the user** before creating anything external:\n\n| Field | How to derive | Example |\n|-------|---------------|---------|\n| `--name` | `comfyui-\u003Ckebab>`; reuse the family prefix (`touch-…` for touch UX). | `comfyui-touch-resize` |\n| `--display` | Title-case. | `Touch Resize` |\n| `--desc` | One line, registry-facing. | `Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices.` |\n| `--variant` | `gesture` for canvas interactions (resize\u002Fmove\u002Fregion); `frontend` for a per-widget modal; `backend` only if it reads disk \u002F serves data. | `gesture` |\n| `--widgets` | CSV of target widget names (modal variants only; omit for `gesture`). | — |\n| topics | `[\"comfyui\",\"comfyui-nodes\",…]` + facet tags. | `…,\"mobile\",\"touch\",\"resize\"` |\n\nConfirm the name and variant with the user — these are hard to change after the\nrepo exists. If the idea matches a `project:comfyui-nodes` task, mark it\nin_progress:\n\n```sh\ntask project:comfyui-nodes export | jq -r '.[] | select(.description | test(\"resize\"; \"i\")) | .uuid'\n```\n\n## Phase 1 — Preflight (fail fast if the name is taken)\n\n```sh\ntest ! -e comfyui-touch-resize && echo \"local: free\" || echo \"local: EXISTS\"\n```\n\n```sh\ngrep -q '\"comfyui-touch-resize\"' \u003Ciac-dir>\u002Frepositories.tf && echo \"gitops: EXISTS\" || echo \"gitops: free\"\n```\n\n```sh\ngh repo view \u003Cowner>\u002Fcomfyui-touch-resize >\u002Fdev\u002Fnull 2>&1 && echo \"github: EXISTS\" || echo \"github: free\"\n```\n\nAll three must report free. Stop and surface any collision.\n\n## Phase 2 — Scaffold + local green check\n\n```sh\npython3 ${CLAUDE_SKILL_DIR}\u002F..\u002Fcomfyui-node-scaffold\u002Fscaffold.py --name comfyui-touch-resize --display \"Touch Resize\" --desc \"Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices.\" --variant gesture --publisher \u003Cowner>\n```\n\nThen bring the pack to green locally (the scaffold prints these too):\n\n```sh\ncd comfyui-touch-resize\n```\n\n```sh\nuv sync --group dev\n```\n\n```sh\nnpm install --no-audit --no-fund\n```\n\n```sh\njust check\n```\n\n`just check` must pass before anything is pushed. If it fails, fix locally and\nre-run — do not create the remote repo on a red pack.\n\nThe scaffold prints a **finishing-pass audit** (issue #1877): it emits the\nregistry icon\u002Fbanner SVGs + `Icon`\u002F`Banner` wiring and the renovate \u002F\nregistry-health \u002F clear-autorelease workflows, and grades the follow-ups it can't\ndo itself. Before the first release, run `just assets` (rasterizes `icon.svg` \u002F\n`banner.svg` → the PNGs the registry serves; needs `rsvg-convert`) and commit the\nPNGs. The screenshot pipeline stays deferred to the `comfyui-screenshot-pipeline`\nskill (`just screenshots`) — surface it as a Phase 6 follow-up.\n\nTreat the audit's ERROR rows as blocking, not as notes: `Icon`\u002F`Banner` already\npoint at PNG URLs, so a pack that skips `just assets` publishes a 404 icon. The\npack's own `tests\u002Ftest_publish_hygiene.py` fails CI on exactly that, and Phase 6\nre-checks it before hand-back.\n\n## Phase 3 — Create the GitHub repo and seed `main`\n\nSeed `main` **directly** as the first commit — no scaffold branch, no PR. The\nrepo has no branch protection yet (gitops adds it on adoption in Phase 5), so\nthis is allowed, and it avoids the branch juggling you'd otherwise hit: if the\nfirst push were a feature branch, `main` would be missing on origin, forcing a\nlater rename + default-branch change + base-branch fixups. Pushing `main` first\nsidesteps all of it. Implementation work afterward goes through feature-branch\nPRs as normal (protection is live by then).\n\n```sh\ngit init -b main\n```\n\n```sh\ngit add -A\n```\n\n```sh\ngit commit -m \"feat: scaffold comfyui-touch-resize (gesture pack)\"\n```\n\n```sh\ngh repo create \u003Cowner>\u002Fcomfyui-touch-resize --public --source . --remote origin --push\n```\n\n> **Branch-protection hook note (expect this):** in a Claude Code session the\n> `branch-protection` hook **will** block the agent from `git add`\u002F`commit` on\n> `main` (confirmed on the first real run). For a brand-new, not-yet-protected\n> repo this is a false positive. Hand the whole seed to the user as one\n> paste-safe line to run with the `! ` prefix, e.g.:\n>\n> ```\n> cd \u003Crepo> && git add -A && git commit -m \"feat: scaffold \u003Cname> (gesture pack)\" && gh repo create \u003Cowner>\u002F\u003Cname> --public --source . --remote origin --push\n> ```\n>\n> (`git add -A` and `&&`-chaining are fine in the *user's* shell — those hooks\n> are agent-side.) Do **not** work around it by seeding a feature branch — that\n> reintroduces the missing-`main`\u002Frename juggling this phase exists to avoid.\n> Don't fight the hook with quoting tricks either.\n\nThe `--push` makes the seeded `main` the default branch.\n\n## Phase 4 — Open the gitops PR (entry + transient import block)\n\nTwo edits in `\u003Ciac-dir>`, on a dedicated branch.\n\n**`\u003Ciac-dir>\u002Frepositories.tf`** — add to the active repositories `locals` block,\nnext to the other `comfyui-*` entries (mirror `comfyui-touch-connect`):\n\n```hcl\n    \"comfyui-touch-resize\" = {\n      description    = \"Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices\"\n      visibility     = \"public\"\n      release_please = true\n      comfy_registry = true\n      topics         = [\"comfyui\", \"comfyui-nodes\", \"mobile\", \"touch\", \"resize\"]\n    }\n```\n\n**`\u003Ciac-dir>\u002Fmain.tf`** — add a transient `import` block alongside the existing\nones at the top of the file:\n\n```hcl\nimport {\n  to = github_repository.this[\"comfyui-touch-resize\"]\n  id = \"comfyui-touch-resize\"\n}\n```\n\nValidate, branch, commit, push, open the PR (run inside `\u003Ciac-dir>`):\n\n```sh\njust check\n```\n\n```sh\ngit -C \u003Ciac-dir> switch -c feat\u002Fadopt-comfyui-touch-resize\n```\n\n```sh\ngit -C \u003Ciac-dir> add repositories.tf main.tf\n```\n\n```sh\ngit -C \u003Ciac-dir> commit -m \"feat: adopt comfyui-touch-resize (comfy_registry)\"\n```\n\n```sh\ngit -C \u003Ciac-dir> push -u origin feat\u002Fadopt-comfyui-touch-resize\n```\n\n```sh\ngh pr create -R \u003Ciac-repo> -a @me -l chore -l opentofu --title \"feat: adopt comfyui-touch-resize (comfy_registry)\" --body-file \u002Ftmp\u002Fgitops-pr-body.md\n```\n\nWrite a short body (to `\u002Ftmp\u002Fgitops-pr-body.md`) rather than `--fill` — it's an\ninfra PR that triggers an apply, so spell out what merge does: imports the repo,\npushes `REGISTRY_ACCESS_TOKEN` + release-please credentials, applies the\nbranch-protection ruleset, and that a follow-up PR removes the import block. Use\nlabels `chore` + `opentofu` (check they exist with\n`gh label list -R \u003Ciac-repo>`).\n\nSet metadata per `github-metadata-hygiene` (assignee `@me`, the running user;\nskip self-reviewer, since the author is the running user). The `tofu-plan.yml` workflow\nposts the plan as a comment on the PR; the expected plan **imports** the repo\nand **creates** the\n`REGISTRY_ACCESS_TOKEN` secret + release-please var\u002Fsecret + branch-protection\nruleset.\n\n## Phase 5 — Human gate, then finish\n\nHand the user the new repo URL and the **gitops PR** URL. **The user merges the\ngitops PR** — that starts the apply chain on shared infra state (release-please\ncuts a gitops release PR; merging that publishes a release, which triggers\n`tofu-apply.yml`). Do not merge it for them.\n\nAfter the user confirms the tofu apply landed, verify the wiring and remove the\nnow-dead import block:\n\n```sh\ngh secret list -R \u003Cowner>\u002Fcomfyui-touch-resize\n```\n\n```sh\ngh api repos\u002F\u003Cowner>\u002Fcomfyui-touch-resize\u002Factions\u002Fvariables\u002FRELEASE_PLEASE_APP_ID --jq .name\n```\n\n`REGISTRY_ACCESS_TOKEN` should be listed; the variable lookup should return its\nname. Then open the import-block-removal follow-up PR (it is a one-time\nadoption artifact — leaving it is harmless but untidy):\n\n```sh\ngit -C \u003Ciac-dir> switch -c chore\u002Fremove-comfyui-touch-resize-import\n```\n\nRemove the `import { … \"comfyui-touch-resize\" … }` block from `main.tf`, then:\n\n```sh\ngit -C \u003Ciac-dir> commit -am \"chore: remove one-time import block for comfyui-touch-resize\"\n```\n\n```sh\ngit -C \u003Ciac-dir> push -u origin chore\u002Fremove-comfyui-touch-resize-import\n```\n\n```sh\ngh pr create -R \u003Ciac-repo> -a @me -l chore --fill --title \"chore: remove comfyui-touch-resize import block\"\n```\n\n## Adapting Phases 3–5 to another repo class\n\nPhases 3–5 are repo-class-agnostic: the seed-`main`-first rationale, the\nbranch-protection hook workaround, the `import`-block mechanics, the human gate,\nand the import-block-removal follow-up are identical for a ComfyUI pack, a\nFoundryVTT module, or anything else gitops adopts. Only these values change —\nsubstitute them and the phases read verbatim:\n\n| Substitute | ComfyUI pack (the examples above) | How to find yours |\n|---|---|---|\n| Repo name | `comfyui-touch-resize` | The caller skill's Phase 0 spec |\n| `\u003Ciac-dir>` | A sibling clone of the pack directory | The clone's path relative to where you run, e.g. `..\u002F\u003Cname>` from a nested workspace |\n| `repositories.tf` adoption flags | `release_please = true` + `comfy_registry = true` | `release_please = true` is universal; extra flags are per-repo-class |\n| Seed commit subject | `feat: scaffold \u003Cname> (gesture pack)` | `feat: scaffold \u003Cname> (\u003Cvariant> \u003Cnoun>)` |\n| Phase 5 verification | `gh secret list` (`REGISTRY_ACCESS_TOKEN`) **and** the `RELEASE_PLEASE_APP_ID` variable lookup | Check one probe per flag you set; `release_please` always means the `RELEASE_PLEASE_APP_ID` variable |\n\nEverything else — the commands, the PR-body guidance, the labels, the metadata\nhygiene, the failure-mode rows below — applies unchanged.\n\n## Phase 6 — Verify the finishing pass, then hand back\n\n**Run the gate before declaring done** — do not close on a self-authored summary:\n\n```sh\npython3 ${CLAUDE_SKILL_DIR}\u002F..\u002Fcomfyui-node-scaffold\u002Fscaffold.py --verify comfyui-touch-resize\n```\n\nRead `STATUS=`; the exit code is 1 on ERROR.\n\n| `STATUS=` | Action |\n|-----------|--------|\n| `ERROR` | **Not done.** Finish it now — the ERROR rows are publish-blocking (missing `icon.png`\u002F`banner.png`, or surviving `PLACEHOLDER-GLYPH`). `just assets`, commit the PNGs, re-run. |\n| `WARN` | Deferrable. Log each WARN to `project:comfyui-nodes` in taskwarrior (the queue that outlives this session) and say so in the hand-back. |\n| `OK` | Hand back. |\n\nAn ERROR is never a follow-up item. It shipped that way three times —\n`comfyui-touch-manager` (`Icon = \"\"`, weeks), `comfyui-output-swap` (31 hours),\n`comfyui-touch-shim` — each recorded in the closing report as \"tracked, not\nblocking\" and each caught only when the user noticed.\n\nThe pipeline is now live: conventional-commit feature PRs → merge → release-please\nPR → merge → tag → `publish.yml` publishes to registry.comfy.org. Tell the user\nwhat's left:\n\n- Implement the pack logic (for `gesture`: tune `web\u002Fjs\u002F\u003Cshort>.js` — groups\n  support, affordance hint, the anisotropic-scale TODO).\n- First merged `feat:`\u002F`fix:` commits drive the first release-please PR.\n\nLog durable follow-ups (groups support, browser smoke matrix, the jsdom modal\nDOM test gap) to `project:comfyui-nodes` per `taskwarrior-cross-session`.\n\n## Failure modes & guards\n\nWhen a phase fails — `publish.yml` `--token` error, empty release-please `app-id`, `403` on repo create, a tofu plan showing *create* instead of *import*, red `just check` in gitops — look up the symptom in [references\u002Ffailure-modes.md](references\u002Ffailure-modes.md).\n\n## Notes\n\n- The orchestrator never runs `tofu apply` — all applies go through the gitops\n  repo's apply workflow (here, `tofu-apply.yml` triggered by publishing the\n  release-please release; see `\u003Ciac-dir>\u002FCLAUDE.md` or its README). Local\n  `\u003Ciac-dir>` work is `plan`\u002F`validate` only.\n- The scaffold now emits the registry finishing-pass pieces (icon\u002Fbanner SVGs +\n  wiring, renovate + registry-health + clear-autorelease workflows) and audits\n  for the rest; `just assets` (rsvg-convert) produces the served PNGs. See the\n  finishing-pass note in Phase 2 (issue #1877).\n- Screenshots pipeline + `docs\u002Fblueprint\u002F` PRD\u002FADR set are not scaffolded; add\n  them later from a reference pack (the `comfyui-screenshot-pipeline` skill) if\n  the pack warrants them.\n","\u003C!-- skill-size-exception: scripts\u002Fplugin-compliance-check.sh check_skill_body (comfy-node gitops-owner block, #2142) -->\n\n# comfy-node\n\nTake a ComfyUI custom-node **idea** and drive it through every step from empty\nto publish-ready, collapsing the manual repo-creation + gitops wiring into one\norchestrated pass with a single human approval gate.\n\nThis is the orchestrator around the `comfyui-node-scaffold` skill (which only\ngenerates the local repo). Use `comfyui-node-scaffold` alone if you just want\nthe files; use **this** when you want the GitHub repo created, pushed, and\nadopted into gitops too.\n\n> **Canonical owner of the gitops adoption procedure.** Phases 3–5 below\n> (seed `main` → open the gitops PR → human gate → remove the import block),\n> the branch-protection hook note, and the generic failure-mode rows are the\n> single source of truth for **every** repo class, not just ComfyUI\n> packs. `foundryvtt-plugin:foundryvtt-module` carries only its own deltas and\n> defers here. If you arrived from another skill, read\n> [Adapting Phases 3–5 to another repo class](#adapting-phases-35-to-another-repo-class)\n> first — it names every value you substitute.\n\n## When to Use This Skill\n\n| Use this skill when... | Use the alternative when... |\n|---|---|\n| The user gives an idea and wants the whole pipeline stood up — repo created, seeded, and gitops-adopted | You only want the local files → `comfyui-node-scaffold` |\n| Spinning up a `project:comfyui-nodes` taskwarrior backlog idea end to end | Adding a node to an *existing* pack → edit that repo directly |\n\nDo **not** use it to add a node to an existing pack, or to publish a release\n(release-please + `publish.yml` already automate that once the repo exists).\n\n## The shape it automates\n\nidea → `scaffold.py` → `gh repo create` + seed `main` → gitops PR → **human merges the gitops PR** → tofu-apply on release → remove the import block → implement + release. There is no scaffold PR, and the gate is never merged on the user's behalf. Diagram: [references\u002Fpipeline-overview.md](references\u002Fpipeline-overview.md).\n\n## Preconditions\n\n- Run from the directory that holds your pack clones (the new repo lands as a\n  sibling of the reference packs; modal-variant primitive copy resolves there).\n- `gh auth status` is a **personal** account that can create repos. The gitops\n  GitHub App *cannot* create repos on user accounts — that is exactly why the\n  repo is created out-of-band here and then imported into Terraform state.\n- `\u003Ciac-dir>` is clean (no uncommitted `repositories.tf` \u002F `main.tf`\n  changes) so the orchestrator's gitops PR is isolated.\n\n## Values from context\n\nThe commands in Phases 1–5 use three placeholders. Resolve them before Phase 1;\nnone of them has a default.\n\n| Placeholder | Meaning | Where it comes from |\n|---|---|---|\n| `\u003Cowner>` | GitHub account that owns the pack repos; also the scaffold's `--publisher` | `PublisherId` in a sibling pack's `pyproject.toml`, else `gh api user --jq .login` |\n| `\u003Ciac-repo>` | `owner\u002Fname` of the repo that manages repository settings as code | `iac_repo:` in `.claude\u002Fcomfyui-plugin.local.md` |\n| `\u003Ciac-dir>` | Local clone of `\u003Ciac-repo>` | `iac_dir:` in the same file |\n\nWhen the settings file has no `iac_repo:`, ask once how this user's repo\nsettings and secrets are managed: infrastructure as code, organization\nsecrets, or by hand. Offer to save the answer to `.claude\u002Fcomfyui-plugin.local.md`\nso later runs skip the question. Phases 4–5 assume a Terraform\u002FOpenTofu repo\nwith a `repositories.tf` map and `import` blocks; for any other answer, set\nthe secrets and branch protection the way the user named, and skip the\n`\u003Ciac-repo>` steps.\n\n## Phase 0 — Derive and confirm the spec\n\nFrom the idea, derive and **show the user** before creating anything external:\n\n| Field | How to derive | Example |\n|-------|---------------|---------|\n| `--name` | `comfyui-\u003Ckebab>`; reuse the family prefix (`touch-…` for touch UX). | `comfyui-touch-resize` |\n| `--display` | Title-case. | `Touch Resize` |\n| `--desc` | One line, registry-facing. | `Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices.` |\n| `--variant` | `gesture` for canvas interactions (resize\u002Fmove\u002Fregion); `frontend` for a per-widget modal; `backend` only if it reads disk \u002F serves data. | `gesture` |\n| `--widgets` | CSV of target widget names (modal variants only; omit for `gesture`). | — |\n| topics | `[\"comfyui\",\"comfyui-nodes\",…]` + facet tags. | `…,\"mobile\",\"touch\",\"resize\"` |\n\nConfirm the name and variant with the user — these are hard to change after the\nrepo exists. If the idea matches a `project:comfyui-nodes` task, mark it\nin_progress:\n\n```sh\ntask project:comfyui-nodes export | jq -r '.[] | select(.description | test(\"resize\"; \"i\")) | .uuid'\n```\n\n## Phase 1 — Preflight (fail fast if the name is taken)\n\n```sh\ntest ! -e comfyui-touch-resize && echo \"local: free\" || echo \"local: EXISTS\"\n```\n\n```sh\ngrep -q '\"comfyui-touch-resize\"' \u003Ciac-dir>\u002Frepositories.tf && echo \"gitops: EXISTS\" || echo \"gitops: free\"\n```\n\n```sh\ngh repo view \u003Cowner>\u002Fcomfyui-touch-resize >\u002Fdev\u002Fnull 2>&1 && echo \"github: EXISTS\" || echo \"github: free\"\n```\n\nAll three must report free. Stop and surface any collision.\n\n## Phase 2 — Scaffold + local green check\n\n```sh\npython3 ${CLAUDE_SKILL_DIR}\u002F..\u002Fcomfyui-node-scaffold\u002Fscaffold.py --name comfyui-touch-resize --display \"Touch Resize\" --desc \"Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices.\" --variant gesture --publisher \u003Cowner>\n```\n\nThen bring the pack to green locally (the scaffold prints these too):\n\n```sh\ncd comfyui-touch-resize\n```\n\n```sh\nuv sync --group dev\n```\n\n```sh\nnpm install --no-audit --no-fund\n```\n\n```sh\njust check\n```\n\n`just check` must pass before anything is pushed. If it fails, fix locally and\nre-run — do not create the remote repo on a red pack.\n\nThe scaffold prints a **finishing-pass audit** (issue #1877): it emits the\nregistry icon\u002Fbanner SVGs + `Icon`\u002F`Banner` wiring and the renovate \u002F\nregistry-health \u002F clear-autorelease workflows, and grades the follow-ups it can't\ndo itself. Before the first release, run `just assets` (rasterizes `icon.svg` \u002F\n`banner.svg` → the PNGs the registry serves; needs `rsvg-convert`) and commit the\nPNGs. The screenshot pipeline stays deferred to the `comfyui-screenshot-pipeline`\nskill (`just screenshots`) — surface it as a Phase 6 follow-up.\n\nTreat the audit's ERROR rows as blocking, not as notes: `Icon`\u002F`Banner` already\npoint at PNG URLs, so a pack that skips `just assets` publishes a 404 icon. The\npack's own `tests\u002Ftest_publish_hygiene.py` fails CI on exactly that, and Phase 6\nre-checks it before hand-back.\n\n## Phase 3 — Create the GitHub repo and seed `main`\n\nSeed `main` **directly** as the first commit — no scaffold branch, no PR. The\nrepo has no branch protection yet (gitops adds it on adoption in Phase 5), so\nthis is allowed, and it avoids the branch juggling you'd otherwise hit: if the\nfirst push were a feature branch, `main` would be missing on origin, forcing a\nlater rename + default-branch change + base-branch fixups. Pushing `main` first\nsidesteps all of it. Implementation work afterward goes through feature-branch\nPRs as normal (protection is live by then).\n\n```sh\ngit init -b main\n```\n\n```sh\ngit add -A\n```\n\n```sh\ngit commit -m \"feat: scaffold comfyui-touch-resize (gesture pack)\"\n```\n\n```sh\ngh repo create \u003Cowner>\u002Fcomfyui-touch-resize --public --source . --remote origin --push\n```\n\n> **Branch-protection hook note (expect this):** in a Claude Code session the\n> `branch-protection` hook **will** block the agent from `git add`\u002F`commit` on\n> `main` (confirmed on the first real run). For a brand-new, not-yet-protected\n> repo this is a false positive. Hand the whole seed to the user as one\n> paste-safe line to run with the `! ` prefix, e.g.:\n>\n> ```\n> cd \u003Crepo> && git add -A && git commit -m \"feat: scaffold \u003Cname> (gesture pack)\" && gh repo create \u003Cowner>\u002F\u003Cname> --public --source . --remote origin --push\n> ```\n>\n> (`git add -A` and `&&`-chaining are fine in the *user's* shell — those hooks\n> are agent-side.) Do **not** work around it by seeding a feature branch — that\n> reintroduces the missing-`main`\u002Frename juggling this phase exists to avoid.\n> Don't fight the hook with quoting tricks either.\n\nThe `--push` makes the seeded `main` the default branch.\n\n## Phase 4 — Open the gitops PR (entry + transient import block)\n\nTwo edits in `\u003Ciac-dir>`, on a dedicated branch.\n\n**`\u003Ciac-dir>\u002Frepositories.tf`** — add to the active repositories `locals` block,\nnext to the other `comfyui-*` entries (mirror `comfyui-touch-connect`):\n\n```hcl\n    \"comfyui-touch-resize\" = {\n      description    = \"Selection-gated pinch-to-resize for ComfyUI nodes and groups on touch devices\"\n      visibility     = \"public\"\n      release_please = true\n      comfy_registry = true\n      topics         = [\"comfyui\", \"comfyui-nodes\", \"mobile\", \"touch\", \"resize\"]\n    }\n```\n\n**`\u003Ciac-dir>\u002Fmain.tf`** — add a transient `import` block alongside the existing\nones at the top of the file:\n\n```hcl\nimport {\n  to = github_repository.this[\"comfyui-touch-resize\"]\n  id = \"comfyui-touch-resize\"\n}\n```\n\nValidate, branch, commit, push, open the PR (run inside `\u003Ciac-dir>`):\n\n```sh\njust check\n```\n\n```sh\ngit -C \u003Ciac-dir> switch -c feat\u002Fadopt-comfyui-touch-resize\n```\n\n```sh\ngit -C \u003Ciac-dir> add repositories.tf main.tf\n```\n\n```sh\ngit -C \u003Ciac-dir> commit -m \"feat: adopt comfyui-touch-resize (comfy_registry)\"\n```\n\n```sh\ngit -C \u003Ciac-dir> push -u origin feat\u002Fadopt-comfyui-touch-resize\n```\n\n```sh\ngh pr create -R \u003Ciac-repo> -a @me -l chore -l opentofu --title \"feat: adopt comfyui-touch-resize (comfy_registry)\" --body-file \u002Ftmp\u002Fgitops-pr-body.md\n```\n\nWrite a short body (to `\u002Ftmp\u002Fgitops-pr-body.md`) rather than `--fill` — it's an\ninfra PR that triggers an apply, so spell out what merge does: imports the repo,\npushes `REGISTRY_ACCESS_TOKEN` + release-please credentials, applies the\nbranch-protection ruleset, and that a follow-up PR removes the import block. Use\nlabels `chore` + `opentofu` (check they exist with\n`gh label list -R \u003Ciac-repo>`).\n\nSet metadata per `github-metadata-hygiene` (assignee `@me`, the running user;\nskip self-reviewer, since the author is the running user). The `tofu-plan.yml` workflow\nposts the plan as a comment on the PR; the expected plan **imports** the repo\nand **creates** the\n`REGISTRY_ACCESS_TOKEN` secret + release-please var\u002Fsecret + branch-protection\nruleset.\n\n## Phase 5 — Human gate, then finish\n\nHand the user the new repo URL and the **gitops PR** URL. **The user merges the\ngitops PR** — that starts the apply chain on shared infra state (release-please\ncuts a gitops release PR; merging that publishes a release, which triggers\n`tofu-apply.yml`). Do not merge it for them.\n\nAfter the user confirms the tofu apply landed, verify the wiring and remove the\nnow-dead import block:\n\n```sh\ngh secret list -R \u003Cowner>\u002Fcomfyui-touch-resize\n```\n\n```sh\ngh api repos\u002F\u003Cowner>\u002Fcomfyui-touch-resize\u002Factions\u002Fvariables\u002FRELEASE_PLEASE_APP_ID --jq .name\n```\n\n`REGISTRY_ACCESS_TOKEN` should be listed; the variable lookup should return its\nname. Then open the import-block-removal follow-up PR (it is a one-time\nadoption artifact — leaving it is harmless but untidy):\n\n```sh\ngit -C \u003Ciac-dir> switch -c chore\u002Fremove-comfyui-touch-resize-import\n```\n\nRemove the `import { … \"comfyui-touch-resize\" … }` block from `main.tf`, then:\n\n```sh\ngit -C \u003Ciac-dir> commit -am \"chore: remove one-time import block for comfyui-touch-resize\"\n```\n\n```sh\ngit -C \u003Ciac-dir> push -u origin chore\u002Fremove-comfyui-touch-resize-import\n```\n\n```sh\ngh pr create -R \u003Ciac-repo> -a @me -l chore --fill --title \"chore: remove comfyui-touch-resize import block\"\n```\n\n## Adapting Phases 3–5 to another repo class\n\nPhases 3–5 are repo-class-agnostic: the seed-`main`-first rationale, the\nbranch-protection hook workaround, the `import`-block mechanics, the human gate,\nand the import-block-removal follow-up are identical for a ComfyUI pack, a\nFoundryVTT module, or anything else gitops adopts. Only these values change —\nsubstitute them and the phases read verbatim:\n\n| Substitute | ComfyUI pack (the examples above) | How to find yours |\n|---|---|---|\n| Repo name | `comfyui-touch-resize` | The caller skill's Phase 0 spec |\n| `\u003Ciac-dir>` | A sibling clone of the pack directory | The clone's path relative to where you run, e.g. `..\u002F\u003Cname>` from a nested workspace |\n| `repositories.tf` adoption flags | `release_please = true` + `comfy_registry = true` | `release_please = true` is universal; extra flags are per-repo-class |\n| Seed commit subject | `feat: scaffold \u003Cname> (gesture pack)` | `feat: scaffold \u003Cname> (\u003Cvariant> \u003Cnoun>)` |\n| Phase 5 verification | `gh secret list` (`REGISTRY_ACCESS_TOKEN`) **and** the `RELEASE_PLEASE_APP_ID` variable lookup | Check one probe per flag you set; `release_please` always means the `RELEASE_PLEASE_APP_ID` variable |\n\nEverything else — the commands, the PR-body guidance, the labels, the metadata\nhygiene, the failure-mode rows below — applies unchanged.\n\n## Phase 6 — Verify the finishing pass, then hand back\n\n**Run the gate before declaring done** — do not close on a self-authored summary:\n\n```sh\npython3 ${CLAUDE_SKILL_DIR}\u002F..\u002Fcomfyui-node-scaffold\u002Fscaffold.py --verify comfyui-touch-resize\n```\n\nRead `STATUS=`; the exit code is 1 on ERROR.\n\n| `STATUS=` | Action |\n|-----------|--------|\n| `ERROR` | **Not done.** Finish it now — the ERROR rows are publish-blocking (missing `icon.png`\u002F`banner.png`, or surviving `PLACEHOLDER-GLYPH`). `just assets`, commit the PNGs, re-run. |\n| `WARN` | Deferrable. Log each WARN to `project:comfyui-nodes` in taskwarrior (the queue that outlives this session) and say so in the hand-back. |\n| `OK` | Hand back. |\n\nAn ERROR is never a follow-up item. It shipped that way three times —\n`comfyui-touch-manager` (`Icon = \"\"`, weeks), `comfyui-output-swap` (31 hours),\n`comfyui-touch-shim` — each recorded in the closing report as \"tracked, not\nblocking\" and each caught only when the user noticed.\n\nThe pipeline is now live: conventional-commit feature PRs → merge → release-please\nPR → merge → tag → `publish.yml` publishes to registry.comfy.org. Tell the user\nwhat's left:\n\n- Implement the pack logic (for `gesture`: tune `web\u002Fjs\u002F\u003Cshort>.js` — groups\n  support, affordance hint, the anisotropic-scale TODO).\n- First merged `feat:`\u002F`fix:` commits drive the first release-please PR.\n\nLog durable follow-ups (groups support, browser smoke matrix, the jsdom modal\nDOM test gap) to `project:comfyui-nodes` per `taskwarrior-cross-session`.\n\n## Failure modes & guards\n\nWhen a phase fails — `publish.yml` `--token` error, empty release-please `app-id`, `403` on repo create, a tofu plan showing *create* instead of *import*, red `just check` in gitops — look up the symptom in [references\u002Ffailure-modes.md](references\u002Ffailure-modes.md).\n\n## Notes\n\n- The orchestrator never runs `tofu apply` — all applies go through the gitops\n  repo's apply workflow (here, `tofu-apply.yml` triggered by publishing the\n  release-please release; see `\u003Ciac-dir>\u002FCLAUDE.md` or its README). Local\n  `\u003Ciac-dir>` work is `plan`\u002F`validate` only.\n- The scaffold now emits the registry finishing-pass pieces (icon\u002Fbanner SVGs +\n  wiring, renovate + registry-health + clear-autorelease workflows) and audits\n  for the rest; `just assets` (rsvg-convert) produces the served PNGs. See the\n  finishing-pass note in Phase 2 (issue #1877).\n- Screenshots pipeline + `docs\u002Fblueprint\u002F` PRD\u002FADR set are not scaffolded; add\n  them later from a reference pack (the `comfyui-screenshot-pipeline` skill) if\n  the pack warrants them.\n",{"name":5,"model":28,"created":46,"modified":47,"reviewed":48,"description":7,"allowed-tools":49},1780531200000,1794009600000,1785283200000,"Bash, Read, Write, Edit, Grep, Glob, TodoWrite, AskUserQuestion","main","9d783554148f9c8a9c55a486b480760d3da673e6","comfyui-plugin\u002Fskills\u002Fcomfy-node",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add laurigates\u002Fclaude-plugins --skill comfy-node",{"tool":64,"command":65},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill comfy-node",{"tool":67,"command":68},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill comfy-node","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcomfyui-plugin\u002Fskills\u002Fcomfy-node\u002FSKILL.md",true,[72,78,82],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"evals.json","REFERENCE","参考文档",5957,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcomfyui-plugin\u002Fskills\u002Fcomfy-node\u002Fevals.json",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Ffailure-modes.md",1333,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcomfyui-plugin\u002Fskills\u002Fcomfy-node\u002Freferences\u002Ffailure-modes.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fpipeline-overview.md",1096,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcomfyui-plugin\u002Fskills\u002Fcomfy-node\u002Freferences\u002Fpipeline-overview.md",[87,95,121,140,156,178],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":106,"publishedAt":41},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[101],{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[107,108,109,110,111,112,113,114,37,115,36,25,35,116,117,118,119,120,22,33],"show","kitty show image","image","kitty","show image","ls","get","send","dev","file","text","with","xdg","via",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":41},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[110,128,129,130,131,132,25,35,133,134,135,22,33,32,31,136,137,138,139,36],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","snapshot","macos","sessions","restore",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":41},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[147,148,110,149,150,112,151,152,113,153,154,36,25,155,35,117,118,135,22,33],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":41},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[163,164,165,166,167,168,169,39,170,171,36,25,35,172,116,173,174,175,176,177],"docs reference check","check","reference check","reference","docs","links","python3","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":193,"publishedAt":41},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[184,187,188],{"categoryNo":185,"categoryName":186,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},{"categoryNo":189,"categoryName":190,"taxonomyType":191,"taxonomyTypeDesc":192},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[194,195,196,197,169,198,33,199,31,200,201,202,36,35,116,203,204,25,205,206,207,120,22],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]