skills/yak-worktree-workflow/SKILL.md
Use when starting work on a yak - sets up an isolated git worktree, reads yak context, and guides the full cycle from claiming through merge and cleanup
npx skillsauth add mattwynne/yaks yak-worktree-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the start_yak, show_yak, merge_yak, and subagent tools to
work on a yak in an isolated worktree.
Call the start_yak tool with the yak name. This:
.worktrees/<yak-id>Call show_yak to get the full details including context.
If the context is missing, empty, or too vague — STOP and ask the user. Do not proceed without clear requirements. Ask specific questions:
Use the subagent tool to delegate implementation:
subagent(
agent: "worker",
cwd: "<worktree-path>",
task: "<derived from yak context>"
)
The task should include:
Call the merge_yak tool with the branch name. This:
dev check (tests, lint, complexity, mutation tests)If merge fails, read the output, fix issues via another subagent round in the worktree, and try again.
Use bash: yx done "<yak name>"
testing
Use when writing or reviewing Gherkin features, especially after discovering examples or edge cases that reveal a new business rule
databases
Use when running yx commands that create, modify, or delete yaks outside of real project work — provides an isolated temp environment
development
Use when planning work by approaching goals and discovering blockers, before creating comprehensive plans
development
Use when evaluating the ubiquitous language in a codebase - produces a glossary of domain terms with references and commentary on inconsistencies, awkward names, or overlapping concepts