[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FE4JDJHKTJPWRWNQEX2HT":3,"skill-same:01M78FE4JDJHKTJPWRWNQEX2HT":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78FE4JDJHKTJPWRWNQEX2HT","run-claude-dev-env",null,"Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~\u002F.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.","jl-cmd-projects\u002Fclaude-dev-env","jl-cmd-projects","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F338158757?v=4","01M78F4M55P4QY5YPN27XBQA9N","01M78F4M65AGEYC88NV6PW4715",7,"MIT","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Frun-claude-dev-env\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: run-claude-dev-env\ndescription: Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~\u002F.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.\n---\n\n`claude-dev-env` is the npm-distributed installer that copies this repo's rules, hooks, commands, and docs into `~\u002F.claude\u002F`, copies skills and agents into `~\u002F.agents\u002F`, publishes directory pointers at `~\u002F.claude\u002Fskills` and `~\u002F.claude\u002Fagents`, and merges its hook entries into `~\u002F.claude\u002Fsettings.json`. Its entry point is `bin\u002Finstall.mjs`. Drive it with the smoke driver at `.claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs`, which runs the installer against a throwaway sandbox home directory so a run never touches the real `~\u002F.claude\u002F` or `~\u002F.agents\u002F`.\n\nAll paths below are written from the `packages\u002Fclaude-dev-env\u002F` directory.\n\n## Prerequisites\n\nThe installer needs three tools on `PATH`:\n\n- **Node.js 18+** — the installer is an ES module (verified on Node 22.17).\n- **Python 3.8+** — the installer bakes a Python interpreter into every hook command and aborts if it finds none. On Windows it skips the Microsoft Store stub (verified `py -3` → Python 3.13.5).\n- **git** — the installer reads `git status` to guard against installing from a conflicted source, and sets a global git hooks path.\n\n```bash\nnode --version\ngit --version\npy -3 --version    # POSIX: python3 --version\n```\n\nOn a fresh Ubuntu container the three come from `sudo apt-get install -y nodejs python3 git`.\n\n## Run (agent path) — the smoke driver\n\nThe driver is the handle to reach for first. It spawns the installer against a fresh temp home directory with `HOME`, `USERPROFILE`, and `GIT_CONFIG_GLOBAL` all redirected, runs the `--help` → install → `--uninstall` lifecycle, asserts the result of each step against the sandbox tree, then deletes the sandbox. It works the same on Windows and POSIX.\n\n```bash\nnode .claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs\n```\n\nExpected tail:\n\n```\n21\u002F21 checks passed.\nALL CHECKS PASSED\n```\n\nThe driver proves a full install lands skills under `\u003Csandbox>\u002F.agents\u002Fskills` with a directory pointer at `\u003Csandbox>\u002F.claude\u002Fskills`, lands agents the same way, lands hook scripts, rules, the `CLAUDE.md` hub, a populated `settings.json`, and a tracking manifest, and that `--uninstall` removes every manifest-tracked file. The real `~\u002F.claude\u002F`, `~\u002F.agents\u002F`, and the real global git config stay untouched. Exit code is 0 only when all checks hold.\n\n## Run (human path) — install for real\n\nThese write into your real `~\u002F.claude\u002F` and set a global git hooks path. Run them only when you mean to install on this machine.\n\n```bash\nnode bin\u002Finstall.mjs --help         # usage only, no side effects\nnode bin\u002Finstall.mjs                # install every group\nnode bin\u002Finstall.mjs --only core    # install one or more named groups\nnode bin\u002Finstall.mjs --update       # remove manifest-tracked files, then reinstall\nnode bin\u002Finstall.mjs --uninstall    # remove every installed file\n```\n\nGroups: `core`, `journal`, and the discovered `prompt-generator` dependency group. Run `node bin\u002Finstall.mjs --help` for the live list. The published package runs the same entry point as `npx claude-dev-env`.\n\n## Test\n\n```bash\nnpm test\n```\n\nRuns `node --test` over `bin\u002F*.test.mjs` and `.agents\u002Fskills\u002F**\u002F*.test.mjs` with Node's built-in test runner — no extra dependency, no network. Expected: `# fail 0`, with the pass count growing as tests are added.\n\n## Gotchas\n\n- **The install target is `os.homedir()\u002F.claude` with no override flag** (the `CLAUDE_HOME` constant in `bin\u002Finstall.mjs`). To drive the installer without overwriting your real config, redirect the home directory: set `USERPROFILE` (Windows) and `HOME` (POSIX) to a temp dir. The driver does this for you.\n- **The installer reaches outside `~\u002F.claude\u002F`.** It writes skills and agents under `~\u002F.agents\u002F`, runs `git config --global core.hooksPath ...`, which applies to every git repo on the machine, and it writes `~\u002F.mypy.ini`. The driver isolates those writes by pointing `GIT_CONFIG_GLOBAL` at a sandbox file and redirecting the home directory.\n- **git \"dubious ownership\" aborts the install.** The source-conflict guard runs `git status`; when the checkout sits on a path git distrusts (a UNC network share owned by another account), git exits 128 with a dubious-ownership message that the installer rethrows. The driver seeds its sandbox git config with `safe.directory = *` so the guard runs. For a real install on such a checkout, add the exception: `git config --global --add safe.directory '\u003Crepo-path>'`.\n- **`npm install` at the repo root fails on a Windows network-share checkout.** npm symlinks the workspace package into root `node_modules` and the share rejects the symlink (`UNKNOWN ... symlink`, errno -4094). The package's own `node_modules` already carries its single dependency, so the driver and tests run without it. The installer also keeps working when `@jl-cmd\u002Fprompt-generator` cannot resolve — it skips that group with a warning (`discoverDependencyGroups` in `bin\u002Finstall.mjs`).\n- **Microsoft Store Python is rejected on Windows.** The installer skips any interpreter under a `WindowsApps` directory because that stub cannot run as a hook subprocess (`isWindowsStorePythonStub` in `bin\u002Finstall.mjs`). Install Python from python.org if detection fails.\n\n## Troubleshooting\n\n- **`ERROR: No usable Python 3 found`**: no `py -3` \u002F `python3` \u002F `python` resolves to a non-Store Python 3. Install Python 3.8+ from python.org and reopen the shell.\n- **`fatal: detected dubious ownership in repository`**: add the `safe.directory` exception shown above, then rerun.\n- **`ERROR: settings.json is malformed JSON`**: `~\u002F.claude\u002Fsettings.json` has a syntax error; fix the JSON and rerun.\n\n## Files\n\n- `SKILL.md` — this page: the agent path (the driver), the human install path, the test command, gotchas, and troubleshooting.\n- `driver.mjs` — the smoke harness that drives `bin\u002Finstall.mjs` against a sandbox home directory. Run it; you do not need to read it. It sits beside this file at `.claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs`.\n\nThe `\u002Frun` skill auto-discovers this skill when asked to run, install, or test `claude-dev-env`.\n","`claude-dev-env` is the npm-distributed installer that copies this repo's rules, hooks, commands, and docs into `~\u002F.claude\u002F`, copies skills and agents into `~\u002F.agents\u002F`, publishes directory pointers at `~\u002F.claude\u002Fskills` and `~\u002F.claude\u002Fagents`, and merges its hook entries into `~\u002F.claude\u002Fsettings.json`. Its entry point is `bin\u002Finstall.mjs`. Drive it with the smoke driver at `.claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs`, which runs the installer against a throwaway sandbox home directory so a run never touches the real `~\u002F.claude\u002F` or `~\u002F.agents\u002F`.\n\nAll paths below are written from the `packages\u002Fclaude-dev-env\u002F` directory.\n\n## Prerequisites\n\nThe installer needs three tools on `PATH`:\n\n- **Node.js 18+** — the installer is an ES module (verified on Node 22.17).\n- **Python 3.8+** — the installer bakes a Python interpreter into every hook command and aborts if it finds none. On Windows it skips the Microsoft Store stub (verified `py -3` → Python 3.13.5).\n- **git** — the installer reads `git status` to guard against installing from a conflicted source, and sets a global git hooks path.\n\n```bash\nnode --version\ngit --version\npy -3 --version    # POSIX: python3 --version\n```\n\nOn a fresh Ubuntu container the three come from `sudo apt-get install -y nodejs python3 git`.\n\n## Run (agent path) — the smoke driver\n\nThe driver is the handle to reach for first. It spawns the installer against a fresh temp home directory with `HOME`, `USERPROFILE`, and `GIT_CONFIG_GLOBAL` all redirected, runs the `--help` → install → `--uninstall` lifecycle, asserts the result of each step against the sandbox tree, then deletes the sandbox. It works the same on Windows and POSIX.\n\n```bash\nnode .claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs\n```\n\nExpected tail:\n\n```\n21\u002F21 checks passed.\nALL CHECKS PASSED\n```\n\nThe driver proves a full install lands skills under `\u003Csandbox>\u002F.agents\u002Fskills` with a directory pointer at `\u003Csandbox>\u002F.claude\u002Fskills`, lands agents the same way, lands hook scripts, rules, the `CLAUDE.md` hub, a populated `settings.json`, and a tracking manifest, and that `--uninstall` removes every manifest-tracked file. The real `~\u002F.claude\u002F`, `~\u002F.agents\u002F`, and the real global git config stay untouched. Exit code is 0 only when all checks hold.\n\n## Run (human path) — install for real\n\nThese write into your real `~\u002F.claude\u002F` and set a global git hooks path. Run them only when you mean to install on this machine.\n\n```bash\nnode bin\u002Finstall.mjs --help         # usage only, no side effects\nnode bin\u002Finstall.mjs                # install every group\nnode bin\u002Finstall.mjs --only core    # install one or more named groups\nnode bin\u002Finstall.mjs --update       # remove manifest-tracked files, then reinstall\nnode bin\u002Finstall.mjs --uninstall    # remove every installed file\n```\n\nGroups: `core`, `journal`, and the discovered `prompt-generator` dependency group. Run `node bin\u002Finstall.mjs --help` for the live list. The published package runs the same entry point as `npx claude-dev-env`.\n\n## Test\n\n```bash\nnpm test\n```\n\nRuns `node --test` over `bin\u002F*.test.mjs` and `.agents\u002Fskills\u002F**\u002F*.test.mjs` with Node's built-in test runner — no extra dependency, no network. Expected: `# fail 0`, with the pass count growing as tests are added.\n\n## Gotchas\n\n- **The install target is `os.homedir()\u002F.claude` with no override flag** (the `CLAUDE_HOME` constant in `bin\u002Finstall.mjs`). To drive the installer without overwriting your real config, redirect the home directory: set `USERPROFILE` (Windows) and `HOME` (POSIX) to a temp dir. The driver does this for you.\n- **The installer reaches outside `~\u002F.claude\u002F`.** It writes skills and agents under `~\u002F.agents\u002F`, runs `git config --global core.hooksPath ...`, which applies to every git repo on the machine, and it writes `~\u002F.mypy.ini`. The driver isolates those writes by pointing `GIT_CONFIG_GLOBAL` at a sandbox file and redirecting the home directory.\n- **git \"dubious ownership\" aborts the install.** The source-conflict guard runs `git status`; when the checkout sits on a path git distrusts (a UNC network share owned by another account), git exits 128 with a dubious-ownership message that the installer rethrows. The driver seeds its sandbox git config with `safe.directory = *` so the guard runs. For a real install on such a checkout, add the exception: `git config --global --add safe.directory '\u003Crepo-path>'`.\n- **`npm install` at the repo root fails on a Windows network-share checkout.** npm symlinks the workspace package into root `node_modules` and the share rejects the symlink (`UNKNOWN ... symlink`, errno -4094). The package's own `node_modules` already carries its single dependency, so the driver and tests run without it. The installer also keeps working when `@jl-cmd\u002Fprompt-generator` cannot resolve — it skips that group with a warning (`discoverDependencyGroups` in `bin\u002Finstall.mjs`).\n- **Microsoft Store Python is rejected on Windows.** The installer skips any interpreter under a `WindowsApps` directory because that stub cannot run as a hook subprocess (`isWindowsStorePythonStub` in `bin\u002Finstall.mjs`). Install Python from python.org if detection fails.\n\n## Troubleshooting\n\n- **`ERROR: No usable Python 3 found`**: no `py -3` \u002F `python3` \u002F `python` resolves to a non-Store Python 3. Install Python 3.8+ from python.org and reopen the shell.\n- **`fatal: detected dubious ownership in repository`**: add the `safe.directory` exception shown above, then rerun.\n- **`ERROR: settings.json is malformed JSON`**: `~\u002F.claude\u002Fsettings.json` has a syntax error; fix the JSON and rerun.\n\n## Files\n\n- `SKILL.md` — this page: the agent path (the driver), the human install path, the test command, gotchas, and troubleshooting.\n- `driver.mjs` — the smoke harness that drives `bin\u002Finstall.mjs` against a sandbox home directory. Run it; you do not need to read it. It sits beside this file at `.claude\u002Fskills\u002Frun-claude-dev-env\u002Fdriver.mjs`.\n\nThe `\u002Frun` skill auto-discovers this skill when asked to run, install, or test `claude-dev-env`.\n",{"name":5,"description":7},"main","974284b42eeb4609e94d4ebc1f6e36df400d54ca","skill-archive\u002Frun-claude-dev-env",1,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects","2026-11-15 05:02:47",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add jl-cmd-projects\u002Fclaude-dev-env --skill run-claude-dev-env",{"tool":36,"command":37},"bunx","bunx skills add jl-cmd-projects\u002Fclaude-dev-env --skill run-claude-dev-env",{"tool":39,"command":40},"pnpm","pnpm dlx skills add jl-cmd-projects\u002Fclaude-dev-env --skill run-claude-dev-env","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Frun-claude-dev-env\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"driver.mjs","SCRIPT","脚本",10241,"https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Frun-claude-dev-env\u002Fdriver.mjs",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M78FER7S09AE87MMJFT1E87E","update","Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '\u002Fupdate', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into \u003Cpath>', or 'bring main up to date'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fupdate\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M78FENWZS01MB4PMGX6801X6","source-command-sr-loop","Converging cleanup loop: repeat \u002Fsimplify until clean, then repeat \u002Fcode-review --fix until clean","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsource-command-sr-loop\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M78FEGZ7JDWEG3RM78M9Y8F8","skill-builder","Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fskill-builder\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M78FEDEYHJYKTER9S566DMEZ","session-tidy","Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '\u002Fsession-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsession-tidy\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M78FE8QR789SKBF3A78N2T13","session-log","Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a \u002Frename command. Use for \u002Fsession-log, 'journal this session', 'log this work', 'session report', 'summarize\u002Flog\u002Frecord this session', 'save session', 'capture session', or 'document what we did'.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Fsession-log\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M78FE1F0V4N9XB32KE4A2S9D","review-tier","Classify `review_tier_constants` from change axes, hard triggers, and user overrides. Triggers: \u002Freview-tier, tier override, and review classification.","https:\u002F\u002Fgithub.com\u002Fjl-cmd-projects\u002Fclaude-dev-env\u002Fblob\u002Fmain\u002Fskill-archive\u002Freview-tier\u002FSKILL.md",[],[]]