[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C247Z015A4FY1XXSHJ8VF2":3,"skill-same:01M6C247Z015A4FY1XXSHJ8VF2":68},{"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":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":17,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6C247Z015A4FY1XXSHJ8VF2","adding-a-check","新增基线检查项","Add a new baseline check to this repository. Use whenever a new check is requested, described, or implied — including \"add a check for X\", \"the baseline should enforce X\", or \"we should verify X in projects\". Establishes which runner(s) the check targets and whether it auto-fixes before any code is written.","向本仓库添加新的基线检查项。当 new check 被请求、描述或隐含时使用——包括「为 X 添加检查」「基线应强制要求 X」「我们应在项目中验证 X」等情形。在编写任何代码之前，先确定该检查面向哪些运行器（runner）以及是否自动修复。","limenet\u002Flaravel-baseline","limenet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F474329?v=4","01M6C245N93511GTPJXWYT8EN8","Linus Metzler","01M6C245S4JHJBWSJB6XP1W5K3",2,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadding-a-check\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39],"check","adding a check","code","repository","baseline","verify","projects","use","auto","2026-11-10 10:12:30",false,"---\nname: adding-a-check\ndescription: Add a new baseline check to this repository. Use whenever a new check is requested, described, or implied — including \"add a check for X\", \"the baseline should enforce X\", or \"we should verify X in projects\". Establishes which runner(s) the check targets and whether it auto-fixes before any code is written.\n---\n\n# Adding a check\n\nThis repository ships **two runners** from one policy (see CLAUDE.md): the Composer package in\n`src\u002F` and the npm package in `js\u002F`. A new check therefore has two decisions attached to it that\ncannot be inferred from the request, and getting either wrong means rewriting the check.\n\n## Ask first — always, before writing any code\n\nAsk all three questions in a single `AskUserQuestion` call. Do not guess, and do not start with an\nimplementation \"to be adjusted later\": the runner choice changes where the policy values live and\nwhether a fixture is per-engine, the profile choice changes which projects ever run the check, and\nthe autofix choice changes the base class the check extends.\n\n### 1. Which runner(s)?\n\n- **Both** — the standard lives in every project. Ask whether the *values* are identical or differ\n  per ecosystem; if they differ, they go into `policy\u002Fpolicy.json` under a split keyed by who the\n  value applies to — `shared`, `composer`, `laravel` \u002F `php` \u002F `wordpress`, `js` (see\n  `ci.requiredJobs`, `ciLint.required`, `claude.allow`, and CLAUDE.md §4b) — and the fixtures are\n  written per engine.\n- **PHP only** — anything composer-, artisan-, Rector-, PHPStan-, Spatie-Health- or DDEV-shaped.\n- **JS only** — anything that has no meaning in a Laravel project, or whose PHP counterpart would\n  assert the opposite (`usesReleaseIt` is the precedent).\n\nRecommend an answer with a reason rather than presenting a bare choice — most checks have an\nobvious home, and the question exists for the ones that do not.\n\n### 2. Which PHP profiles? (skip for JS-only checks)\n\nThe PHP runner checks three kinds of project: `laravel` (artisan), and — through the standalone\n`vendor\u002Fbin\u002Fbaseline` — `php` (any composer project) and `wordpress` (a theme or plugin).\n\n- **Laravel only** — the default: `AbstractCheck::profiles()` returns `[Profile::Laravel]`. Anything\n  touching artisan, `config\u002F*.php`, the schedule, Laravel packages or rector-laravel.\n- **Every PHP profile** — override `profiles()` to return `Profile::cases()`. Tooling that means the\n  same in any composer project (composer scripts, PHPStan, plain Rector sets, DDEV, editor\u002FCI files).\n- **A subset** (e.g. `[Profile::WordPress]`) — standards that only exist in that kind of project.\n\nA check that runs outside Laravel must not use Laravel helpers (`base_path()`, `str()`, `config()`,\nfacades …) — use `$this->path()` and plain PHP. `tests\u002FStandaloneFrameworkFreeTest.php` enforces\nthis. When the *values* differ between profiles, branch on `$this->profile()` and keep the values in\n`policy\u002F` under per-profile keys. Fixtures declare the profiles they run under with an optional\n`\"profiles\"` list (default `[\"laravel\"]`).\n\n### 3. Autofix?\n\n- **Yes** — extend `AbstractFixableCheck` (PHP) \u002F `FixableCheck` (TS) and implement `fix()`;\n  `check()` is the dry run, so detection and repair can never drift apart. The README entry must be\n  marked ? — `ReadmeFixableChecksTest` enforces this in *both* directions.\n- **No** — extend `AbstractCheck` (PHP) \u002F `Check` (TS) and implement `check()`. The README entry\n  must **not** carry ?.\n\nPush back on autofix when the repair needs a human decision — a conflict between two declared\nvalues, anything that installs a package, or anything that would silently rewrite a file the\ndeveloper curated. `nodeVersion` refusing to resolve an `engines.node` \u002F `.nvmrc` disagreement is\nthe precedent: it detects, comments, and stops.\n\n## Then follow CLAUDE.md\n\nCLAUDE.md holds the actual mechanics — class placement, registry registration, the README format\nenforced by tests, the shared-fixture format, and the rule that **any constant a check compares\nagainst belongs in `policy\u002F`, not in the class**. Follow it rather than restating it here.\n\nTwo things that are easy to miss:\n\n- `tests\u002FCheckCommandTest.php` hard-codes the total registered check count.\n- Adding a check on one side only is fine, but the fixture must declare its `engines` accordingly,\n  and a fixture directory name must be the kebab-case of the check name.\n\n## Verify both sides\n\nA policy change can break the runner you did not touch:\n\n```bash\ncomposer test && composer analyse && composer format\nnpm run ci-lint && npm run build && npm test\n```\n","# Adding a check\n\nThis repository ships **two runners** from one policy (see CLAUDE.md): the Composer package in\n`src\u002F` and the npm package in `js\u002F`. A new check therefore has two decisions attached to it that\ncannot be inferred from the request, and getting either wrong means rewriting the check.\n\n## Ask first — always, before writing any code\n\nAsk all three questions in a single `AskUserQuestion` call. Do not guess, and do not start with an\nimplementation \"to be adjusted later\": the runner choice changes where the policy values live and\nwhether a fixture is per-engine, the profile choice changes which projects ever run the check, and\nthe autofix choice changes the base class the check extends.\n\n### 1. Which runner(s)?\n\n- **Both** — the standard lives in every project. Ask whether the *values* are identical or differ\n  per ecosystem; if they differ, they go into `policy\u002Fpolicy.json` under a split keyed by who the\n  value applies to — `shared`, `composer`, `laravel` \u002F `php` \u002F `wordpress`, `js` (see\n  `ci.requiredJobs`, `ciLint.required`, `claude.allow`, and CLAUDE.md §4b) — and the fixtures are\n  written per engine.\n- **PHP only** — anything composer-, artisan-, Rector-, PHPStan-, Spatie-Health- or DDEV-shaped.\n- **JS only** — anything that has no meaning in a Laravel project, or whose PHP counterpart would\n  assert the opposite (`usesReleaseIt` is the precedent).\n\nRecommend an answer with a reason rather than presenting a bare choice — most checks have an\nobvious home, and the question exists for the ones that do not.\n\n### 2. Which PHP profiles? (skip for JS-only checks)\n\nThe PHP runner checks three kinds of project: `laravel` (artisan), and — through the standalone\n`vendor\u002Fbin\u002Fbaseline` — `php` (any composer project) and `wordpress` (a theme or plugin).\n\n- **Laravel only** — the default: `AbstractCheck::profiles()` returns `[Profile::Laravel]`. Anything\n  touching artisan, `config\u002F*.php`, the schedule, Laravel packages or rector-laravel.\n- **Every PHP profile** — override `profiles()` to return `Profile::cases()`. Tooling that means the\n  same in any composer project (composer scripts, PHPStan, plain Rector sets, DDEV, editor\u002FCI files).\n- **A subset** (e.g. `[Profile::WordPress]`) — standards that only exist in that kind of project.\n\nA check that runs outside Laravel must not use Laravel helpers (`base_path()`, `str()`, `config()`,\nfacades …) — use `$this->path()` and plain PHP. `tests\u002FStandaloneFrameworkFreeTest.php` enforces\nthis. When the *values* differ between profiles, branch on `$this->profile()` and keep the values in\n`policy\u002F` under per-profile keys. Fixtures declare the profiles they run under with an optional\n`\"profiles\"` list (default `[\"laravel\"]`).\n\n### 3. Autofix?\n\n- **Yes** — extend `AbstractFixableCheck` (PHP) \u002F `FixableCheck` (TS) and implement `fix()`;\n  `check()` is the dry run, so detection and repair can never drift apart. The README entry must be\n  marked ? — `ReadmeFixableChecksTest` enforces this in *both* directions.\n- **No** — extend `AbstractCheck` (PHP) \u002F `Check` (TS) and implement `check()`. The README entry\n  must **not** carry ?.\n\nPush back on autofix when the repair needs a human decision — a conflict between two declared\nvalues, anything that installs a package, or anything that would silently rewrite a file the\ndeveloper curated. `nodeVersion` refusing to resolve an `engines.node` \u002F `.nvmrc` disagreement is\nthe precedent: it detects, comments, and stops.\n\n## Then follow CLAUDE.md\n\nCLAUDE.md holds the actual mechanics — class placement, registry registration, the README format\nenforced by tests, the shared-fixture format, and the rule that **any constant a check compares\nagainst belongs in `policy\u002F`, not in the class**. Follow it rather than restating it here.\n\nTwo things that are easy to miss:\n\n- `tests\u002FCheckCommandTest.php` hard-codes the total registered check count.\n- Adding a check on one side only is fine, but the fixture must declare its `engines` accordingly,\n  and a fixture directory name must be the kebab-case of the check name.\n\n## Verify both sides\n\nA policy change can break the runner you did not touch:\n\n```bash\ncomposer test && composer analyse && composer format\nnpm run ci-lint && npm run build && npm test\n```\n",{"name":5,"description":7},"main","5e0daa3a0ad957378e4e551c5bdeedda5cb5240f",".claude\u002Fskills\u002Fadding-a-check",0,"https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline","https:\u002F\u002Fgithub.com\u002Flimenet","http:\u002F\u002Flinusmetzler.me","run, ride, travel, hike","2026-11-06 16:08:08",{"source":9,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add limenet\u002Flaravel-baseline --skill adding-a-check",{"tool":60,"command":61},"bunx","bunx skills add limenet\u002Flaravel-baseline --skill adding-a-check",{"tool":63,"command":64},"pnpm","pnpm dlx skills add limenet\u002Flaravel-baseline --skill adding-a-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadding-a-check\u002FSKILL.md",true,[],[69,90,115,134,143,151],{"skillNo":70,"name":71,"nameZh":72,"description":73,"descriptionZh":74,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":75,"categories":76,"keywords":81,"publishedAt":40},"01M6C24Z6FHC8JGEG4DWY84TKQ","updating-dependencies","composer 与 npm 依赖更新","Update the project's composer and npm dependencies, review changelogs for their impact on this project, and report majors blocked by semver. Use when asked to update or upgrade dependencies, run the monthly dependency update, or when prompted by the `updatesDependencies` periodic baseline check.","更新项目的 composer 和 npm 依赖,审查变更日志(changelog)对其在本项目中的影响,并报告因语义化版本(semver)而被阻止的主版本升级。当被要求更新或升级依赖、执行每月依赖更新,或由 `updatesDependencies` 周期性基线检查触发时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fstandalone\u002Fskills\u002Fupdating-dependencies\u002FSKILL.md",[77,78],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CBQFSXKQG01PXCRB3SAQ8J","依赖升级与管理",[82,83,84,85,86,87,88,89,35,31,38],"updating dependencies","review","dependency update","run","update","report","semver","npm",{"skillNo":91,"name":92,"nameZh":93,"description":94,"descriptionZh":95,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":104,"publishedAt":40},"01M6C24WZ5XGG5J9V5ME56NPGM","ignoring-trivy-findings","Trivy 漏洞忽略项管理","Add, renew, or prune entries in .trivyignore.yaml — either short-lived because the fixed version is still inside the npm install cooldown, or longer-lived because the upgrade is blocked by a project constraint. Use when the Trivy `security` CI job fails on a vulnerability, when asked to ignore or suppress a Trivy finding, or when reviewing existing Trivy ignores.","在 .trivyignore.yaml 中添加、续期或删减条目——或因修复版本仍处于 npm 安装冷却期内而短期忽略,或因升级受项目约束阻碍而长期忽略。当 Trivy `security` CI 任务因某个漏洞而失败、被要求忽略或抑制某条 Trivy 发现,或审查现有 Trivy 忽略项时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fstandalone\u002Fskills\u002Fignoring-trivy-findings\u002FSKILL.md",[98,101],{"categoryNo":99,"categoryName":100,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":102,"categoryName":103,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",[105,106,107,89,108,109,110,111,112,113,38,114],"ignoring trivy findings","trivy","security","yaml","ci","vulnerability","prune","short","install","version",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":129,"publishedAt":40},"01M6C24TSQ8F73SBVP3T7PHZ2X","creating-a-release","项目版本发布","Cut, tag, and publish a new release of this project using release-it. Use when asked to create, cut, tag, or publish a release, or bump the project version.","使用 release-it 为本项目创建、打标签并发布新版本。当用户要求创建、切分、打标签或发布版本，或提升项目版本时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fstandalone\u002Fskills\u002Fcreating-a-release\u002FSKILL.md",[123,126],{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C78XMS93X21V52649FP9VH","发布经理",[130,131,38,114,132,133],"creating a release","release","create","publish",{"skillNo":135,"name":71,"nameZh":136,"description":73,"descriptionZh":137,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":142,"publishedAt":40},"01M6C24RK5FJTTRE247968HJ41","Composer 与 npm 依赖更新","更新项目的 composer 和 npm 依赖，审查变更日志（changelog）对本项目的可能影响，并报告因语义化版本（semver）约束而被阻挡的主版本升级。当用户要求更新或升级依赖、执行每月依赖更新，或由 `updatesDependencies` 周期性基线检查触发时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fboost\u002Fskills\u002Fupdating-dependencies\u002FSKILL.md",[140,141],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":79,"categoryName":80,"taxonomyType":28,"taxonomyTypeDesc":29},[82,86,83,84,85,87,88,89,35,31,38],{"skillNo":144,"name":92,"nameZh":93,"description":94,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":150,"publishedAt":40},"01M6C24PGHWX6N4V6PRRZR2AMS","在 .trivyignore.yaml 中添加、续期或清理条目——要么因修复版本仍处于 npm 安装冷却期内而短期忽略，要么因升级受项目约束阻挡而长期忽略。当 Trivy `security` CI 任务因某个漏洞失败、被要求忽略或抑制某项 Trivy 发现，或审查现有 Trivy 忽略项时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fboost\u002Fskills\u002Fignoring-trivy-findings\u002FSKILL.md",[148,149],{"categoryNo":99,"categoryName":100,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":102,"categoryName":103,"taxonomyType":23,"taxonomyTypeDesc":24},[105,106,108,109,107,110,111,112,113,38,114,89],{"skillNo":152,"name":117,"nameZh":153,"description":154,"descriptionZh":155,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":156,"categories":157,"keywords":160,"publishedAt":40},"01M6C24MN9B35Y3GF4JYAAX20Z","Laravel 项目版本发布","Cut, tag, and publish a new release of this Laravel project using release-it. Use when asked to create, cut, tag, or publish a release, or bump the project version.","使用 release-it 为本 Laravel 项目创建、打标签并发布新版本。当用户要求创建、切分、打标签或发布版本，或提升项目版本时使用。","https:\u002F\u002Fgithub.com\u002Flimenet\u002Flaravel-baseline\u002Fblob\u002Fmain\u002Fresources\u002Fboost\u002Fskills\u002Fcreating-a-release\u002FSKILL.md",[158,159],{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":127,"categoryName":128,"taxonomyType":23,"taxonomyTypeDesc":24},[131,130,38,161,133,132,114],"laravel"]