epic-worktree
Create the dedicated git worktree and branch for an Epic. Sub-skill of epic-implementer.
- License 许可
- MIT
- 最近更新
- 2026-10-28
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- epic-worktree
- description
- Create the dedicated git worktree and branch for an Epic. Sub-skill of epic-implementer.
03 SKILL.md 正文
User Input
$ARGUMENTS
The input must contain the Epic number, a short description and the branch convention from epic-repository-rules.
Objective
Create one worktree and one branch for the whole Epic.
1. Branch Name
Use the branch convention from repository rules.
If no convention exists, use:
type/epic-short-description
2. Create the Worktree
Create it at <git-root>/.worktrees/epic-<number>, based on the up-to-date remote default branch:
git fetch origin
git worktree add -b <branch> <git-root>/.worktrees/epic-<number> origin/<default-branch>
If the worktree or branch already exists for this Epic, reuse it instead of creating a new one.
Make sure .worktrees/ is not tracked by git.
3. Rules
- Do not create a branch per Issue.
- All Issues of the Epic are implemented in this branch.
4. Final Output
Return:
- Worktree absolute path
- Branch name
- Base commit
Return this output to the calling skill and continue its flow. Do not end the run here unless this skill was invoked directly by the user.
04 同仓库更多 Skills
utils-implementation
Write and organize utils (pure helpers for formatting, mapping, filtering, math, parsing, ids, storage) as one namespace object per domain with clear, readable names. Use before creating or changing any util.
test-writer
Write tests for the current implementation
tech-lead
Analyze a project, turn the user's goal into an implementation-ready GitHub Epic and Issues (following project rules, the Command Bus architecture and Fragiola UI), then start epic-implementer automatically (use the no-implement flag to stop after planning).
tech-lead-publish
Publish a final Epic and its Issues to GitHub, linked and labeled, keeping dependency and execution information. Sub-skill of tech-lead.
setup-command-system
Install the Command System architecture in the project
reviewer
Review code changes and provide feedback