[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72E9GCNXK30T0AMKE5B08V1":3,"skill-same:01M72E9GCNXK30T0AMKE5B08V1":46},{"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":30,"updatedAt":31,"install":32,"resources":45},"01M72E9GCNXK30T0AMKE5B08V1","new-workspace",null,"Create a ready-to-use git worktree for the current repository at ~\u002Fsrc\u002F\u003Crepo>-\u003Cname> on a new branch features\u002F\u003Cname>, branched from a freshly fetched origin\u002Fmain, then run the repo's scripts\u002Finit\u002Finit.sh in it so dependencies, skills, and agent tooling are installed. Use when the user asks to create a new workspace, worktree, or feature-branch environment for the current repo, or invokes \u002Fnew-workspace \u003Cname>.","acolomba\u002Fpi-claude-marketplace","acolomba","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6459?v=4","01M72E7TWVKS2VCX2HJX9PXAMC","Alessandro Colomba","01M72E7TXFNRH9GKDMHYQVQQY1",29,"MIT","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnew-workspace\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: new-workspace\ndescription: Create a ready-to-use git worktree for the current repository at ~\u002Fsrc\u002F\u003Crepo>-\u003Cname> on a new branch features\u002F\u003Cname>, branched from a freshly fetched origin\u002Fmain, then run the repo's scripts\u002Finit\u002Finit.sh in it so dependencies, skills, and agent tooling are installed. Use when the user asks to create a new workspace, worktree, or feature-branch environment for the current repo, or invokes \u002Fnew-workspace \u003Cname>.\n---\n\n# New Workspace\n\nCreate a worktree that is ready to use: when this skill finishes, the user can open a new terminal, `cd ~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, start an agent, and work.\n\nRequire exactly one argument, the workspace `\u003Cname>`. If it's missing, ask for it before running anything.\n\nDo not use GSD's `\u002Fgsd-workspace` here. Its worktree strategy nests the repo under `\u003Cpath>\u002F\u003Crepo>\u002F` and writes a `WORKSPACE.md` beside it. This project wants the worktree itself at `~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, like `hwt` makes it.\n\n1. Resolve the repo and the target path once, and use these variables in every later command. A `~` inside quotes does not expand, so use `$HOME`:\n\n   ```bash\n   repo_root=$(git rev-parse --show-toplevel)\n   repo=${repo_root##*\u002F}\n   name=\u003Cname>\n   target=\"$HOME\u002Fsrc\u002F$repo-$name\"\n   ```\n\n   If `git rev-parse` fails, report that you are not inside a git repository and stop.\n\n2. Validate before you create anything, and report all failures at once:\n\n   - `$name` is kebab-case: lowercase letters and digits in words joined by single hyphens (`^[a-z0-9]+(-[a-z0-9]+)*$`). The name becomes both a branch component and a folder name, so a space or a slash would make an odd branch or a nested folder.\n   - `$target` does not exist.\n   - The branch `features\u002F$name` does not exist (`git -C \"$repo_root\" show-ref --verify --quiet \"refs\u002Fheads\u002Ffeatures\u002F$name\"` succeeds when it does).\n\n3. Fetch `main`, and check that it contains the setup script:\n\n   ```bash\n   git -C \"$repo_root\" fetch origin main\n   git -C \"$repo_root\" cat-file -e origin\u002Fmain:scripts\u002Finit\u002Finit.sh\n   ```\n\n   The branch starts from `origin\u002Fmain`, not from the current `HEAD`, so it is never out of date, even when the local checkout is behind. If the fetch fails, report it and stop. Do not fall back to an older base.\n\n4. Create the worktree:\n\n   ```bash\n   git -C \"$repo_root\" worktree prune\n   git -C \"$repo_root\" worktree add --no-track -b \"features\u002F$name\" \"$target\" origin\u002Fmain\n   ```\n\n   `prune` removes the records of worktree folders that someone deleted by hand. Without it, `worktree add` refuses a path that git still has registered. `--no-track` stops the feature branch from tracking `origin\u002Fmain`, so `git pull` and `git push` do not target `main`.\n\n5. Run the setup script in the new worktree:\n\n   ```bash\n   bash \"$target\u002Fscripts\u002Finit\u002Finit.sh\"\n   ```\n\n   It installs npm dependencies, GSD, skills, codegraph, and the fallow agent wiring. It takes several minutes and can run longer than a foreground tool timeout, so start it detached (for example, as a background task) and wait for it to exit. Judge the result by its exit code.\n\n   Near the end, the script prints \"Failed\" for some pre-commit hooks, such as the dash fixer and mdformat. This is expected. The codegraph and fallow installers rewrite `AGENTS.md`, and those hooks restore the committed text. The script ignores their exit status. Do not report these lines as a problem when the script exits 0 and `git status` is clean.\n\n   If the script exits non-zero, show the end of its output and stop. Keep the worktree, and tell the user to fix the cause and run `scripts\u002Finit\u002Finit.sh` again from the worktree.\n\n6. Report:\n\n   - the worktree path, the branch, and the commit it starts from\n   - whether `init.sh` succeeded\n   - `git -C \"$target\" status --short`. The script can rewrite tracked files, such as `package-lock.json` or `AGENTS.md`. List any changes, and do not revert them.\n   - next step: open a new terminal, `cd ~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, and start the agent\n\nLeave this session in its current directory. The user starts a new agent in the worktree, so moving this session there would only change where its later commands run.\n","# New Workspace\n\nCreate a worktree that is ready to use: when this skill finishes, the user can open a new terminal, `cd ~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, start an agent, and work.\n\nRequire exactly one argument, the workspace `\u003Cname>`. If it's missing, ask for it before running anything.\n\nDo not use GSD's `\u002Fgsd-workspace` here. Its worktree strategy nests the repo under `\u003Cpath>\u002F\u003Crepo>\u002F` and writes a `WORKSPACE.md` beside it. This project wants the worktree itself at `~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, like `hwt` makes it.\n\n1. Resolve the repo and the target path once, and use these variables in every later command. A `~` inside quotes does not expand, so use `$HOME`:\n\n   ```bash\n   repo_root=$(git rev-parse --show-toplevel)\n   repo=${repo_root##*\u002F}\n   name=\u003Cname>\n   target=\"$HOME\u002Fsrc\u002F$repo-$name\"\n   ```\n\n   If `git rev-parse` fails, report that you are not inside a git repository and stop.\n\n2. Validate before you create anything, and report all failures at once:\n\n   - `$name` is kebab-case: lowercase letters and digits in words joined by single hyphens (`^[a-z0-9]+(-[a-z0-9]+)*$`). The name becomes both a branch component and a folder name, so a space or a slash would make an odd branch or a nested folder.\n   - `$target` does not exist.\n   - The branch `features\u002F$name` does not exist (`git -C \"$repo_root\" show-ref --verify --quiet \"refs\u002Fheads\u002Ffeatures\u002F$name\"` succeeds when it does).\n\n3. Fetch `main`, and check that it contains the setup script:\n\n   ```bash\n   git -C \"$repo_root\" fetch origin main\n   git -C \"$repo_root\" cat-file -e origin\u002Fmain:scripts\u002Finit\u002Finit.sh\n   ```\n\n   The branch starts from `origin\u002Fmain`, not from the current `HEAD`, so it is never out of date, even when the local checkout is behind. If the fetch fails, report it and stop. Do not fall back to an older base.\n\n4. Create the worktree:\n\n   ```bash\n   git -C \"$repo_root\" worktree prune\n   git -C \"$repo_root\" worktree add --no-track -b \"features\u002F$name\" \"$target\" origin\u002Fmain\n   ```\n\n   `prune` removes the records of worktree folders that someone deleted by hand. Without it, `worktree add` refuses a path that git still has registered. `--no-track` stops the feature branch from tracking `origin\u002Fmain`, so `git pull` and `git push` do not target `main`.\n\n5. Run the setup script in the new worktree:\n\n   ```bash\n   bash \"$target\u002Fscripts\u002Finit\u002Finit.sh\"\n   ```\n\n   It installs npm dependencies, GSD, skills, codegraph, and the fallow agent wiring. It takes several minutes and can run longer than a foreground tool timeout, so start it detached (for example, as a background task) and wait for it to exit. Judge the result by its exit code.\n\n   Near the end, the script prints \"Failed\" for some pre-commit hooks, such as the dash fixer and mdformat. This is expected. The codegraph and fallow installers rewrite `AGENTS.md`, and those hooks restore the committed text. The script ignores their exit status. Do not report these lines as a problem when the script exits 0 and `git status` is clean.\n\n   If the script exits non-zero, show the end of its output and stop. Keep the worktree, and tell the user to fix the cause and run `scripts\u002Finit\u002Finit.sh` again from the worktree.\n\n6. Report:\n\n   - the worktree path, the branch, and the commit it starts from\n   - whether `init.sh` succeeded\n   - `git -C \"$target\" status --short`. The script can rewrite tracked files, such as `package-lock.json` or `AGENTS.md`. List any changes, and do not revert them.\n   - next step: open a new terminal, `cd ~\u002Fsrc\u002F\u003Crepo>-\u003Cname>`, and start the agent\n\nLeave this session in its current directory. The user starts a new agent in the worktree, so moving this session there would only change where its later commands run.\n",{"name":5,"description":7},"main","e11a4ae750f73683358b81398b749edb27c1fa24",".agents\u002Fskills\u002Fnew-workspace",15,"https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace","https:\u002F\u002Fgithub.com\u002Facolomba","Distinguished Engineer","2026-11-11 18:27:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add acolomba\u002Fpi-claude-marketplace --skill new-workspace",{"tool":38,"command":39},"bunx","bunx skills add acolomba\u002Fpi-claude-marketplace --skill new-workspace",{"tool":41,"command":42},"pnpm","pnpm dlx skills add acolomba\u002Fpi-claude-marketplace --skill new-workspace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnew-workspace\u002FSKILL.md",true,[],[47,53,59,65,71,77],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M72EA0RJW0Q0R0DPSDR5GNVD","official-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fofficial-marketplace\u002Fplugins\u002Fofficial-plugin\u002Fskills\u002Fofficial-skill\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M72E9YSE4Q4XF6D6CTG9QFR3","mismatch-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fmismatched-directory-marketplace\u002Fplugins\u002Fmismatch-placeholder\u002Fskills\u002Fmismatch-skill\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M72E9WZJ3V2RXB6NAH96DSK1","github-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fgithub-marketplace\u002Fplugins\u002Fgithub-plugin\u002Fskills\u002Fgithub-skill\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M72E9VDTPDZW6QXVEHS4KQ2D","preinstalled-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fdirectory-marketplace\u002Fplugins\u002Fpreinstalled-plugin\u002Fskills\u002Fpreinstalled-skill\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M72E9TRV4FQNJ87B19X56QZQ","local-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fdirectory-marketplace\u002Fplugins\u002Flocal-plugin\u002Fskills\u002Flocal-skill\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M72E9S9N39QKPJ9371JF3W0G","disabled-skill","https:\u002F\u002Fgithub.com\u002Facolomba\u002Fpi-claude-marketplace\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fimport-command\u002Fdirectory-marketplace\u002Fplugins\u002Fdisabled-by-local\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[]]