소스 정보
- 저장소
- ForceInjection/domain-driven-design-skills
- 최근 소스 활동
- 2026년 5월 8일 03:07
- 감지된 SKILL.md 언어
- 영어
- 스타
- 25
- 포크
- 7
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill listing-worktrees명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Conduct deep academic research for philosophy, neuroscience, cognitive science, and theoretical computer science (computability, complexity, AI theory, logic). Use when user asks to: research academic topics, find scholarly papers, conduct literature reviews, analyze citations, synthesize research findings, explore philosophical arguments, investigate consciousness/cognition, study computability/decidability/Turing machines, or analyze academic debates. Triggers on: 'research papers', 'literature review', 'academic sources', 'scholarly articles', 'philosophy of mind', 'computability theory', 'neuroscience studies', 'find papers on', 'what does the research say'.
Create clear action plans with steps, success criteria, and risk awareness. Use before implementing features, making changes, starting projects, or anytime you need a roadmap to success. Triggers on "plan this", "how should we approach", "what's the strategy", "steps to complete", or when facing complex multi-step work.
Add keyboard navigation to a feature using CommandRegistryService. Use when implementing keyboard shortcuts, vim-style navigation, or hotkeys for a page or component.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | listing-worktrees |
| description | Use when user wants to see all autonomy worktrees with their status |
List all autonomy worktrees in the repository, showing their branch, location, HEAD commit, and lock status. Helps users navigate and manage multiple parallel worktrees.
Core principle: Worktrees are working directories, not branches. This lists checked-out worktrees only, not all autonomy branches.
Use this skill when:
/list-worktrees commandDO NOT use for:
/list-branches instead)/branch-status)/compare-branches)| Step | Action | Tool |
|---|---|---|
| 1. Get all worktrees | Run git worktree list | Bash |
| 2. Filter to autonomy | Keep only .worktrees/autonomy/ paths | Bash |
| 3. Format output | Create table with branch, path, HEAD, lock status | Manual |
| 4. Provide guidance | Add navigation and management hints | Direct output |
Retrieve complete worktree list from git:
# Get porcelain format for machine parsing
worktree_list=$(git worktree list --porcelain)
# Format:
# worktree /path/to/worktree
# HEAD <commit-hash>
# branch refs/heads/<branch-name>
#
# worktree /path/to/another
# ...
Parse porcelain output:
# Extract worktree information
# Each worktree is separated by blank line
# Fields: worktree, HEAD, branch, detached, locked
# Example parsing with awk:
git worktree list --porcelain | awk '
/^worktree / { path = substr($0, 10) }
/^HEAD / { head = substr($0, 6); head_short = substr(head, 1, 7) }
/^branch / { branch = substr($0, 8); gsub("refs/heads/", "", branch) }
/^locked/ { locked = "yes" }
/^$/ {
if (path != "") {
print path "|" head_short "|" branch "|" locked
path = ""; head = ""; head_short = ""; branch = ""; locked = "no"
}
}
END {
if (path != "") {
print path "|" head_short "|" branch "|" locked
}
}
'
Keep only worktrees in .worktrees/autonomy/:
# Filter parsed output to autonomy worktrees only
autonomy_worktrees=$(echo "$all_worktrees" | grep "\.worktrees/autonomy/")
# Count autonomy worktrees
count=$(echo "$autonomy_worktrees" | grep -c "^" || echo "0")
if [ "$count" -eq 0 ]; then
echo "No autonomy worktrees found."
echo ""
echo "Autonomy branches exist in main repository or without worktrees."
echo ""
echo "To create a worktree:"
echo " /fork-worktree <strategy-name>"
echo ""
echo "To see all autonomy branches:"
echo " /list-branches"
exit 0
fi
Create readable table with worktree information:
Autonomy Worktrees:
Branch Path HEAD Locked
autonomy/experiment-a .worktrees/autonomy/experiment-a a1b2c3d
autonomy/experiment-b .worktrees/autonomy/experiment-b d4e5f6g 🔒
autonomy/cdn-optimize .worktrees/autonomy/cdn-optimize h7i8j9k
Total: 3 autonomy worktrees
Column specifications:
autonomy/<strategy-name>)Implementation:
# Print header
printf "%-25s %-41s %-10s %s\n" "Branch" "Path" "HEAD" "Locked"
# Print each worktree
echo "$autonomy_worktrees" | while IFS='|' read -r path head branch locked; do
# Make path relative to repo root if absolute
rel_path=$(realpath --relative-to="$repo_root" "$path" 2>/dev/null || echo "$path")
# Lock indicator
lock_icon=""
if [ "$locked" = "yes" ]; then
lock_icon="🔒"
fi
# Print row
printf "%-25s %-41s %-10s %s\n" "$branch" "$rel_path" "$head" "$lock_icon"
done
Add helpful navigation and management instructions:
To navigate to a worktree:
cd .worktrees/autonomy/<strategy-name>
To remove a worktree:
/remove-worktree <strategy-name>
To create a new worktree:
/fork-worktree <strategy-name>
Note: This lists worktrees only. To see all autonomy branches (including those without worktrees):
/list-branches
Additional context:
Locked worktrees (🔒):
- Cannot be removed without unlocking
- To unlock: git worktree unlock .worktrees/autonomy/<strategy-name>
This command shows worktrees, not branches:
/fork-iteration)/list-branches to see all autonomy branches regardless of worktreesExample scenario:
Branches in repo:
- autonomy/experiment-a (has worktree)
- autonomy/experiment-b (has worktree)
- autonomy/experiment-c (no worktree, created via /fork-iteration)
/list-worktrees shows: experiment-a, experiment-b
/list-branches shows: experiment-a, experiment-b, experiment-c
The main repository working directory is technically a worktree, but NOT listed here:
.worktrees/autonomy/ onlyWorktrees can be locked to prevent accidental removal:
# Lock a worktree
git worktree lock .worktrees/autonomy/<strategy-name>
# Lock with reason
git worktree lock --reason "Long-running experiment" .worktrees/autonomy/<strategy-name>
# Unlock
git worktree unlock .worktrees/autonomy/<strategy-name>
When locked:
/remove-worktree failsPaths displayed are relative to repository root:
.worktrees/autonomy/experiment-a (not absolute /home/user/repo/.worktrees/...)cd commands| Mistake | Reality |
|---|---|
| "This shows all autonomy branches" | NO. Only branches with worktrees. Use /list-branches for all branches. |
| "Main repo appears in list" | NO. Only dedicated worktrees in .worktrees/autonomy/. |
| "I can see iteration progress here" | NO. This is just worktree metadata. Use /branch-status for iteration progress. |
| "I'll parse git worktree list directly" | YES, but use --porcelain for reliable parsing. |
| "All worktrees are unlocked" | NO. Check locked field; some may be locked. |
User can:
cd .worktrees/autonomy/<strategy-name>/remove-worktree <strategy-name>/branch-status <strategy-name>/compare-branches <strategy-a> <strategy-b>Relationship to other autonomy commands:
| Command | Shows | Purpose |
|---|---|---|
/list-worktrees | Worktrees only | Navigate to worktree directories |
/list-branches | All autonomy branches | See all exploration branches |
/branch-status | Single branch details | Iteration progress and status |
/compare-branches | Two branches comparison | Compare different approaches |
Typical workflow:
# See which worktrees exist
/list-worktrees
# Navigate to one
cd .worktrees/autonomy/experiment-a
# Work on iteration
/start-iteration
# ... work ...
/end-iteration
# Check all branches (including ones without worktrees)
/list-branches
# Clean up worktree when done
cd <repo-root>
/remove-worktree experiment-a
When no autonomy worktrees exist:
No autonomy worktrees found.
Autonomy branches may exist in main repository or without worktrees.
To create a worktree:
/fork-worktree <strategy-name>
To see all autonomy branches:
/list-branches
To work on autonomy branch in main repo:
/fork-iteration <strategy-name>
/start-iteration