跳到正文
cccskills
免费在 GitHub 公开

wt

Creates a Git worktree under `worktree/` for a named branch, after updating `master`. It initializes submodules and confirms the new location and branch, giving you an isolated checkout for separate work.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create a git worktree in worktree/ subdirectory with up-to-date master

homeassistant-ai/ha-mcp星标 5,357(GitHub 5,357 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • Create an isolated checkout for a new feature branch
  • Start parallel work from the latest master
  • Initialize submodules in a new worktree

包含的文件(1)

  • SKILL.md1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create Git Worktree

Create a new worktree in worktree/<branch-name> with branch <branch-name>.

Execution

# Return to repo root
cd "$(git rev-parse --show-toplevel)"

# Pull latest master
git checkout master
git pull origin master

# Create worktree
git worktree add worktree/"$ARGUMENTS" -b "$ARGUMENTS"

# Initialize submodules (skills-vendor)
git -C worktree/"$ARGUMENTS" submodule update --init --recursive

# Navigate to worktree
cd worktree/"$ARGUMENTS"

# Confirm location and branch
echo ""
echo "✅ Worktree created and ready:"
echo "   Location: $(pwd)"
echo "   Branch: $(git rev-parse --abbrev-ref HEAD)"
echo ""
echo "You can now work in this isolated environment."

Notes

  • Worktree inherits .claude/skills/ workflows
  • To remove when done: cd ../.. && git worktree remove worktree/"$ARGUMENTS"
  • List all worktrees: git worktree list

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

bat-adhoc

免费

Design and run focused acceptance scenarios to check MCP tools through real agent CLIs such as Claude or Gemini. Review task completion, tool failures, and detailed run output, and compare branches when investigating a regression.

中文简介正在准备中。当前显示英语简介。

  • Validate MCP tool changes in a pull request
  • Check whether a tool regression occurs from an agent’s perspective
  • Run an end-to-end scenario with Claude or Gemini CLI
homeassistant-ai/ha-mcp53572026年10月29日 更新

Compare MCP tool behavior in a target version with a released baseline. It selects relevant prebuilt scenarios, designs custom regression stories, runs them with agent CLIs, verifies outcomes, and reports behavior, tool usage, and cost trends.

中文简介正在准备中。当前显示英语简介。

  • Compare tool behavior between a release and a code change
  • Choose test stories that exercise modified MCP tools
  • Create regression scenarios for changed code paths
homeassistant-ai/ha-mcp53572026年10月29日 更新

Review an external GitHub pull request for security concerns, test coverage, change size, and alignment with its linked issue or stated purpose. It summarizes findings and drafts a constructive review comment for you to approve before posting.

中文简介正在准备中。当前显示英语简介。

  • Review an external contribution before deciding whether it is ready to merge
  • Check whether a pull request has tests for its changed code
  • Assess whether a contributor’s changes match the linked issue
homeassistant-ai/ha-mcp53572026年10月29日 更新

Finds authors of merged pull requests who are missing from a README contributors list, drafts concise descriptions of their work, and updates the list only after the user approves the proposed additions.

中文简介正在准备中。当前显示英语简介。

  • Find recent merged PR authors missing from the contributor list
  • Draft factual one-line summaries of contributors’ changes
  • Update a README after reviewing proposed additions
homeassistant-ai/ha-mcp53572026年10月29日 更新

Analyze a GitHub issue by exploring related code, checking relevant external details, and assessing implementation complexity and architectural choices. The skill drafts a structured issue comment and recommends labels for maintainers to review.

中文简介正在准备中。当前显示英语简介。

  • Assessing the complexity of a GitHub issue
  • Planning implementation approaches
  • Preparing an issue analysis and labels
homeassistant-ai/ha-mcp53572026年10月29日 更新

Take a GitHub issue through implementation in a worktree, tests, and a draft pull request. The skill then checks CI results and review threads, applies fixes, and repeats the review cycle until the pull request is ready for maintainer review.

中文简介正在准备中。当前显示英语简介。

  • Implementing a GitHub issue end to end
  • Creating a draft pull request from an issue
  • Resolving CI failures and review comments
homeassistant-ai/ha-mcp53572026年10月29日 更新

查看 homeassistant-ai 的全部技能

报告此技能的问题