[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M781A5YVBKB5JZV1BYQ4DHGK":3,"skill-same:01M781A5YVBKB5JZV1BYQ4DHGK":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M781A5YVBKB5JZV1BYQ4DHGK","add-external-skill",null,"Add or update external skills, their Codex\u002Fpi outcomes, and the generated catalog. Usage: \u002Fadd-external-skill \u003Cowner\u002Frepo> [path] [name] | \u002Fadd-external-skill update","filippolmt\u002Fskills","filippolmt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F61194571?v=4","01M7808VK1A8QF8ZXGT2DWTKHS","Filippo Merante Caparrotta","01M7808VKN74HC3EZMK8EV35KS",1,"MIT","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-external-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-external-skill\ndescription: \"Add or update external skills, their Codex\u002Fpi outcomes, and the generated catalog. Usage: \u002Fadd-external-skill \u003Cowner\u002Frepo> [path] [name] | \u002Fadd-external-skill update\"\n---\n\nKeep the marketplace catalog, cross-harness distribution metadata, and generated\ndocumentation in sync with upstream external skills.\n\nArguments: `$ARGUMENTS`\n- `\u003Cowner\u002Frepo> [path] [name]` → **add mode** (default).\n- `update` (optionally `update \u003Cowner\u002Frepo>` to scope to one repo) → **update mode**.\n\nDefault `name` to the skill folder's basename for a per-skill entry, or the\nupstream manifest's name for a whole-plugin entry. If Claude rejects that name as\nreserved, choose a descriptive catalog alias and report it; keep the upstream\nsource unchanged.\n\n## Fetches\n\nBoth modes use these. `HEAD` resolves the repo's default branch, so `main` vs\n`master` is never a guess.\n\nSkill folders in a repo:\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fgit\u002Ftrees\u002FHEAD?recursive=1\" \\\n  | jq -r '.tree[] | select(.path | endswith(\"\u002FSKILL.md\")) | .path | sub(\"\u002FSKILL.md$\";\"\")'\n```\nLatest tags (does this repo publish semver tags?):\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Ftags?per_page=5\" | jq -r '.[].name'\n```\nThe SHA a `ref` resolves to — `HEAD` for a branch pin, the tag name for a tag pin:\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcommits\u002F\u003Cref>\" \\\n  -H \"Accept: application\u002Fvnd.github.sha\"\n```\nA skill's upstream frontmatter `description` — the **one-liner**, usually its\nfirst sentence:\n```bash\ncurl -fsSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F\u003Cowner>\u002F\u003Crepo>\u002F\u003Csha>\u002F\u003Cpath>\u002FSKILL.md\"\n```\nThe upstream author comes from the source that owns the attribution: its plugin\nmanifest first, then its licence, then the GitHub owner's profile. The manifest\ncounts only when the entry's `path` is that plugin root; a standalone skill folder\ntakes its licence's copyright holder, plus every author the skill itself credits\nfor its content (`metadata.credits`, a `CREDITS.md`): `pr` is \"Matt Pocock and\nDex Horthy\". Preserve multiple credited authors; do not substitute the\nmarketplace owner.\n\n## Pinning the `ref`\n\nRenovate updates an entry only when its `ref` has one of two shapes — one\n`customManager` in `renovate.json` per shape:\n\n- **Tag** — `vX.Y.Z`, optionally prefixed (`skill-v4.1.2`). Tag and `sha` bump\n  together. **The default when the repo publishes semver tags**, and what most\n  entries here use. The prefix names the tag series, so a repo publishing\n  several (`cli-v*`, `ext-v*`, `skill-v*`) only ever bumps within the one you\n  pinned.\n- **Branch** — literally `main` or `master`; the `sha` bumps to that branch's\n  HEAD. For a repo publishing no usable tags.\n\nA `ref` of any other value (`1.2.0`, `release-2026`, a bare SHA) matches neither\nmanager, and that entry is then silently never updated again.\n\n## Check upstream Codex parity\n\nAfter resolving the pinned SHA in either mode, inspect the **whole upstream repo**,\nnot only the Claude catalog path. Search its tree for native Codex surfaces such as\nroot `plugin.json`, `.codex-plugin\u002Fplugin.json`, `.agents\u002Fplugins\u002Fmarketplace.json`,\n`.agents\u002Fskills\u002F`, `.codex\u002Fhooks.json`, skill-adjacent `agents\u002F*.toml`, and OpenAI\nplugin build\u002Ftest files.\n\nFor every discovered Claude artifact:\n\n1. A normal Agent Skill is native unless upstream ships a Codex-specific variant;\n   prefer that variant when it exists.\n2. Compare commands, agents, hooks and MCP configuration with candidate Codex\n   files by behavior, not filename. A native manifest that omits a Claude agent is\n   evidence of a gap, not an equivalent.\n3. When upstream owns an equivalent, record the Codex artifact as `adapted` in\n   `scripts\u002Fdistribution-meta.json`, with repo-relative `sourcePath` and a test or\n   executable proof in `evidencePath`. The generator verifies both paths at the\n   pinned SHA. Prefer this upstream implementation over generating a translation.\n4. When no equivalent exists, keep the explicit generated adaptation or\n   unsupported limitation and fallback. Never infer parity from a manifest alone.\n\nCheck runtime closure, not just file presence: a skill calling a plugin-root\nlauncher needs its scripts, shared data, dependencies, and harness-specific path\nresolution. The inventory and generated-skill validators reject unresolved\n`CLAUDE_PLUGIN_ROOT` references, and a sibling skill loaded with the Skill tool\nbut missing from `runtimeDependencies`. Use a proven upstream adaptation where\navailable; otherwise record the exact unsupported limitation and fallback. When an entire\nentry requires an unavailable runtime, `unsupportedEntries` in\n`scripts\u002Fdistribution-meta.json` supplies both harness outcomes; artifact-specific\nrecords take precedence.\n\nRun `node scripts\u002Fgen-distribution.js --verify`. Done means every artifact has one\nCodex and pi disposition, every recorded upstream equivalent exists at the pinned\nSHA, and unsupported runtime closures are not advertised as portable. This is a\ncatalog change: leave package and parity-document generation to CI's `regenerate`\nworkflow, as specified by CLAUDE.md.\n\n## Add mode\n\n1. Parse args. If `owner\u002Frepo` missing, ask for it.\n2. Decide granularity by CLAUDE.md's whole-plugin rule. A **whole-plugin** or\n   **url entry** skips per-skill discovery and takes `name` from the\n   `plugin.json`. Otherwise discover skills: `path` = a skill folder → single\n   entry; a parent folder → only folders under it (empty → stop, report);\n   omitted → all (batch).\n3. Pick the `ref` (see above), then fetch the SHA it resolves to — one SHA\n   shared by every entry from that repo. Confirm the skill's `path` exists at\n   that SHA, then run **Check upstream Codex parity**.\n4. `name` = arg (single) or folder basename (batch). Confirm **every** name is\n   free in `marketplace.json` — report collisions and ask before proceeding.\n5. For each skill, fetch its upstream `description` one-liner and author. Append\n   each entry to the `plugins` array (match existing formatting exactly):\n   ```json\n   {\n     \"name\": \"\u003Cname>\",\n     \"source\": {\n       \"source\": \"git-subdir\",\n       \"url\": \"https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\",\n       \"path\": \"\u003Cpath>\",\n       \"ref\": \"\u003Ctag or branch>\",\n       \"sha\": \"\u003Csha>\"\n     },\n     \"description\": \"\u003Cone line saying what the skill does>\",\n     \"author\": {\n       \"name\": \"\u003Cupstream author>\",\n       \"url\": \"\u003Cupstream author or repo URL>\"\n     }\n   }\n   ```\n   The `description` says what the skill does in one line: a summary of\n   upstream's description (its first sentence when that already reads well),\n   or of the `SKILL.md` body when upstream's is empty or unusable. Drop the\n   \"Use when…\" trigger clauses: they steer the harness, not the catalog reader.\n   For a **whole-plugin** entry, list its bundled artifacts (agents +\n   skills), e.g. `\"…: bash-pro and posix-shell-pro agents plus the\n   bash-defensive-patterns, bats-testing-patterns, and shellcheck-configuration\n   skills.\"`.\n6. Validate the catalog with `claude plugin validate .` first, resolving reserved\n   names with a descriptive alias. **Regenerate the README** (see below), then run\n   the remaining checks.\n\nDone when every skill the discovery in step 2 turned up is either an entry in\n`marketplace.json` or named as deliberately left out, and the repo has a row in\nADR-0014's source table — **whole** or **curated**, asked, never guessed. A\ncurated source also gets a `curationBaseline` in `scripts\u002Fcatalog-meta.json`, set\nto its pinned `sha`; `validate` fails without it. A\nskill left out of a whole source goes in its exclusions table, with the reason.\nEvery fact in a row's note or exclusion reason is read from the upstream file at\nthe pinned `sha`.\n\n## Update mode\n\nFor each external source repo (git-subdir or url entry) in `marketplace.json` (or the one named):\n\n1. Run the read-only freshness audit before changing pins:\n   ```bash\n   node scripts\u002Fcheck-upstream-versions.js\n   # Scope an update, or preflight a particular tag:\n   node scripts\u002Fcheck-upstream-versions.js \u003Cowner\u002Frepo> [candidate-tag]\n   ```\n   It reports each current ref\u002FSHA against the latest tag in its own series or\n   branch HEAD, and branch-to-tag candidates as ahead, identical, behind or\n   diverged relative to the pinned SHA. Exit 1 means review needed; exit 2 means\n   incomplete: resolve the API error or truncated tree before proceeding.\n   Discover skill folders at the proposed SHA, not just default-branch HEAD.\n   Settle scope with the user from this audit, not from the issue that sent you\n   here: the `whole-sources` reports are computed at the pinned `sha`, so what\n   upstream added since is invisible in them.\n2. Reconcile against the existing entries:\n   - **New** upstream folder (no entry) → look the repo up in\n     `docs\u002Fadr\u002F0014-each-source-repo-is-whole-or-curated.md`. Skip a **catalog\n     exclusion** and a harness mirror or fixture silently. On a **whole source**,\n     add an entry (as in add mode). On a **curated source**, list only what is\n     absent, at the same path, at the repo's `curationBaseline` in\n     `scripts\u002Fcatalog-meta.json`, and **ask**. Once the user has picked, set the\n     baseline to the `sha` the entries now pin: that records every unpicked skill\n     as seen (ADR-0039). An exclusion row is only for a refusal worth a reason. A\n     repo with no row → ask which kind it is and add the row.\n   - **Removed** upstream (a git-subdir entry whose `path` no longer has\n     `SKILL.md`, or a url entry whose repo is gone) → list\n     it, **ask to confirm**, then delete the entry (see **Removing an entry**).\n     Left alone, regeneration prunes it anyway once Renovate moves its `sha`\n     (ADR-0015); doing it here just gets there first.\n   - **Stale exclusion** (an ADR-0014 exclusion that matches no skill folder at\n     the new `sha`) → remove the row in the same change; the reason stays in git\n     history (ADR-0014).\n   - **Branch-pinned repo that now tags** → choose a tag series explicitly when\n     several exist. Before proposing a behind\u002Fdiverged candidate, run the scoped\n     audit with that tag. It compares pinned and candidate trees for absent\n     skill\u002Fplugin paths and removed nested skills, including repo-root plugins,\n     and lists possible new locations by name; a name match is a lead, not proof of a move.\n     Complete the loss\u002Fmove inventory **before asking for downgrade approval**:\n     compare the pinned and candidate trees for every entry, including whole-plugin\n     artifacts, runtime closure, and `scripts\u002Fdistribution-meta.json` source and\n     evidence paths. Inspect possible moves to distinguish relocation from loss.\n     Show the user the current and proposed ref\u002FSHA, history relation, every\n     removed or moved skill\u002Fartifact, affected catalog names and bundles, and\n     proposed path\u002Fmetadata changes. Report no losses explicitly when none exist.\n     Only then ask to confirm the downgrade\u002Fhistory change and any removals;\n     approval of an update alone is not approval of these losses. After approval,\n     re-pin the affected entries to the chosen tag and apply the agreed moves or\n     removals (see **Removing an entry**). An ahead\u002Fidentical candidate can move\n     directly after verifying its paths and runtime closure.\n   - Bump each surviving entry to the SHA its `ref` now resolves to: a\n     tag-pinned entry moves `ref` and `sha` together to the latest tag, keeping\n     its tag series; a branch-pinned entry takes that branch's HEAD. (Renovate\n     also does this; harmless to set now.)\n   - Refresh each entry's `author` from upstream, and its `description` only\n     when upstream's meaning changed — a reworded upstream sentence is no reason\n     to rewrite a summary. A trigger clause that names a task, or a kind of\n     target, the summary does not cover is a meaning change: fold it into the\n     summary.\n     `marketplace.json` is the source of truth, so this is what consumers see.\n     After bumping, `node scripts\u002Fcheck-upstream-descriptions.js` lists every\n     entry whose upstream description needs this review.\n     A rewrite is checked against the upstream artifact at the pinned `sha` —\n     the `SKILL.md` body, or a whole plugin's manifest and artifact list —\n     before it lands, not only against upstream's description.\n     When a description is reviewed and kept, record the entry's pinned `sha`\n     under its name in `descriptionReviewed` in `scripts\u002Fcatalog-meta.json`; a\n     rewrite needs no record.\n3. Run **Check upstream Codex parity** at each new SHA.\n4. **Regenerate the README**, then validate.\n\nDone when every external source repo in scope is accounted for — reconciled, or\nreported as already current. A repo silently skipped is one Renovate keeps\nbumping while its entry list drifts.\n\n## Removing an entry\n\nWhatever the reason — gone upstream, or dropped by decision — deleting an entry\nalso means:\n\n- Drop its name from every bundle's `dependencies` that lists it, and bump that\n  bundle's `version`.\n- Tell the user that **installed copies break**: `claude plugin update` on a name\n  no longer in the catalog fails with `Plugin \"\u003Cname>\" not found`. List where it is\n  installed (`claude plugin list --json`, filter on `@filippo-skills`) and offer\n  `claude plugin uninstall \u003Cname>@filippo-skills -s \u003Cscope>` for each — a\n  `project` scope runs from that project's directory and edits its committed\n  `.claude\u002Fsettings.json`, so ask before touching it. The README's *When a skill\n  leaves the catalog* gives other users the same steps; name the removed skills\n  in the PR body so they know what to uninstall.\n\n## Regenerate the README\n\nThe README **Available skills** catalog is a **projection** of\n`marketplace.json` produced by `scripts\u002Fgen-readme.js` — never hand-edit it.\n\n- If you referenced a skill from a **new** source repo, add a group to\n  `scripts\u002Fcatalog-meta.json` (ordered list):\n  ```json\n  { \"repo\": \"\u003Cowner>\u002F\u003Crepo>\", \"tagline\": \"\u003Cshort label>\", \"kind\": \"skill\" }\n  ```\n  Use `\"kind\": \"plugin\"` for a whole-plugin entry (renders a \"What it bundles\"\n  column). The generator **throws** if any external entry's repo has no group\n  (or is not omitted), so this can't be silently\n  missed.\n- Run the generator:\n  ```bash\n  node scripts\u002Fgen-readme.js\n  ```\n\n## Finish\n\nWhen delegating distribution work or checking full packages, follow\n`docs\u002Fagents\u002Fdistribution-validation.md` for the acceptance matrix and validation order.\n\n```bash\nbash scripts\u002Fvalidate.sh --catalog-only\n```\nGenerated `skills\u002F`, Codex packages, pi filters, and the parity matrix intentionally\nremain stale until the post-merge regeneration workflow; `--catalog-only` skips\ntheir checks. Report what changed (added \u002F removed \u002F\ndescription updates), unsupported harness outcomes, checks actually run, and, for\na new source repo, its licence and why it permits redistribution (ADR-0011: the\nPR is where that is judged).\n\nThen commit to the feature branch, and call the Skill tool with\n`code-review:code-review` (Matt Pocock's two-axis review) on the changes since\n`main`, with the issue as its spec. When this run was started by `\u002Fimplement`,\nreturn to it instead: it runs that same review and commit.\n","Keep the marketplace catalog, cross-harness distribution metadata, and generated\ndocumentation in sync with upstream external skills.\n\nArguments: `$ARGUMENTS`\n- `\u003Cowner\u002Frepo> [path] [name]` → **add mode** (default).\n- `update` (optionally `update \u003Cowner\u002Frepo>` to scope to one repo) → **update mode**.\n\nDefault `name` to the skill folder's basename for a per-skill entry, or the\nupstream manifest's name for a whole-plugin entry. If Claude rejects that name as\nreserved, choose a descriptive catalog alias and report it; keep the upstream\nsource unchanged.\n\n## Fetches\n\nBoth modes use these. `HEAD` resolves the repo's default branch, so `main` vs\n`master` is never a guess.\n\nSkill folders in a repo:\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fgit\u002Ftrees\u002FHEAD?recursive=1\" \\\n  | jq -r '.tree[] | select(.path | endswith(\"\u002FSKILL.md\")) | .path | sub(\"\u002FSKILL.md$\";\"\")'\n```\nLatest tags (does this repo publish semver tags?):\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Ftags?per_page=5\" | jq -r '.[].name'\n```\nThe SHA a `ref` resolves to — `HEAD` for a branch pin, the tag name for a tag pin:\n```bash\ncurl -fsSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcommits\u002F\u003Cref>\" \\\n  -H \"Accept: application\u002Fvnd.github.sha\"\n```\nA skill's upstream frontmatter `description` — the **one-liner**, usually its\nfirst sentence:\n```bash\ncurl -fsSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F\u003Cowner>\u002F\u003Crepo>\u002F\u003Csha>\u002F\u003Cpath>\u002FSKILL.md\"\n```\nThe upstream author comes from the source that owns the attribution: its plugin\nmanifest first, then its licence, then the GitHub owner's profile. The manifest\ncounts only when the entry's `path` is that plugin root; a standalone skill folder\ntakes its licence's copyright holder, plus every author the skill itself credits\nfor its content (`metadata.credits`, a `CREDITS.md`): `pr` is \"Matt Pocock and\nDex Horthy\". Preserve multiple credited authors; do not substitute the\nmarketplace owner.\n\n## Pinning the `ref`\n\nRenovate updates an entry only when its `ref` has one of two shapes — one\n`customManager` in `renovate.json` per shape:\n\n- **Tag** — `vX.Y.Z`, optionally prefixed (`skill-v4.1.2`). Tag and `sha` bump\n  together. **The default when the repo publishes semver tags**, and what most\n  entries here use. The prefix names the tag series, so a repo publishing\n  several (`cli-v*`, `ext-v*`, `skill-v*`) only ever bumps within the one you\n  pinned.\n- **Branch** — literally `main` or `master`; the `sha` bumps to that branch's\n  HEAD. For a repo publishing no usable tags.\n\nA `ref` of any other value (`1.2.0`, `release-2026`, a bare SHA) matches neither\nmanager, and that entry is then silently never updated again.\n\n## Check upstream Codex parity\n\nAfter resolving the pinned SHA in either mode, inspect the **whole upstream repo**,\nnot only the Claude catalog path. Search its tree for native Codex surfaces such as\nroot `plugin.json`, `.codex-plugin\u002Fplugin.json`, `.agents\u002Fplugins\u002Fmarketplace.json`,\n`.agents\u002Fskills\u002F`, `.codex\u002Fhooks.json`, skill-adjacent `agents\u002F*.toml`, and OpenAI\nplugin build\u002Ftest files.\n\nFor every discovered Claude artifact:\n\n1. A normal Agent Skill is native unless upstream ships a Codex-specific variant;\n   prefer that variant when it exists.\n2. Compare commands, agents, hooks and MCP configuration with candidate Codex\n   files by behavior, not filename. A native manifest that omits a Claude agent is\n   evidence of a gap, not an equivalent.\n3. When upstream owns an equivalent, record the Codex artifact as `adapted` in\n   `scripts\u002Fdistribution-meta.json`, with repo-relative `sourcePath` and a test or\n   executable proof in `evidencePath`. The generator verifies both paths at the\n   pinned SHA. Prefer this upstream implementation over generating a translation.\n4. When no equivalent exists, keep the explicit generated adaptation or\n   unsupported limitation and fallback. Never infer parity from a manifest alone.\n\nCheck runtime closure, not just file presence: a skill calling a plugin-root\nlauncher needs its scripts, shared data, dependencies, and harness-specific path\nresolution. The inventory and generated-skill validators reject unresolved\n`CLAUDE_PLUGIN_ROOT` references, and a sibling skill loaded with the Skill tool\nbut missing from `runtimeDependencies`. Use a proven upstream adaptation where\navailable; otherwise record the exact unsupported limitation and fallback. When an entire\nentry requires an unavailable runtime, `unsupportedEntries` in\n`scripts\u002Fdistribution-meta.json` supplies both harness outcomes; artifact-specific\nrecords take precedence.\n\nRun `node scripts\u002Fgen-distribution.js --verify`. Done means every artifact has one\nCodex and pi disposition, every recorded upstream equivalent exists at the pinned\nSHA, and unsupported runtime closures are not advertised as portable. This is a\ncatalog change: leave package and parity-document generation to CI's `regenerate`\nworkflow, as specified by CLAUDE.md.\n\n## Add mode\n\n1. Parse args. If `owner\u002Frepo` missing, ask for it.\n2. Decide granularity by CLAUDE.md's whole-plugin rule. A **whole-plugin** or\n   **url entry** skips per-skill discovery and takes `name` from the\n   `plugin.json`. Otherwise discover skills: `path` = a skill folder → single\n   entry; a parent folder → only folders under it (empty → stop, report);\n   omitted → all (batch).\n3. Pick the `ref` (see above), then fetch the SHA it resolves to — one SHA\n   shared by every entry from that repo. Confirm the skill's `path` exists at\n   that SHA, then run **Check upstream Codex parity**.\n4. `name` = arg (single) or folder basename (batch). Confirm **every** name is\n   free in `marketplace.json` — report collisions and ask before proceeding.\n5. For each skill, fetch its upstream `description` one-liner and author. Append\n   each entry to the `plugins` array (match existing formatting exactly):\n   ```json\n   {\n     \"name\": \"\u003Cname>\",\n     \"source\": {\n       \"source\": \"git-subdir\",\n       \"url\": \"https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\",\n       \"path\": \"\u003Cpath>\",\n       \"ref\": \"\u003Ctag or branch>\",\n       \"sha\": \"\u003Csha>\"\n     },\n     \"description\": \"\u003Cone line saying what the skill does>\",\n     \"author\": {\n       \"name\": \"\u003Cupstream author>\",\n       \"url\": \"\u003Cupstream author or repo URL>\"\n     }\n   }\n   ```\n   The `description` says what the skill does in one line: a summary of\n   upstream's description (its first sentence when that already reads well),\n   or of the `SKILL.md` body when upstream's is empty or unusable. Drop the\n   \"Use when…\" trigger clauses: they steer the harness, not the catalog reader.\n   For a **whole-plugin** entry, list its bundled artifacts (agents +\n   skills), e.g. `\"…: bash-pro and posix-shell-pro agents plus the\n   bash-defensive-patterns, bats-testing-patterns, and shellcheck-configuration\n   skills.\"`.\n6. Validate the catalog with `claude plugin validate .` first, resolving reserved\n   names with a descriptive alias. **Regenerate the README** (see below), then run\n   the remaining checks.\n\nDone when every skill the discovery in step 2 turned up is either an entry in\n`marketplace.json` or named as deliberately left out, and the repo has a row in\nADR-0014's source table — **whole** or **curated**, asked, never guessed. A\ncurated source also gets a `curationBaseline` in `scripts\u002Fcatalog-meta.json`, set\nto its pinned `sha`; `validate` fails without it. A\nskill left out of a whole source goes in its exclusions table, with the reason.\nEvery fact in a row's note or exclusion reason is read from the upstream file at\nthe pinned `sha`.\n\n## Update mode\n\nFor each external source repo (git-subdir or url entry) in `marketplace.json` (or the one named):\n\n1. Run the read-only freshness audit before changing pins:\n   ```bash\n   node scripts\u002Fcheck-upstream-versions.js\n   # Scope an update, or preflight a particular tag:\n   node scripts\u002Fcheck-upstream-versions.js \u003Cowner\u002Frepo> [candidate-tag]\n   ```\n   It reports each current ref\u002FSHA against the latest tag in its own series or\n   branch HEAD, and branch-to-tag candidates as ahead, identical, behind or\n   diverged relative to the pinned SHA. Exit 1 means review needed; exit 2 means\n   incomplete: resolve the API error or truncated tree before proceeding.\n   Discover skill folders at the proposed SHA, not just default-branch HEAD.\n   Settle scope with the user from this audit, not from the issue that sent you\n   here: the `whole-sources` reports are computed at the pinned `sha`, so what\n   upstream added since is invisible in them.\n2. Reconcile against the existing entries:\n   - **New** upstream folder (no entry) → look the repo up in\n     `docs\u002Fadr\u002F0014-each-source-repo-is-whole-or-curated.md`. Skip a **catalog\n     exclusion** and a harness mirror or fixture silently. On a **whole source**,\n     add an entry (as in add mode). On a **curated source**, list only what is\n     absent, at the same path, at the repo's `curationBaseline` in\n     `scripts\u002Fcatalog-meta.json`, and **ask**. Once the user has picked, set the\n     baseline to the `sha` the entries now pin: that records every unpicked skill\n     as seen (ADR-0039). An exclusion row is only for a refusal worth a reason. A\n     repo with no row → ask which kind it is and add the row.\n   - **Removed** upstream (a git-subdir entry whose `path` no longer has\n     `SKILL.md`, or a url entry whose repo is gone) → list\n     it, **ask to confirm**, then delete the entry (see **Removing an entry**).\n     Left alone, regeneration prunes it anyway once Renovate moves its `sha`\n     (ADR-0015); doing it here just gets there first.\n   - **Stale exclusion** (an ADR-0014 exclusion that matches no skill folder at\n     the new `sha`) → remove the row in the same change; the reason stays in git\n     history (ADR-0014).\n   - **Branch-pinned repo that now tags** → choose a tag series explicitly when\n     several exist. Before proposing a behind\u002Fdiverged candidate, run the scoped\n     audit with that tag. It compares pinned and candidate trees for absent\n     skill\u002Fplugin paths and removed nested skills, including repo-root plugins,\n     and lists possible new locations by name; a name match is a lead, not proof of a move.\n     Complete the loss\u002Fmove inventory **before asking for downgrade approval**:\n     compare the pinned and candidate trees for every entry, including whole-plugin\n     artifacts, runtime closure, and `scripts\u002Fdistribution-meta.json` source and\n     evidence paths. Inspect possible moves to distinguish relocation from loss.\n     Show the user the current and proposed ref\u002FSHA, history relation, every\n     removed or moved skill\u002Fartifact, affected catalog names and bundles, and\n     proposed path\u002Fmetadata changes. Report no losses explicitly when none exist.\n     Only then ask to confirm the downgrade\u002Fhistory change and any removals;\n     approval of an update alone is not approval of these losses. After approval,\n     re-pin the affected entries to the chosen tag and apply the agreed moves or\n     removals (see **Removing an entry**). An ahead\u002Fidentical candidate can move\n     directly after verifying its paths and runtime closure.\n   - Bump each surviving entry to the SHA its `ref` now resolves to: a\n     tag-pinned entry moves `ref` and `sha` together to the latest tag, keeping\n     its tag series; a branch-pinned entry takes that branch's HEAD. (Renovate\n     also does this; harmless to set now.)\n   - Refresh each entry's `author` from upstream, and its `description` only\n     when upstream's meaning changed — a reworded upstream sentence is no reason\n     to rewrite a summary. A trigger clause that names a task, or a kind of\n     target, the summary does not cover is a meaning change: fold it into the\n     summary.\n     `marketplace.json` is the source of truth, so this is what consumers see.\n     After bumping, `node scripts\u002Fcheck-upstream-descriptions.js` lists every\n     entry whose upstream description needs this review.\n     A rewrite is checked against the upstream artifact at the pinned `sha` —\n     the `SKILL.md` body, or a whole plugin's manifest and artifact list —\n     before it lands, not only against upstream's description.\n     When a description is reviewed and kept, record the entry's pinned `sha`\n     under its name in `descriptionReviewed` in `scripts\u002Fcatalog-meta.json`; a\n     rewrite needs no record.\n3. Run **Check upstream Codex parity** at each new SHA.\n4. **Regenerate the README**, then validate.\n\nDone when every external source repo in scope is accounted for — reconciled, or\nreported as already current. A repo silently skipped is one Renovate keeps\nbumping while its entry list drifts.\n\n## Removing an entry\n\nWhatever the reason — gone upstream, or dropped by decision — deleting an entry\nalso means:\n\n- Drop its name from every bundle's `dependencies` that lists it, and bump that\n  bundle's `version`.\n- Tell the user that **installed copies break**: `claude plugin update` on a name\n  no longer in the catalog fails with `Plugin \"\u003Cname>\" not found`. List where it is\n  installed (`claude plugin list --json`, filter on `@filippo-skills`) and offer\n  `claude plugin uninstall \u003Cname>@filippo-skills -s \u003Cscope>` for each — a\n  `project` scope runs from that project's directory and edits its committed\n  `.claude\u002Fsettings.json`, so ask before touching it. The README's *When a skill\n  leaves the catalog* gives other users the same steps; name the removed skills\n  in the PR body so they know what to uninstall.\n\n## Regenerate the README\n\nThe README **Available skills** catalog is a **projection** of\n`marketplace.json` produced by `scripts\u002Fgen-readme.js` — never hand-edit it.\n\n- If you referenced a skill from a **new** source repo, add a group to\n  `scripts\u002Fcatalog-meta.json` (ordered list):\n  ```json\n  { \"repo\": \"\u003Cowner>\u002F\u003Crepo>\", \"tagline\": \"\u003Cshort label>\", \"kind\": \"skill\" }\n  ```\n  Use `\"kind\": \"plugin\"` for a whole-plugin entry (renders a \"What it bundles\"\n  column). The generator **throws** if any external entry's repo has no group\n  (or is not omitted), so this can't be silently\n  missed.\n- Run the generator:\n  ```bash\n  node scripts\u002Fgen-readme.js\n  ```\n\n## Finish\n\nWhen delegating distribution work or checking full packages, follow\n`docs\u002Fagents\u002Fdistribution-validation.md` for the acceptance matrix and validation order.\n\n```bash\nbash scripts\u002Fvalidate.sh --catalog-only\n```\nGenerated `skills\u002F`, Codex packages, pi filters, and the parity matrix intentionally\nremain stale until the post-merge regeneration workflow; `--catalog-only` skips\ntheir checks. Report what changed (added \u002F removed \u002F\ndescription updates), unsupported harness outcomes, checks actually run, and, for\na new source repo, its licence and why it permits redistribution (ADR-0011: the\nPR is where that is judged).\n\nThen commit to the feature branch, and call the Skill tool with\n`code-review:code-review` (Matt Pocock's two-axis review) on the changes since\n`main`, with the issue as its spec. When this run was started by `\u002Fimplement`,\nreturn to it instead: it runs that same review and commit.\n",{"name":5,"description":7},"main","e63612d78f9099c1970584ea3faef109f42d20bb",".claude\u002Fskills\u002Fadd-external-skill",0,"https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills","https:\u002F\u002Fgithub.com\u002Ffilippolmt","2026-11-14 22:46:00",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add filippolmt\u002Fskills --skill add-external-skill",{"tool":37,"command":38},"bunx","bunx skills add filippolmt\u002Fskills --skill add-external-skill",{"tool":40,"command":41},"pnpm","pnpm dlx skills add filippolmt\u002Fskills --skill add-external-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-external-skill\u002FSKILL.md",true,[],[46,54,63,71,79,87],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":50,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M781ZJN9KDK0YY8EAQ8WXPRQ","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M781ZDZ8CQ30GRY5XNT1RF91","wrangler","Run or troubleshoot Wrangler CLI commands in projects that have a wrangler.jsonc, wrangler.json, or wrangler.toml file, including local development, Previews, deployment, and resource management. For new projects and projects without a Wrangler configuration file, use the cf CLI instead.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M781ZA1MB7E7T1R1TE0BTTJS","workers-profiling","Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-profiling\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-profiling\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M781Z52Q7PBMDA2YBC3SCTYM","workers-development","Run, inspect, and debug Cloudflare Workers during local development with cf dev, wrangler dev, or the Cloudflare Vite plugin, using Local Explorer to read and seed binding data and query local traces and logs. Also routes production debugging to Workers observability. Use for debugging requests whether or not the project uses Wrangler.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-development\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-development\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M781Z193MG7SHF4DSD1WK583","workers-best-practices","Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"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":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M781YT0JB3GVA1HTFZ9QJHM7","wordpress-pro","Develops custom WordPress themes and plugins, creates and registers Gutenberg blocks and block patterns, configures WooCommerce stores, implements WordPress REST API endpoints, applies security hardening (nonces, sanitization, escaping, capability checks), and optimizes performance through caching and query tuning. Use when building WordPress themes, writing plugins, customizing Gutenberg blocks, extending WooCommerce, working with ACF, using the WordPress REST API, applying hooks and filters, or improving WordPress performance and security.","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwordpress-pro\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ffilippolmt\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwordpress-pro\u002FSKILL.md",[],[]]