[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAP9TGHQJT23PQHM1FXFAR":3,"skill-same:01M6CAP9TGHQJT23PQHM1FXFAR":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6CAP9TGHQJT23PQHM1FXFAR","yarn-release-age-gate","Yarn 依赖发布年龄门禁配置","Configure Yarn's npmMinimalAgeGate (7-day default, 10-day high-sensitivity) for JavaScript projects on Yarn 4.x or later. Includes Corepack detection and lockfile-caveat warning.","为使用 Yarn 4.x 或更高版本的 JavaScript 项目配置 Yarn 的 npmMinimalAgeGate（默认 7 天，高敏感度 10 天）。包含 Corepack 检测和 lockfile 注意事项警告。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fyarn-release-age-gate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"release","yarn","yarn release age gate","gate","age","javascript","lockfile","detection","configure","projects","default","later","sensitivity","warning","high","for","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: yarn-release-age-gate\nplatforms: [all]\ndescription: Configure Yarn's npmMinimalAgeGate (7-day default, 10-day high-sensitivity) for JavaScript projects on Yarn 4.x or later. Includes Corepack detection and lockfile-caveat warning.\n---\n\n# yarn-release-age-gate\n\nUse this skill when a user has chosen Yarn (Berry \u002F v2+, current line\nv4.x) as their package manager and wants release-age-gate hardening\nparallel to what `npm-release-age-gate` and `pnpm-release-age-gate`\nprovide for their respective ecosystems.\n\n## Triggers\n\n- \"yarn release age gate\"\n- \"yarn npmMinimalAgeGate\"\n- \"yarn 4 supply chain\"\n- \"yarn berry hardening\"\n\n## Prerequisites\n\n- Yarn 4.0+ (Berry) installed (`yarn --version`)\n- `package.json` exists at repo root\n- `.yarnrc.yml` exists (or will be created) — Berry's config file\n\nIf Yarn is below v4.0, the skill should refuse to proceed:\n`npmMinimalAgeGate` was introduced in v4.0 and earlier Berry versions\n(v2.x, v3.x) silently ignore the setting. Yarn Classic (v1.x) does\nnot support a release-age gate at all — recommend migration to Berry\nor to pnpm\u002Fnpm.\n\n## Configuration\n\nAdd the gate to `.yarnrc.yml` at repo root:\n\n```yaml\n# Yarn 4.x release-age gate.\n# Uses duration shorthand: 7d, 10d, 14d, 30d.\n# Defends against newly-published malicious versions.\nnpmMinimalAgeGate: 7d\n\n# High-sensitivity profile (use for publish-prep or major version bumps):\n# npmMinimalAgeGate: 10d\n```\n\nYarn accepts the value as a **duration string** (`Nd` for days, `Nh`\nfor hours), which is cleaner than npm's days-as-bare-int and pnpm's\nminutes-as-int. Document the chosen value inline.\n\n## Per-environment override (optional)\n\nFor CI-only enforcement (e.g., tighter gate in publish workflows than\nin local dev):\n\n```yaml\n# .yarnrc.yml — apply 10d gate when running on CI, 7d locally\nnpmMinimalAgeGate:\n  exclude:\n    - pattern: \"@your-scope\u002F*\"  # internal packages — gate doesn't apply\n  default: 7d\n  override:\n    - if: \"$YARN_ENABLE_STRICT_AGE_GATE\"\n      value: 10d\n```\n\nEnvironment-conditional values are a Yarn 4 advantage over npm and\npnpm (which require workflow-level wrapping).\n\n## Lockfile caveat\n\nThe gate is checked at resolution time. If `yarn.lock` was generated\nwithout the gate, the gate applies on the NEXT resolution pass — not\nretroactively.\n\nTo apply the gate retroactively:\n\n```bash\n# Force re-resolution\nrm yarn.lock\nyarn install\n```\n\nThis is destructive to existing pins. Coordinate before running.\n\n## Corepack detection\n\nCheck whether the project pins a Yarn version via Corepack:\n\n```bash\nnode -p \"require('.\u002Fpackage.json').packageManager\"\n```\n\nOutput like `yarn@4.5.0` means Corepack will use that exact version\nin CI. The skill should:\n\n1. Confirm pinned version is ≥ v4.0 (else flag — gate is silently ignored on Berry v2\u002Fv3)\n2. Document the pinned version\n3. Suggest a Corepack pin if the project doesn't have one:\n   ```bash\n   corepack use yarn@stable\n   # writes packageManager to package.json\n   ```\n\n## Override policy\n\nGenuine emergency overrides:\n\n```bash\n# Bypass the gate for a single install (rare)\nYARN_NPM_MINIMAL_AGE_GATE=0 yarn add \u003Cpkg>\n```\n\nDocument every override with reason + sunset date. Add the package\nto the `.yarnrc.yml` `exclude` list if the bypass needs to persist\nacross installs.\n\n## CI integration\n\nAdd a verification step to the publish\u002Fbuild workflow:\n\n```yaml\n- name: Verify Yarn gate active\n  run: |\n    set -euo pipefail\n    GATE=$(yarn config get npmMinimalAgeGate 2>\u002Fdev\u002Fnull || echo \"\")\n    if [ -z \"$GATE\" ]; then\n      echo \"✗ Yarn npmMinimalAgeGate is unset\"\n      exit 1\n    fi\n    echo \"✓ Yarn npmMinimalAgeGate = $GATE\"\n```\n\n## What to inspect during review\n\n- `.yarnrc.yml` for `npmMinimalAgeGate`\n- `package.json` `packageManager` field for Corepack pin\n- CI workflow has the verification step above\n- `yarn.lock` was generated AFTER the gate was committed\n\n## Output format\n\nWhen auditing an existing Yarn project, produce a structured report\nat `.aiwg\u002Fsecurity\u002Fworking\u002Fyarn-release-age-audit.md`:\n\n```markdown\n# Yarn Release-Age Gate Audit\n\n**Yarn version**: \u003Cversion>  (Corepack pinned: yes\u002Fno)\n**Gate active**: yes (7d) \u002F yes (10d) \u002F yes (custom: \u003Cvalue>) \u002F no\n**Exclude list**: \u003Clist of excluded packages>\n\n## Findings\n\n### \u003Cseverity> — \u003Cdescription>\n\n- File: \u003Cpath>\n- Issue: \u003Cwhat's wrong>\n- Fix: \u003Cexact change>\n\n## Clean Checks\n\n- ...\n\n## Recommendations\n\n- ...\n```\n\n## See Also\n\n- [`npm-release-age-gate` skill](..\u002Fnpm-release-age-gate\u002FSKILL.md) — npm equivalent\n- [`pnpm-release-age-gate` skill](..\u002Fpnpm-release-age-gate\u002FSKILL.md) — pnpm equivalent\n- [`bun-release-age-gate` skill](..\u002Fbun-release-age-gate\u002FSKILL.md) — Bun equivalent\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md) — companion audit\n- [`supply-chain-hardening-quickstart` skill](..\u002Fsupply-chain-hardening-quickstart\u002FSKILL.md) — orchestrator\n\n## References\n\n- Yarn `npmMinimalAgeGate`: \u003Chttps:\u002F\u002Fyarnpkg.com\u002Fconfiguration\u002Fyarnrc#npmMinimalAgeGate>\n- Yarn Berry (v4) docs: \u003Chttps:\u002F\u002Fyarnpkg.com\u002Fgetting-started>\n- Corepack: \u003Chttps:\u002F\u002Fgithub.com\u002Fnodejs\u002Fcorepack>\n","# yarn-release-age-gate\n\nUse this skill when a user has chosen Yarn (Berry \u002F v2+, current line\nv4.x) as their package manager and wants release-age-gate hardening\nparallel to what `npm-release-age-gate` and `pnpm-release-age-gate`\nprovide for their respective ecosystems.\n\n## Triggers\n\n- \"yarn release age gate\"\n- \"yarn npmMinimalAgeGate\"\n- \"yarn 4 supply chain\"\n- \"yarn berry hardening\"\n\n## Prerequisites\n\n- Yarn 4.0+ (Berry) installed (`yarn --version`)\n- `package.json` exists at repo root\n- `.yarnrc.yml` exists (or will be created) — Berry's config file\n\nIf Yarn is below v4.0, the skill should refuse to proceed:\n`npmMinimalAgeGate` was introduced in v4.0 and earlier Berry versions\n(v2.x, v3.x) silently ignore the setting. Yarn Classic (v1.x) does\nnot support a release-age gate at all — recommend migration to Berry\nor to pnpm\u002Fnpm.\n\n## Configuration\n\nAdd the gate to `.yarnrc.yml` at repo root:\n\n```yaml\n# Yarn 4.x release-age gate.\n# Uses duration shorthand: 7d, 10d, 14d, 30d.\n# Defends against newly-published malicious versions.\nnpmMinimalAgeGate: 7d\n\n# High-sensitivity profile (use for publish-prep or major version bumps):\n# npmMinimalAgeGate: 10d\n```\n\nYarn accepts the value as a **duration string** (`Nd` for days, `Nh`\nfor hours), which is cleaner than npm's days-as-bare-int and pnpm's\nminutes-as-int. Document the chosen value inline.\n\n## Per-environment override (optional)\n\nFor CI-only enforcement (e.g., tighter gate in publish workflows than\nin local dev):\n\n```yaml\n# .yarnrc.yml — apply 10d gate when running on CI, 7d locally\nnpmMinimalAgeGate:\n  exclude:\n    - pattern: \"@your-scope\u002F*\"  # internal packages — gate doesn't apply\n  default: 7d\n  override:\n    - if: \"$YARN_ENABLE_STRICT_AGE_GATE\"\n      value: 10d\n```\n\nEnvironment-conditional values are a Yarn 4 advantage over npm and\npnpm (which require workflow-level wrapping).\n\n## Lockfile caveat\n\nThe gate is checked at resolution time. If `yarn.lock` was generated\nwithout the gate, the gate applies on the NEXT resolution pass — not\nretroactively.\n\nTo apply the gate retroactively:\n\n```bash\n# Force re-resolution\nrm yarn.lock\nyarn install\n```\n\nThis is destructive to existing pins. Coordinate before running.\n\n## Corepack detection\n\nCheck whether the project pins a Yarn version via Corepack:\n\n```bash\nnode -p \"require('.\u002Fpackage.json').packageManager\"\n```\n\nOutput like `yarn@4.5.0` means Corepack will use that exact version\nin CI. The skill should:\n\n1. Confirm pinned version is ≥ v4.0 (else flag — gate is silently ignored on Berry v2\u002Fv3)\n2. Document the pinned version\n3. Suggest a Corepack pin if the project doesn't have one:\n   ```bash\n   corepack use yarn@stable\n   # writes packageManager to package.json\n   ```\n\n## Override policy\n\nGenuine emergency overrides:\n\n```bash\n# Bypass the gate for a single install (rare)\nYARN_NPM_MINIMAL_AGE_GATE=0 yarn add \u003Cpkg>\n```\n\nDocument every override with reason + sunset date. Add the package\nto the `.yarnrc.yml` `exclude` list if the bypass needs to persist\nacross installs.\n\n## CI integration\n\nAdd a verification step to the publish\u002Fbuild workflow:\n\n```yaml\n- name: Verify Yarn gate active\n  run: |\n    set -euo pipefail\n    GATE=$(yarn config get npmMinimalAgeGate 2>\u002Fdev\u002Fnull || echo \"\")\n    if [ -z \"$GATE\" ]; then\n      echo \"✗ Yarn npmMinimalAgeGate is unset\"\n      exit 1\n    fi\n    echo \"✓ Yarn npmMinimalAgeGate = $GATE\"\n```\n\n## What to inspect during review\n\n- `.yarnrc.yml` for `npmMinimalAgeGate`\n- `package.json` `packageManager` field for Corepack pin\n- CI workflow has the verification step above\n- `yarn.lock` was generated AFTER the gate was committed\n\n## Output format\n\nWhen auditing an existing Yarn project, produce a structured report\nat `.aiwg\u002Fsecurity\u002Fworking\u002Fyarn-release-age-audit.md`:\n\n```markdown\n# Yarn Release-Age Gate Audit\n\n**Yarn version**: \u003Cversion>  (Corepack pinned: yes\u002Fno)\n**Gate active**: yes (7d) \u002F yes (10d) \u002F yes (custom: \u003Cvalue>) \u002F no\n**Exclude list**: \u003Clist of excluded packages>\n\n## Findings\n\n### \u003Cseverity> — \u003Cdescription>\n\n- File: \u003Cpath>\n- Issue: \u003Cwhat's wrong>\n- Fix: \u003Cexact change>\n\n## Clean Checks\n\n- ...\n\n## Recommendations\n\n- ...\n```\n\n## See Also\n\n- [`npm-release-age-gate` skill](..\u002Fnpm-release-age-gate\u002FSKILL.md) — npm equivalent\n- [`pnpm-release-age-gate` skill](..\u002Fpnpm-release-age-gate\u002FSKILL.md) — pnpm equivalent\n- [`bun-release-age-gate` skill](..\u002Fbun-release-age-gate\u002FSKILL.md) — Bun equivalent\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md) — companion audit\n- [`supply-chain-hardening-quickstart` skill](..\u002Fsupply-chain-hardening-quickstart\u002FSKILL.md) — orchestrator\n\n## References\n\n- Yarn `npmMinimalAgeGate`: \u003Chttps:\u002F\u002Fyarnpkg.com\u002Fconfiguration\u002Fyarnrc#npmMinimalAgeGate>\n- Yarn Berry (v4) docs: \u003Chttps:\u002F\u002Fyarnpkg.com\u002Fgetting-started>\n- Corepack: \u003Chttps:\u002F\u002Fgithub.com\u002Fnodejs\u002Fcorepack>\n",{"name":5,"namespace":52,"platforms":53,"description":7},"aiwg",[54],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fyarn-release-age-gate",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add jmagly\u002Faiwg --skill yarn-release-age-gate",{"tool":71,"command":72},"bunx","bunx skills add jmagly\u002Faiwg --skill yarn-release-age-gate",{"tool":74,"command":75},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill yarn-release-age-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fyarn-release-age-gate\u002FSKILL.md",true,[],[80,88,93,120,140,145],{"skillNo":81,"name":82,"nameZh":17,"description":83,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":89,"name":82,"nameZh":17,"description":83,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":87},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":17,"description":96,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":47},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":121,"name":122,"nameZh":17,"description":123,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":47},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[127,128,129,130,131,132,105,133,111,118,113,134,101,135,115,136,137,119,138,139],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":141,"name":95,"nameZh":17,"description":96,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":47},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[100,101,102,117,118,119,112,116,108,104,105,106,107,109,110,111,103,113,114,115],{"skillNo":146,"name":122,"nameZh":17,"description":123,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":47},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[127,128,139,138,131,137,136,115,130,132,105,133,111,129,113,134,101,119,118,135]]