소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 8월 19일 01:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill worktree명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Pure-markdown output rules for plans, reports, reviews, and any structured agent output.
Code comments — none by default; type annotations and AAA markers.
Delegation mechanics — execution gate, autonomous sprint protocol, agent roster, spawn rules.
SKILL.md 표시 중
| name | worktree |
| description | Git worktree per task — <worktree_path>/<context>/<title>, in .worktrees. |
Invoke this skill at the very start of every task. No code, no file edits, no planning until the worktree decision is resolved.
Resolve the worktree decision top-down; stop at the first that applies:
| # | Source | Action |
|---|---|---|
| 1 | .dev-team-agents/.worktree-session present | Follow the stored per-session decision silently |
| 2 | worktree_active in preferences.json | Use it without asking; write the session file so the rest of the session is consistent |
| 3 | key absent (legacy install) | Ask the user once — see below |
cat .dev-team-agents/.worktree-session 2>/dev/null # source 1
| Session-file content | Action |
|---|---|
worktree=no branch=<b> | Operate on branch <b>; skip worktree setup |
worktree=yes branch=<b> | Load references/branch-flow.md using <b> as base |
If the session file is absent, read worktree_active from preferences.json:
true → set up a worktree without the yes/no prompt; false → skip the yes/no prompt and ask only for a new branch name;
key absent → use the AskUserQuestion tool with options [Yes, No]:
"Should this task use a git worktree (isolated working directory)?"
worktree=yes branch=<base>, follow references/branch-flow.md<context>/<brief-title>), run git checkout -b <branch-name>, write worktree=no branch=<branch-name>For the full cascade, base-branch resolution, format rules, and cleanup: load references/session-protocol.md.
<wt-path> = worktree_path from preferences.json (default .worktrees).
Load references/branch-flow.md for the complete step-by-step flow:
<context>/<brief-title> — lowercase, hyphenated, ≤ 5 wordsworktree_base_branch → project config → auto-detect default branch → askgit worktree add <wt-path>/<ctx>/<title> -b <ctx>/<title> <base><wt-path>/<ctx>/<title>/ — when worktree_docker_isolate and the project uses Docker, load references/docker-isolation.mdgit -C <wt-path>/<ctx>/<title> ... (intermediate commits are normal)git status --porcelain; abort teardown and ask the user if not clean) → teardown worktree + isolated Docker stack only<context>/<brief-title>
Examples: auth/add-oauth-provider, payments/fix-refund-calculation, api/add-rate-limiting
Both parts must be real, spelled-out words describing the task — never an invented acronym or letter code (e.g. bsi, dkey). A human unfamiliar with the task must be able to tell what it's about from the name alone.
For the full naming table, see references/branch-flow.md → Naming quick-reference.
When work is declared done (before finalization/teardown), the agent must output a summary block showing the current state:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WORKTREE SUMMARY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Worktree: <wt-path>/<context>/<brief-title>
Branch: <context>/<brief-title>
Base: <base-branch>
Docker: <compose-project-name> (<n> containers: <svc1>, <svc2>, ...)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
To gather the info:
# Worktree path and branch
WT=<wt-path>/<context>/<brief-title>
BRANCH=<context>/<brief-title>
BASE=<base-branch>
# Docker containers (if worktree_docker_isolate and compose is up)
docker compose -p "$COMPOSE_PROJECT_NAME" ps --format "table {{.Name}}\t{{.Status}}" 2>/dev/null
worktree_docker_isolate is false or compose is down), show Docker: none.<context>/<brief-title> slug — worktree path <wt-path>/<context>/<brief-title>, branch <context>/<brief-title>, Docker project <base-project>-wt-<context>-<brief-title> (see references/docker-isolation.md → Step 2). Never let one of these drift to a different name than the others — that is what keeps a task's worktree, branch, and containers instantly identifiable as belonging together.git checkout -b in the main tree — always git worktree addmain, master, or beta as base — resolve from worktree_base_branch, project config, or the auto-detected default branchgit worktree remove, run git status --porcelain inside it — non-empty output means uncommitted/untracked content would be destroyed. Abort and ask the user (commit / discard / keep) instead of proceeding