在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用list-worktrees
星标26
分支2
更新时间2026年2月24日 23:28
List all active git worktrees
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
List all active git worktrees
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Process autonomous task queue from do-work/ folder
Enter plan mode for complex tasks (pour energy into the plan for 1-shot implementation)
Initiate autonomous PR review process with Codex agent
Run comprehensive repo assessment with Codex (every 3 PRs)
Comprehensive security audit covering 10 threat categories
Install all automation for a new repo (git hooks + GitHub Actions)
基于 SOC 职业分类
| name | list-worktrees |
| description | List all active git worktrees |
Created: 2026-02-09-00-00 Last Updated: 2026-02-09-16-00
Display all active git worktrees and their status.
/list-worktrees
git worktree list
Output:
/Users/you/projects/repo abc123 [main]
/Users/you/projects/worktrees/repo-auth def456 [feature-auth]
/Users/you/projects/worktrees/repo-ui ghi789 [feature-ui]
For each worktree, show:
Enhanced Output:
📁 Worktrees for repo-name:
1. Main Worktree
Path: /Users/you/projects/repo
Branch: main
Commit: abc123 (2 hours ago)
PR Counter: 5/3 (next assessment in 1 PR)
2. Feature: Authentication
Path: ../worktrees/repo-feature-auth
Branch: feature-auth
Commit: def456 (30 mins ago)
PR: #123 (open, in review)
PR Counter: 0/3
3. Feature: UI Redesign
Path: ../worktrees/repo-feature-ui
Branch: feature-ui
Commit: ghi789 (5 mins ago)
PR: Not created yet
PR Counter: 0/3
After listing, suggest actions:
Quick Actions:
- cd ../worktrees/repo-<branch> - Jump to worktree (manual cd)
- /cleanup-worktrees - Remove finished worktrees
- /create-worktree <name> - Create new worktree
# Get worktree list
git worktree list --porcelain
# For each worktree:
# - Get branch name
# - Get latest commit
# - Check if PR exists (gh pr list)
# - Read PR counter from git-common-dir (shared across all worktrees)
COUNTER_FILE="$(git rev-parse --git-common-dir)/hooks-pr-counter"
cat "$COUNTER_FILE" 2>/dev/null || echo "0"
# - Get last commit time
# Display formatted output
# See what's in flight
/list-worktrees
# Output shows:
# - Main: 5 PRs (assessment needed)
# - Auth: PR #123 waiting for review
# - UI: Work in progress
# - Login fix: Merged, can cleanup
# Check capacity first
/list-worktrees
# If showing 5+ worktrees, clean up first
/cleanup-worktrees
# Then create new
/create-worktree new-feature
# See status of all parallel work
/list-worktrees
# Example output:
# 3 PRs submitted today
# 1 PR merged
# 2 PRs in review
# 1 feature still in progress
Status Icons:
/create-worktree - Create new worktreecd - Jump to different worktree (manual cd)/cleanup-worktrees - Remove finished worktrees