Skip to main content

worktree-workflow

Enforce a worktree-per-task workflow with regular commits and pushes. Triggers when user mentions: - "create a worktree" - "commit regularly" - "push changes"

Informações da origem

Repositório
different-ai/the-factory
Última atividade na origem
10 de fevereiro de 2026 às 07:21
Idioma detectado do SKILL.md
inglês
Estrelas
70
Forks
9

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
4 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
worktree-workflow
description
Enforce a worktree-per-task workflow with regular commits and pushes. Triggers when user mentions: - "create a worktree" - "commit regularly" - "push changes"
## Quick Usage (Already Configured) ### Start a task with a fresh worktree ```bash .opencode/skills/worktree-workflow/scripts/start-task-worktree.sh "task-name" ``` ### Commit regularly and push ```bash .opencode/skills/worktree-workflow/scripts/regular-commit.sh "message describing why" ``` ## Behavior - Any task that changes files should begin by creating a dedicated worktree. - Commit after each meaningful chunk of work. - Push the branch after each commit. - Submodules are initialized in the new worktree. ## Related skills - For UX PR flows with screenshots, use `.opencode/skills/worktree-ux-pr/SKILL.md`. ## Common Gotchas - Use a short, kebab-case task name; it becomes the branch suffix. - If your default branch is not `main`, set `BASE_BRANCH`. - If you update submodule pins, make sure the target submodule SHA is reachable from a remote branch/tag (avoid pinning to commits that were only on a force-pushed ref). ## First-Time Setup (If Not Configured) 1. Ensure you are in a git repo with `origin` configured. 2. Optional: set `BASE_BRANCH` or `WORKTREES_DIR` in your shell.
Ver no GitHub