[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADX13CASSQPH1RQD22XQE0":3,"skill-same:01M6ADX13CASSQPH1RQD22XQE0":64},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6ADX13CASSQPH1RQD22XQE0","npm-trusted-publishing",null,"Set up or fix npm trusted publishing (OIDC) in GitHub Actions and remove NPM_TOKEN. Use for ENEEDAUTH, E404 on PUT, E422 repository.url, or migrating off 2FA-bypass tokens before January 2027.","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fnpm-trusted-publishing\u002FSKILL.md",[],[19,20,21,22,9,23,24,25,26,27,28,29,30,31,32,33,34],"npm","npm trusted publishing","publishing","for","URL","tokens","token","up","use","remove","fix","oidc","SET","github actions","actions","repository","2026-11-10 10:12:30",false,"---\nname: npm-trusted-publishing\ndescription: Set up or fix npm trusted publishing (OIDC) in GitHub Actions and remove NPM_TOKEN. Use for ENEEDAUTH, E404 on PUT, E422 repository.url, or migrating off 2FA-bypass tokens before January 2027.\n---\n\n# npm Trusted Publishing\n\nMoves a GitHub Actions release from a stored `NPM_TOKEN` to npm [trusted publishing](https:\u002F\u002Fdocs.npmjs.com\u002Ftrusted-publishers). GitHub signs a short-lived OIDC token for the run, and npm exchanges it for a publish token. It also diagnoses the misleading errors a half-finished migration produces. From January 2027, granular tokens that bypass 2FA can no longer publish directly ([npm docs](https:\u002F\u002Fdocs.npmjs.com\u002Fabout-access-tokens\u002F)).\n\n## When to Use This Skill\n\n- The user wants to remove `NPM_TOKEN` \u002F `NODE_AUTH_TOKEN` from a release workflow or set up OIDC or provenance publishing.\n- A CI publish fails with `ENEEDAUTH`, `404 Not Found - PUT https:\u002F\u002Fregistry.npmjs.org\u002F...` or `E422 ... repository.url`.\n- Release logs show `npm notice npm tokens that bypass 2FA are being restricted`.\n\n## Checklist (all must hold)\n\nWork through every item. Missing any one of them produces the errors above.\n\n1. **OIDC permission:** the publishing job has `permissions: id-token: write`. If the job had no `permissions` block, keep the scopes it needs, such as `contents: write` for tags and releases or `pull-requests: write` for changesets. Adding a block drops every scope you don't list.\n2. **npm 11.5.1 or newer** runs the publish. Node 24 ships it. Node 22 ships npm 10, so add `npm install -g npm@^11.5.1` (or a newer pinned major) before publishing. pnpm 10 hands the publish to npm, so the same rule applies. Yarn Berry needs 4.10.3+.\n3. **No token reaches the publish step.** Remove `NODE_AUTH_TOKEN`, `NPM_TOKEN` and `YARN_NPM_AUTH_TOKEN` from the step, the job and the workflow `env`, and delete script lines that write `_authToken` or `npmAuthToken`. npm tries OIDC first but falls back to a configured token, so a leftover token keeps the old credential in use. Keep a **read-only** token only on install steps that need private packages.\n4. **`actions\u002Fsetup-node` has `registry-url: https:\u002F\u002Fregistry.npmjs.org`.**\n5. **`package.json` `repository.url` names the same GitHub repo**, for example `git+https:\u002F\u002Fgithub.com\u002FOWNER\u002FREPO.git`, plus `directory` for workspace packages. A mismatch gives E422.\n6. **A trusted publisher exists on npm for each package** (npmjs.com → package → Settings → Trusted publishing), or with npm 11.15+:\n   `npm trust github \u003Cpkg> --repo OWNER\u002FREPO --file release.yml --allow-publish --yes`\n   - The workflow **file name** must match exactly; it is case-sensitive and includes `.yml`.\n   - For a **reusable workflow**, use the *calling* workflow's file name, and grant `id-token: write` in the caller too.\n   - If the job uses `environment:`, set the same environment on the publisher.\n   - A package that doesn't exist yet must be published once by hand first.\n7. **GitHub-hosted runner.** Self-hosted runners can't use trusted publishing.\n\n## Security Rules\n\n- **Untrusted triggers:** never add `id-token: write` to a job in a workflow triggered by `pull_request_target`, `issue_comment`, `workflow_run` or `discussion`. It would let outsiders exchange an OIDC token and publish. Move publishing to `release`, `push` (tags) or `workflow_dispatch`.\n- **Dry runs:** `npm publish --dry-run` and `npm pack` jobs don't publish, so they need no `id-token` and no trusted publisher.\n- **The old token:** delete the secret (`gh secret delete NPM_TOKEN`) and revoke it on npmjs.com only after the first tokenless release succeeds.\n\n## Error Guide\n\n| Error | Usual cause |\n|---|---|\n| `ENEEDAUTH` | No `id-token: write`, npm older than 11.5.1, or a workflow file name that doesn't match the trusted publisher |\n| `404 Not Found - PUT https:\u002F\u002Fregistry.npmjs.org\u002F\u003Cpkg>` | Same as above, a mismatched `environment`, no trusted publisher yet, or an expired token still being used |\n| `E422 ... repository.url` | `repository` is missing in `package.json` or names another repo |\n| Publish still uses the token | A token remains in env, `.npmrc` or `.yarnrc.yml` (checklist item 3) |\n\n## Example\n\n```yaml\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    steps:\n      - uses: actions\u002Fcheckout@v5\n      - uses: actions\u002Fsetup-node@v6\n        with:\n          node-version: 24\n          registry-url: https:\u002F\u002Fregistry.npmjs.org\n      - run: npm ci\n      - run: npm publish --access public   # no NODE_AUTH_TOKEN\n```\n\n## Automating It\n\n[go-tokenless](https:\u002F\u002Fgithub.com\u002FContinuous-Actions\u002Fgo-tokenless) (MIT) applies this checklist to an existing repository. Use it when the user wants the edits made for them.\n- `npx go-tokenless` prints a read-only diff of the workflow and `package.json` changes, plus the `npm trust` commands.\n- `npx go-tokenless apply` writes the changes.\n- It refuses the unsafe cases above instead of guessing.\n\n## Limitations\n\n- The npm side (adding the trusted publisher, deleting the old token) needs the user's npm login with 2FA. Hand those steps to the user.\n- Trusted publishing covers GitHub Actions, GitLab.com and CircleCI cloud only.\n","# npm Trusted Publishing\n\nMoves a GitHub Actions release from a stored `NPM_TOKEN` to npm [trusted publishing](https:\u002F\u002Fdocs.npmjs.com\u002Ftrusted-publishers). GitHub signs a short-lived OIDC token for the run, and npm exchanges it for a publish token. It also diagnoses the misleading errors a half-finished migration produces. From January 2027, granular tokens that bypass 2FA can no longer publish directly ([npm docs](https:\u002F\u002Fdocs.npmjs.com\u002Fabout-access-tokens\u002F)).\n\n## When to Use This Skill\n\n- The user wants to remove `NPM_TOKEN` \u002F `NODE_AUTH_TOKEN` from a release workflow or set up OIDC or provenance publishing.\n- A CI publish fails with `ENEEDAUTH`, `404 Not Found - PUT https:\u002F\u002Fregistry.npmjs.org\u002F...` or `E422 ... repository.url`.\n- Release logs show `npm notice npm tokens that bypass 2FA are being restricted`.\n\n## Checklist (all must hold)\n\nWork through every item. Missing any one of them produces the errors above.\n\n1. **OIDC permission:** the publishing job has `permissions: id-token: write`. If the job had no `permissions` block, keep the scopes it needs, such as `contents: write` for tags and releases or `pull-requests: write` for changesets. Adding a block drops every scope you don't list.\n2. **npm 11.5.1 or newer** runs the publish. Node 24 ships it. Node 22 ships npm 10, so add `npm install -g npm@^11.5.1` (or a newer pinned major) before publishing. pnpm 10 hands the publish to npm, so the same rule applies. Yarn Berry needs 4.10.3+.\n3. **No token reaches the publish step.** Remove `NODE_AUTH_TOKEN`, `NPM_TOKEN` and `YARN_NPM_AUTH_TOKEN` from the step, the job and the workflow `env`, and delete script lines that write `_authToken` or `npmAuthToken`. npm tries OIDC first but falls back to a configured token, so a leftover token keeps the old credential in use. Keep a **read-only** token only on install steps that need private packages.\n4. **`actions\u002Fsetup-node` has `registry-url: https:\u002F\u002Fregistry.npmjs.org`.**\n5. **`package.json` `repository.url` names the same GitHub repo**, for example `git+https:\u002F\u002Fgithub.com\u002FOWNER\u002FREPO.git`, plus `directory` for workspace packages. A mismatch gives E422.\n6. **A trusted publisher exists on npm for each package** (npmjs.com → package → Settings → Trusted publishing), or with npm 11.15+:\n   `npm trust github \u003Cpkg> --repo OWNER\u002FREPO --file release.yml --allow-publish --yes`\n   - The workflow **file name** must match exactly; it is case-sensitive and includes `.yml`.\n   - For a **reusable workflow**, use the *calling* workflow's file name, and grant `id-token: write` in the caller too.\n   - If the job uses `environment:`, set the same environment on the publisher.\n   - A package that doesn't exist yet must be published once by hand first.\n7. **GitHub-hosted runner.** Self-hosted runners can't use trusted publishing.\n\n## Security Rules\n\n- **Untrusted triggers:** never add `id-token: write` to a job in a workflow triggered by `pull_request_target`, `issue_comment`, `workflow_run` or `discussion`. It would let outsiders exchange an OIDC token and publish. Move publishing to `release`, `push` (tags) or `workflow_dispatch`.\n- **Dry runs:** `npm publish --dry-run` and `npm pack` jobs don't publish, so they need no `id-token` and no trusted publisher.\n- **The old token:** delete the secret (`gh secret delete NPM_TOKEN`) and revoke it on npmjs.com only after the first tokenless release succeeds.\n\n## Error Guide\n\n| Error | Usual cause |\n|---|---|\n| `ENEEDAUTH` | No `id-token: write`, npm older than 11.5.1, or a workflow file name that doesn't match the trusted publisher |\n| `404 Not Found - PUT https:\u002F\u002Fregistry.npmjs.org\u002F\u003Cpkg>` | Same as above, a mismatched `environment`, no trusted publisher yet, or an expired token still being used |\n| `E422 ... repository.url` | `repository` is missing in `package.json` or names another repo |\n| Publish still uses the token | A token remains in env, `.npmrc` or `.yarnrc.yml` (checklist item 3) |\n\n## Example\n\n```yaml\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    steps:\n      - uses: actions\u002Fcheckout@v5\n      - uses: actions\u002Fsetup-node@v6\n        with:\n          node-version: 24\n          registry-url: https:\u002F\u002Fregistry.npmjs.org\n      - run: npm ci\n      - run: npm publish --access public   # no NODE_AUTH_TOKEN\n```\n\n## Automating It\n\n[go-tokenless](https:\u002F\u002Fgithub.com\u002FContinuous-Actions\u002Fgo-tokenless) (MIT) applies this checklist to an existing repository. Use it when the user wants the edits made for them.\n- `npx go-tokenless` prints a read-only diff of the workflow and `package.json` changes, plus the `npm trust` commands.\n- `npx go-tokenless apply` writes the changes.\n- It refuses the unsafe cases above instead of guessing.\n\n## Limitations\n\n- The npm side (adding the trusted publisher, deleting the old token) needs the user's npm login with 2FA. Hand those steps to the user.\n- Trusted publishing covers GitHub Actions, GitLab.com and CircleCI cloud only.\n",{"name":5,"description":7},"main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fnpm-trusted-publishing",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add github\u002Fawesome-copilot --skill npm-trusted-publishing",{"tool":56,"command":57},"bunx","bunx skills add github\u002Fawesome-copilot --skill npm-trusted-publishing",{"tool":59,"command":60},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill npm-trusted-publishing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fnpm-trusted-publishing\u002FSKILL.md",true,[],[65,73,80,90,124,150],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":72},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":89},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":104,"publishedAt":35},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[96,101],{"categoryNo":97,"categoryName":98,"taxonomyType":99,"taxonomyTypeDesc":100},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":102,"categoryName":103,"taxonomyType":99,"taxonomyTypeDesc":100},"01JBSEEDCAT000000000000023","Skill与智能体开发",[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,27,122,123],"supabase rls policies","supabase rls","supabase","rls","project","with","when","review","change","read","write","security","isolation","tables","as","tests","prove","users","functions",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":131,"publishedAt":35},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[130],{"categoryNo":102,"categoryName":103,"taxonomyType":99,"taxonomyTypeDesc":100},[132,133,134,135,136,137,138,139,140,141,31,142,143,22,144,145,146,147,148,149],"distribution","skill distribution audit","audit","output","reconcile","release","template","duplicate","investigate","drift","deterministic","installer","discovery","comparison","helper","manifest","version","collection",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":154,"sourceHtmlUrl":155,"categories":156,"keywords":162,"publishedAt":35},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[157],{"categoryNo":158,"categoryName":159,"taxonomyType":160,"taxonomyTypeDesc":161},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[163,164,165,166,167,168,169,22,109,170,171,172,173,174,175,176,27,177,178,179],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]