Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    different-ai

    worktree-workflow

    different-ai/worktree-workflow
    Productivity
    4

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Enforce a worktree-per-task workflow with regular commits and pushes.

    Triggers when user mentions:

    • "create a worktree"
    • "commit regularly"
    • "push changes"

    SKILL.md

    Quick Usage (Already Configured)

    Start a task with a fresh worktree

    .opencode/skills/worktree-workflow/scripts/start-task-worktree.sh "task-name"
    

    Commit regularly and push

    .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.
    Recommended Servers
    GitHub
    GitHub
    Asana
    Asana
    ClickUp
    ClickUp
    Repository
    different-ai/openwork-enterprise
    Files