[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EDSR4GW8FY3HPXCEY0XGKV":3,"skill-same:01M6EDSR4GW8FY3HPXCEY0XGKV":73},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6EDSR4GW8FY3HPXCEY0XGKV","lerd-add-framework",null,"Add or extend a lerd framework definition (a new PHP framework or a new major version) as versioned YAML in the lerd-frameworks store. Use whenever the task involves framework detection, per-framework workers, env wiring, doctor checks, custom commands, or scaffolding — never branch on a framework name in Go.","lerd-env\u002Flerd","lerd-env","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F295201541?v=4","01M6EDSM8JFPD2Y57QMB2TMKH5","Lerd","01M6EDSMD3WKYZ4W9K3SA8MMCP",1521,"MIT","https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flerd-add-framework\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"framework","lerd add framework","add","scaffolding","new","extend","definition","wiring","custom","store","name","env","as","commands","go","frameworks","task","workers","never","version","use","branch","detection","yaml","doctor","2026-11-10 10:12:30",false,"---\nname: lerd-add-framework\ndescription: Add or extend a lerd framework definition (a new PHP framework or a new major version) as versioned YAML in the lerd-frameworks store. Use whenever the task involves framework detection, per-framework workers, env wiring, doctor checks, custom commands, or scaffolding — never branch on a framework name in Go.\n---\n\n# Add a lerd framework definition\n\nFrameworks are submitted to the **lerd-env\u002Fframeworks** repo\n(https:\u002F\u002Fgithub.com\u002Flerd-env\u002Fframeworks) as `frameworks\u002F\u003Cname>\u002F\u003Cversion>.yaml`,\none file per major version. lerd is\nframework-agnostic: no Go code knows a framework's name. Everything a framework\nneeds is declared here as data and ships to every install within ~24h with no\nbinary release.\n\nThe `lerd-frameworks\u002F` directory in the lerd repo is a local checkout you can edit\nand test against, but the pull request goes to **lerd-env\u002Fframeworks**.\n\n## Procedure\n\n1. **Copy the closest existing definition.** `laravel\u002F12.yaml` is the most\n   complete reference (workers, env services, doctor, commands, tinker). For a\n   new major version of an existing framework, copy the previous version file and\n   adjust. The existing YAML is the schema of record — do not invent fields.\n\n2. **Fill the sections that apply** (all keyed by real examples in the store):\n   - `name`, `version`, `label`, `public_dir`, `create` (scaffold command,\n     which must constrain its package to the file's own major, e.g.\n     `composer create-project laravel\u002Flaravel:^12.0`)\n   - `php.min` \u002F `php.max` — the versions the framework supports\n   - `detect` — marker file, lockfile, or `composer:` package that identifies it,\n     including the major version\n   - `env` — `.env` file\u002Fformat, `key_generation`, and the `services` map that\n     wires each service (mysql, postgres, redis, mailpit, …) with detection rules\n     and the vars to inject. **Env vars belong to the site, declared here — never\n     on workers.**\n   - `workers` — queue, schedule, and any framework-specific long-runners. Each\n     has `command`, `restart`, optional `check`\u002F`exclude_check` (composer package\n     or file gating), `conflicts_with`, `proxy`, `per_worktree`, `host`. **New\n     workers go here, not in Go** — unless a composer package owns the worker\n     rather than the framework, in which case it goes in\n     `packages\u002F\u003Cvendor>-\u003Cname>.yaml` and is declared once for every\n     major (see step 4).\n   - `setup` — post-link steps (migrate, storage:link…) with sensible `default:`\n   - `doctor.checks` — declarative health checks (`env_combo`, `symlink`,\n     `command`) with a `fix:` command and a human `detail:` string\n   - `commands` — dashboard\u002FTUI custom commands with `icon` and `confirm` where\n     destructive\n   - `devtools.jobs` — the method that runs a queued job, so the Debug window\n     reports the framework's queue. One entry with `implements` (usually the\n     job interface), `class` or `extends`, plus `method` and an optional `name`\n     expression. Nothing about it is compiled in, see the queued job seams\n     section of `docs\u002Fusage\u002Fframework-definitions.md`.\n   - `tinker`, `logs`, `console`, `composer`, `npm`\n\n3. **Give it its mark and its colour.** `color:` is the framework's brand tint, a\n   plain hex literal (`#ff2d20`) and nothing else, repeated in every version file\n   since that is the only YAML a framework has. The mark itself is per family, so\n   it goes beside the versioned directory as `frameworks\u002F\u003Cname>.svg`, one file\n   every version shares. That file is **monochrome**: a single silhouette of\n   filled paths with no `fill`, `stroke`, `style` or `class` of its own, in a bare\n   `\u003Csvg viewBox=\"...\">`, since lerd strips everything but the geometry on the way\n   in and paints it in the declared colour. Not a full colour logo and not a\n   wordmark. This is not the `icon:` a command declares, which names a built-in\n   glyph for a dashboard button.\n\n4. **Update `frameworks\u002Findex.json`** if the store requires it (check how the\n   existing entries are registered), and the README table in the\n   lerd-env\u002Fframeworks `README.md`.\n\n   A worker, command, setup step or doctor check gated on a composer package\n   belongs to the package, so it is declared once in\n   `packages\u002F\u003Cvendor>-\u003Cname>.yaml` (`package:`, an optional `version:`\n   for the package's own major, an optional `frameworks:` list of\n   `name`\u002F`min`\u002F`max` scopes, then `workers`, `commands`, `setup`, `doctor`, and a `removes:` block for what a new\n   major of the package took away) and\n   listed under `packages` in `frameworks\u002Findex.json` as `{\"name\": \"vendor\u002Fpkg\"}`,\n   with `versions`\u002F`latest` only when the package publishes a file per major.\n   lerd merges it onto the resolved definition for a project that requires the\n   package, and the package wins a name collision with the version file. Copy\n   `packages\u002Flaravel-horizon.yaml`.\n\n5. **Validate end-to-end** against a real project:\n   ```bash\n   lerd link           # in a project of that framework — detection must fire\n   lerd site:doctor    # the declared checks must run\n   ```\n   Confirm detection, PHP pinning, `.env` wiring, workers, and doctor all behave.\n\n## Rules\n\n- The PR goes to **lerd-env\u002Fframeworks**, not the lerd binary repo.\n- Data only. If you're tempted to write Go that branches on the framework name,\n  the logic belongs in this YAML instead.\n- Version the file by major version; keep detection specific enough to pick the\n  right one.\n","# Add a lerd framework definition\n\nFrameworks are submitted to the **lerd-env\u002Fframeworks** repo\n(https:\u002F\u002Fgithub.com\u002Flerd-env\u002Fframeworks) as `frameworks\u002F\u003Cname>\u002F\u003Cversion>.yaml`,\none file per major version. lerd is\nframework-agnostic: no Go code knows a framework's name. Everything a framework\nneeds is declared here as data and ships to every install within ~24h with no\nbinary release.\n\nThe `lerd-frameworks\u002F` directory in the lerd repo is a local checkout you can edit\nand test against, but the pull request goes to **lerd-env\u002Fframeworks**.\n\n## Procedure\n\n1. **Copy the closest existing definition.** `laravel\u002F12.yaml` is the most\n   complete reference (workers, env services, doctor, commands, tinker). For a\n   new major version of an existing framework, copy the previous version file and\n   adjust. The existing YAML is the schema of record — do not invent fields.\n\n2. **Fill the sections that apply** (all keyed by real examples in the store):\n   - `name`, `version`, `label`, `public_dir`, `create` (scaffold command,\n     which must constrain its package to the file's own major, e.g.\n     `composer create-project laravel\u002Flaravel:^12.0`)\n   - `php.min` \u002F `php.max` — the versions the framework supports\n   - `detect` — marker file, lockfile, or `composer:` package that identifies it,\n     including the major version\n   - `env` — `.env` file\u002Fformat, `key_generation`, and the `services` map that\n     wires each service (mysql, postgres, redis, mailpit, …) with detection rules\n     and the vars to inject. **Env vars belong to the site, declared here — never\n     on workers.**\n   - `workers` — queue, schedule, and any framework-specific long-runners. Each\n     has `command`, `restart`, optional `check`\u002F`exclude_check` (composer package\n     or file gating), `conflicts_with`, `proxy`, `per_worktree`, `host`. **New\n     workers go here, not in Go** — unless a composer package owns the worker\n     rather than the framework, in which case it goes in\n     `packages\u002F\u003Cvendor>-\u003Cname>.yaml` and is declared once for every\n     major (see step 4).\n   - `setup` — post-link steps (migrate, storage:link…) with sensible `default:`\n   - `doctor.checks` — declarative health checks (`env_combo`, `symlink`,\n     `command`) with a `fix:` command and a human `detail:` string\n   - `commands` — dashboard\u002FTUI custom commands with `icon` and `confirm` where\n     destructive\n   - `devtools.jobs` — the method that runs a queued job, so the Debug window\n     reports the framework's queue. One entry with `implements` (usually the\n     job interface), `class` or `extends`, plus `method` and an optional `name`\n     expression. Nothing about it is compiled in, see the queued job seams\n     section of `docs\u002Fusage\u002Fframework-definitions.md`.\n   - `tinker`, `logs`, `console`, `composer`, `npm`\n\n3. **Give it its mark and its colour.** `color:` is the framework's brand tint, a\n   plain hex literal (`#ff2d20`) and nothing else, repeated in every version file\n   since that is the only YAML a framework has. The mark itself is per family, so\n   it goes beside the versioned directory as `frameworks\u002F\u003Cname>.svg`, one file\n   every version shares. That file is **monochrome**: a single silhouette of\n   filled paths with no `fill`, `stroke`, `style` or `class` of its own, in a bare\n   `\u003Csvg viewBox=\"...\">`, since lerd strips everything but the geometry on the way\n   in and paints it in the declared colour. Not a full colour logo and not a\n   wordmark. This is not the `icon:` a command declares, which names a built-in\n   glyph for a dashboard button.\n\n4. **Update `frameworks\u002Findex.json`** if the store requires it (check how the\n   existing entries are registered), and the README table in the\n   lerd-env\u002Fframeworks `README.md`.\n\n   A worker, command, setup step or doctor check gated on a composer package\n   belongs to the package, so it is declared once in\n   `packages\u002F\u003Cvendor>-\u003Cname>.yaml` (`package:`, an optional `version:`\n   for the package's own major, an optional `frameworks:` list of\n   `name`\u002F`min`\u002F`max` scopes, then `workers`, `commands`, `setup`, `doctor`, and a `removes:` block for what a new\n   major of the package took away) and\n   listed under `packages` in `frameworks\u002Findex.json` as `{\"name\": \"vendor\u002Fpkg\"}`,\n   with `versions`\u002F`latest` only when the package publishes a file per major.\n   lerd merges it onto the resolved definition for a project that requires the\n   package, and the package wins a name collision with the version file. Copy\n   `packages\u002Flaravel-horizon.yaml`.\n\n5. **Validate end-to-end** against a real project:\n   ```bash\n   lerd link           # in a project of that framework — detection must fire\n   lerd site:doctor    # the declared checks must run\n   ```\n   Confirm detection, PHP pinning, `.env` wiring, workers, and doctor all behave.\n\n## Rules\n\n- The PR goes to **lerd-env\u002Fframeworks**, not the lerd binary repo.\n- Data only. If you're tempted to write Go that branches on the framework name,\n  the logic belongs in this YAML instead.\n- Version the file by major version; keep detection specific enough to pick the\n  right one.\n",{"name":5,"description":7},"main","42002a83742a4b695919dfe85fefd0764874dbdd",".claude\u002Fskills\u002Flerd-add-framework",97,"https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd","http:\u002F\u002Flerd.sh","https:\u002F\u002Fgithub.com\u002Flerd-env","https:\u002F\u002Flerd.sh","Open source local PHP development environment for Linux and macOS","2026-11-15 03:10:15",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add lerd-env\u002Flerd --skill lerd-add-framework",{"tool":65,"command":66},"bunx","bunx skills add lerd-env\u002Flerd --skill lerd-add-framework",{"tool":68,"command":69},"pnpm","pnpm dlx skills add lerd-env\u002Flerd --skill lerd-add-framework","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flerd-add-framework\u002FSKILL.md",true,[],[74,88,121,145],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":44},"01M6EDT7MBV4DY2DEB1Y8AH6WQ","lerd-hello","Greets lerd sites. Use when the user asks to greet a site.","https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002Finternal\u002Fplugins\u002Fskeleton\u002FSKILL.md",[],[81,82,83,84,85,39,86,87],"hello","lerd hello","when","sites","greet","user","site",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":44},"01M6EDT4B5EW664Z9S4KCM9SCC","lerd-preflight","Run the full local verification gate for lerd before committing — build, test, vet, gofmt, UI tests, installer tests, then install the local build and smoke-test. Use before every commit or PR, and whenever asked to \"verify\", \"check CI locally\", or \"make sure it's green\".","https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flerd-preflight\u002FSKILL.md",[],[95,96,97,98,99,39,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120],"preflight","lerd preflight","test","ui","smoke","commit","pr","run","install","verification gate","verification","check","green","verify","ci","sure","check ci locally","for","installer","make","tests","vet","full","local","build","gate",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":44},"01M6EDT0CJRTDGAXGZF2HJZ16B","lerd-open-pr","Draft and open a pull request the lerd way — issue-first, correct issue linking, human prose, none of the banned sections. Use when asked to open, prepare, or draft a PR for lerd. Never creates anything on GitHub without explicit per-action approval.","https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flerd-open-pr\u002FSKILL.md",[],[101,128,129,130,131,37,132,133,112,134,135,136,137,83,39,138,139,140,141,142,143,144],"open pr","open","lerd open pr","action","request","linking","human","draft","prose","issue","approval","correct","first","pull","pull request","prepare","github",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":44},"01M6EDSW8C2VGTZDVPTVN6QAJB","lerd-add-service","Add or edit a lerd service preset (database, cache, search engine, admin dashboard) as YAML in the lerd-services store. Use whenever the task is to add a new service, a new version of a service, or wire a service into projects — never add services in Go.","https:\u002F\u002Fgithub.com\u002Flerd-env\u002Flerd\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flerd-add-service\u002FSKILL.md",[],[152,153,21,154,155,156,28,31,35,37,38,39,157,23,158,159,160,42,161,162,163,164,165],"add service","lerd add service","service","engine","search engine","edit","projects","services","cache","admin","search","database","preset","dashboard"]