[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B1MSAF3H3B30Q3QH4KS1M4":3,"skill-same:01M7B1MSAF3H3B30Q3QH4KS1M4":49},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7B1MSAF3H3B30Q3QH4KS1M4","patch-vulnerabilities",null,"Patch every open Dependabot security alert (github.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot) in one consolidated PR. Fetches the open alerts, bumps direct dependencies to the higher of the current version and the alert's first patched version (verifying the winner clears the advisory's vulnerable range), chases transitive alerts with in-range lockfile updates, authors changesets for affected publishable packages, and produces a PR body that enumerates every fixed vulnerability with a link to its dashboard alert. Alerts that in-range updates cannot clear are listed for manual attention rather than silently skipped. Use when the security dashboard has open alerts to burn down. Do NOT use for routine version bumps — that's consolidate-deps. The mechanics are implemented in `scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs`, which the daily consolidate-deps workflow also runs, so a manual run and the automated one behave identically.","torkelo\u002Fscenes2","torkelo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10999?v=4","01M7B1G6RRGVK2TZGTJ2813VJ4","Torkel Ödegaard","01M7B1G6SAYVTDC3NWMBPX16TB",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpatch-vulnerabilities\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: patch-vulnerabilities\ndescription: Patch every open Dependabot security alert (github.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot) in one consolidated PR. Fetches the open alerts, bumps direct dependencies to the higher of the current version and the alert's first patched version (verifying the winner clears the advisory's vulnerable range), chases transitive alerts with in-range lockfile updates, authors changesets for affected publishable packages, and produces a PR body that enumerates every fixed vulnerability with a link to its dashboard alert. Alerts that in-range updates cannot clear are listed for manual attention rather than silently skipped. Use when the security dashboard has open alerts to burn down. Do NOT use for routine version bumps — that's consolidate-deps. The mechanics are implemented in `scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs`, which the daily consolidate-deps workflow also runs, so a manual run and the automated one behave identically.\nmetadata:\n  generated: hatch@v1.2.0\n  source: .hatch\u002F_skills\u002Fpatch-vulnerabilities\u002FSKILL.md\n---\n\n# Patch vulnerabilities\n\nBurns down the open [Dependabot alerts](https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot)\nin one consolidated PR. The deterministic mechanics live in\n`scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs` — shared with the daily\nconsolidate-deps workflow — so this skill is orchestration plus judgment, not\nparsing.\n\n## Phase 0 — Preconditions\n\n1. `gh auth status` — your token needs Dependabot-alerts read (repo admin or\n   security-events scope). Verify with:\n\n   ```bash\n   gh api \u002Frepos\u002Fgrafana\u002Fdesign\u002Fdependabot\u002Falerts?state=open --jq length\n   ```\n\n2. Clean working tree on up-to-date `main`; create a branch:\n\n   ```bash\n   git checkout main && git pull --ff-only\n   git checkout -b security\u002Fpatch-vulnerabilities\n   ```\n\n## Phase 1 — Run the pipeline\n\n```bash\nGITHUB_TOKEN=$(gh auth token) GITHUB_REPOSITORY=grafana\u002Fdesign \\\n  node scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs \\\n  --scratch \u002Ftmp\u002Fvuln-scratch --date \"$(date -u +%Y%m%d)\"\n```\n\nWhat it does, per alerted npm package:\n\n- **Direct dependency** (named in a manifest): bump to the **higher** of the\n  current version and the alert's first patched version — the reconciliation\n  rule — and verify the winner falls outside the advisory's vulnerable range.\n  A current version that already clears the range is recorded as `covered`.\n- **Transitive dependency** (lockfile only — the majority): `pnpm --recursive\nupdate \u003Cpkg>` within the parents' declared ranges, then re-check the\n  lockfile against the vulnerable range.\n- **Changesets**: affected publishable packages get a grouped `patch`.\n- Results land in `\u003Cscratch>\u002Fplan.json` under `security`:\n  `patched` \u002F `covered` \u002F `manual`.\n\n## Phase 2 — Judgment on the `manual` list\n\nThe script never forces what in-range updates can't reach. For each `manual`\nentry, decide:\n\n- **Parent bump**: is a newer parent release available whose range includes\n  the patched version? Prefer this — it fixes the tree honestly.\n- **`pnpm.overrides` pin** (root `package.json`): the escape hatch when\n  parents lag. An override outlives the alert and needs an owner — add a\n  comment naming the alert and file a follow-up issue to remove it once the\n  parent catches up.\n- **Genuinely unfixable yet** (no patched release for our major, non-npm\n  ecosystem): leave it in the PR body's warning list; consider dismissing the\n  alert on the dashboard with a reason if it does not apply to our usage.\n\n## Phase 3 — Verify\n\n```bash\npnpm preflight\n```\n\nThen check the alert count would actually drop: every `patched` entry's\npackage should resolve outside its vulnerable range in `pnpm-lock.yaml`\n(the script already verified this — spot-check one or two).\n\n## Phase 4 — PR\n\nBuild the body's security section from the plan (same renderer the workflow\nuses), then commit and push:\n\n```bash\nnode --input-type=module -e \"\nimport { readFileSync } from 'node:fs';\nconst { buildBody } = await import('.\u002Fscripts\u002Fconsolidate-deps\u002Fpublish.mjs');\nconsole.log(buildBody(JSON.parse(readFileSync('\u002Ftmp\u002Fvuln-scratch\u002Fplan.json','utf8')), 'pass'));\n\"\n```\n\nThe PR body must enumerate **every** vulnerability being fixed with a link to\nits dashboard alert (`https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot\u002F\u003Cn>`)\n— the renderer does this — plus anything you resolved by hand in Phase 2.\nCommit granularity: script output as one commit; each Phase 2 manual\nresolution as its own commit explaining the choice.\n\n**Stop before pushing** and report: patched \u002F covered \u002F manual counts, what\nPhase 2 decided, and the drafted body. Pushing and opening the PR are the\nhuman's call.\n\n## Notes\n\n- Renovate's security PRs (which bypass the age gate) may race this skill —\n  a bump the script applies that renovate also proposed will auto-close\n  renovate's PR after merge, same as consolidate-deps.\n- The daily consolidate-deps workflow runs the same script after applying\n  renovate bumps, so the reconciliation rule (higher version wins when both\n  target one package) is exercised automatically there.\n","# Patch vulnerabilities\n\nBurns down the open [Dependabot alerts](https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot)\nin one consolidated PR. The deterministic mechanics live in\n`scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs` — shared with the daily\nconsolidate-deps workflow — so this skill is orchestration plus judgment, not\nparsing.\n\n## Phase 0 — Preconditions\n\n1. `gh auth status` — your token needs Dependabot-alerts read (repo admin or\n   security-events scope). Verify with:\n\n   ```bash\n   gh api \u002Frepos\u002Fgrafana\u002Fdesign\u002Fdependabot\u002Falerts?state=open --jq length\n   ```\n\n2. Clean working tree on up-to-date `main`; create a branch:\n\n   ```bash\n   git checkout main && git pull --ff-only\n   git checkout -b security\u002Fpatch-vulnerabilities\n   ```\n\n## Phase 1 — Run the pipeline\n\n```bash\nGITHUB_TOKEN=$(gh auth token) GITHUB_REPOSITORY=grafana\u002Fdesign \\\n  node scripts\u002Fconsolidate-deps\u002Fpatch-vulnerabilities.mjs \\\n  --scratch \u002Ftmp\u002Fvuln-scratch --date \"$(date -u +%Y%m%d)\"\n```\n\nWhat it does, per alerted npm package:\n\n- **Direct dependency** (named in a manifest): bump to the **higher** of the\n  current version and the alert's first patched version — the reconciliation\n  rule — and verify the winner falls outside the advisory's vulnerable range.\n  A current version that already clears the range is recorded as `covered`.\n- **Transitive dependency** (lockfile only — the majority): `pnpm --recursive\nupdate \u003Cpkg>` within the parents' declared ranges, then re-check the\n  lockfile against the vulnerable range.\n- **Changesets**: affected publishable packages get a grouped `patch`.\n- Results land in `\u003Cscratch>\u002Fplan.json` under `security`:\n  `patched` \u002F `covered` \u002F `manual`.\n\n## Phase 2 — Judgment on the `manual` list\n\nThe script never forces what in-range updates can't reach. For each `manual`\nentry, decide:\n\n- **Parent bump**: is a newer parent release available whose range includes\n  the patched version? Prefer this — it fixes the tree honestly.\n- **`pnpm.overrides` pin** (root `package.json`): the escape hatch when\n  parents lag. An override outlives the alert and needs an owner — add a\n  comment naming the alert and file a follow-up issue to remove it once the\n  parent catches up.\n- **Genuinely unfixable yet** (no patched release for our major, non-npm\n  ecosystem): leave it in the PR body's warning list; consider dismissing the\n  alert on the dashboard with a reason if it does not apply to our usage.\n\n## Phase 3 — Verify\n\n```bash\npnpm preflight\n```\n\nThen check the alert count would actually drop: every `patched` entry's\npackage should resolve outside its vulnerable range in `pnpm-lock.yaml`\n(the script already verified this — spot-check one or two).\n\n## Phase 4 — PR\n\nBuild the body's security section from the plan (same renderer the workflow\nuses), then commit and push:\n\n```bash\nnode --input-type=module -e \"\nimport { readFileSync } from 'node:fs';\nconst { buildBody } = await import('.\u002Fscripts\u002Fconsolidate-deps\u002Fpublish.mjs');\nconsole.log(buildBody(JSON.parse(readFileSync('\u002Ftmp\u002Fvuln-scratch\u002Fplan.json','utf8')), 'pass'));\n\"\n```\n\nThe PR body must enumerate **every** vulnerability being fixed with a link to\nits dashboard alert (`https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fdesign\u002Fsecurity\u002Fdependabot\u002F\u003Cn>`)\n— the renderer does this — plus anything you resolved by hand in Phase 2.\nCommit granularity: script output as one commit; each Phase 2 manual\nresolution as its own commit explaining the choice.\n\n**Stop before pushing** and report: patched \u002F covered \u002F manual counts, what\nPhase 2 decided, and the drafted body. Pushing and opening the PR are the\nhuman's call.\n\n## Notes\n\n- Renovate's security PRs (which bypass the age gate) may race this skill —\n  a bump the script applies that renovate also proposed will auto-close\n  renovate's PR after merge, same as consolidate-deps.\n- The daily consolidate-deps workflow runs the same script after applying\n  renovate bumps, so the reconciliation rule (higher version wins when both\n  target one package) is exercised automatically there.\n",{"name":5,"metadata":24,"description":7},{"source":25,"generated":26},".hatch\u002F_skills\u002Fpatch-vulnerabilities\u002FSKILL.md","hatch@v1.2.0","main","9b85ba995139627c15a6ef1cec1daec64659cf75",".claude\u002Fskills\u002Fpatch-vulnerabilities","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2","https:\u002F\u002Fgithub.com\u002Ftorkelo","https:\u002F\u002Fgrafana.com","Grafana Labs Co-Founder, Grafana Creator & product manager & lead architect.  ","2026-11-14 19:30:54",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add torkelo\u002Fscenes2 --skill patch-vulnerabilities",{"tool":41,"command":42},"bunx","bunx skills add torkelo\u002Fscenes2 --skill patch-vulnerabilities",{"tool":44,"command":45},"pnpm","pnpm dlx skills add torkelo\u002Fscenes2 --skill patch-vulnerabilities","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpatch-vulnerabilities\u002FSKILL.md",true,[],[50,57,64,69,74,81],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7B1QT196EFM12F7737ZFBJ3","validate-plugin","validate a Grafana plugin using the official Grafana plugin validator","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.codex\u002Fskills\u002Fvalidate-plugin\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7B1QQGHG8JJ9MK4BY2V8879","build-plugin","build a Grafana plugin using the standard build process (frontend and backend if applicable)","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.codex\u002Fskills\u002Fbuild-plugin\u002FSKILL.md",[],[],{"skillNo":65,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7B1QPP9RN7E1KNMRK9D8V6M","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.claude\u002Fskills\u002Fvalidate-plugin\u002FSKILL.md",[],[],{"skillNo":70,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7B1QN3V9SQ7H6WXNZDMQ57Q","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002Fapps\u002Fdemo-app\u002F.claude\u002Fskills\u002Fbuild-plugin\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7B1QJEW06858M7GC4EM46B5","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.hatch\u002F_skills\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7B1QGEPPZQQNRJRXTQVZAKC","snag-fixer","Lightweight agent for quick fixes, tweaks, and small improvements. Optimized for single-task focused work without bloating context. Used by snag workflow for sequential fix processing.","https:\u002F\u002Fgithub.com\u002Ftorkelo\u002Fscenes2\u002Fblob\u002Fmain\u002F.hatch\u002F_skills\u002Fsnag-fixer\u002FSKILL.md",[],[]]