Skip to content

feat(skills): require git and default to worktrees in the workflow skills - #1270

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9644-require-git-and-use-git-worktrees-by-default-in-every
Oct 2, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9644-require-git-and-use-git-worktrees-by-default-in-every

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • /implement, /refactor, /review, /plan (and /pull-request) now require a git repo: they stop and tell the operator to git init when git rev-parse --show-toplevel fails.
  • /implement and /refactor start in a worktree from origin/<default-branch> through git-worktrees; /review already reviews PR targets from one.
  • git-worktrees is rewritten for the default case: bash instead of the old tool name, no "coder only" routing, stacked branches base on the previous branch.
  • Remove the "non-git folders are valid" section from native-integration; it contradicted style, which already required git.

The runtime itself still opens non-git directories (session project key falls back to the workspace path). This PR changes workflow behavior only.

Verification

  • bun run check green (7,870 tests).
  • No skill says a non-git folder is a valid working directory.

Fixes CL-9644

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9644

@TheGreatAxios
TheGreatAxios removed this pull request from stack #1273 September 30, 2026 20:41
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1277 September 30, 2026 20:56
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1279 September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9644-require-git-and-use-git-worktrees-by-default-in-every branch from 7964513 to d902ec7 Compare September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9644-require-git-and-use-git-worktrees-by-default-in-every branch from d902ec7 to 07ac944 Compare October 2, 2026 00:26
@TheGreatAxios
TheGreatAxios force-pushed the cl-9644-require-git-and-use-git-worktrees-by-default-in-every branch 6 times, most recently from 28b69a1 to d3e6bc7 Compare October 2, 2026 17:11
Base automatically changed from cl-9643-add-issue-and-pull-request-slash-commands-that-check-for-or to main October 2, 2026 17:15
@TheGreatAxios
TheGreatAxios force-pushed the cl-9644-require-git-and-use-git-worktrees-by-default-in-every branch from d3e6bc7 to 6b17aee Compare October 2, 2026 17:15
@TheGreatAxios
TheGreatAxios merged commit e63f81c into main Oct 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant