worktree-manager-skill
安全管理 Git Worktrees
平行開發可能造成分支、連接埠與清理上的混亂。此技能會透過隔離的本機設定,引導 Git worktree 的建立、列出、移除與疑難排解。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "worktree-manager-skill" from https://skillstore.io/skills/egadams-worktree-manager-skill.md and its manifest at https://skillstore.io/api/skills/egadams-worktree-manager-skill/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「worktree-manager-skill」。 為 feature-authentication 建立 worktree。
預期結果:
助理會識別分支、啟動建立工作流程,並回報 worktree 路徑、本機 URL 與分配的連接埠。
正在使用「worktree-manager-skill」。 哪些 worktree 正在執行?
預期結果:
助理會列出每個 worktree,標示正在執行或已停止的服務,並註明任何連接埠衝突。
正在使用「worktree-manager-skill」。 移除舊的 feature-auth worktree。
預期結果:
助理會確認目標、執行移除工作流程,並回報已停止的服務與清理結果。
安全審計
中風險The static findings are mostly false positives from documentation examples, localhost URLs, slash command names, and .env references. I found no prompt injection attempt or evidence of credential exfiltration. One medium semantic risk remains because troubleshooting guidance includes manual force-kill and directory removal steps.
已確認的安全問題 (1)
風險因素
🌐 網路存取 (2)
⚙️ 外部命令 (6)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/egadams-worktree-manager-skill/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/egadams-worktree-manager-skill?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/egadams-worktree-manager-skill?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/egadams-worktree-manager-skill/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/egadams-worktree-manager-skill.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
EGAdams. (2026). worktree-manager-skill security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/egadams-worktree-manager-skill/audits/8BibTeX 引用
@techreport{egadams-egadams-worktree-manager-skill-2026,
author = {EGAdams},
title = {worktree-manager-skill security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/egadams-worktree-manager-skill/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "worktree-manager-skill security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "EGAdams"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/egadams-worktree-manager-skill/audits/8"
identifiers:
- type: other
value: "skillstore:egadams-worktree-manager-skill:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
建立平行功能環境
為功能分支設定具有唯一連接埠的獨立 worktree。
檢視作用中的 Worktrees
在變更本機環境之前,列出 worktree、服務狀態、連接埠與存取 URL。
清理已完成分支的 Worktrees
在工作合併後移除舊 worktree 並停止其相關服務。
試試這些提示
顯示我目前的 worktree、它們的服務狀態、連接埠與本機存取 URL。
為 feature-auth branch 建立 worktree,並告訴我 dashboard 與 server URL。
我的 worktree 發生連接埠衝突。檢查現有 worktree 並建議最安全的下一步。
為三個 branch worktree 建立計畫,包含唯一的連接埠偏移,以及審查後的清理步驟。
最佳實務
- 在建立或移除 worktree 之前確認目標分支。
- 在清理前使用列出工作流程,讓連接埠、路徑與服務狀態可見。
- 將環境檔案保留在本機,並避免在回應中分享機密值。
避免
- 在驗證 worktree 路徑之前,不要執行手動刪除指令。
- 當另一個 worktree 作用中時,不要重複使用連接埠偏移。
- 摘要設定時不要揭露 .env 值。
常見問題
此技能會直接執行 git 指令嗎?
它可以使用自訂連接埠建立 worktree 嗎?
它可以移除執行中的服務嗎?
它會將資料傳送到外部服務嗎?
刪除前我應該檢查什麼?
支援哪些工具?
開發者詳細資訊
作者
EGAdams授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
30c73eac2afe762f6aa9c4553158769369d47351
維護新鮮度
2026/7/18
使用量
5 次下載 · 288 次瀏覽
檔案結構