Repository navigation
Conversation
writing-plans/SKILL.md referenced worktree creation "by brainstorming skill", and using-git-worktrees/SKILL.md listed "brainstorming (Phase 4)" as a caller — but brainstorming removed Phase 4 in v3.4.1 and fully dropped worktree references in v4.3.0. Update cross-references to reflect the actual call chain: - writing-plans: worktree created via using-git-worktrees before writing the plan - using-git-worktrees: replace brainstorming caller with writing-plans - README: change "after design approval" to "before writing plans" Made-with: Cursor
mzonghao
force-pushed
the
fix/stale-worktree-references
branch
from
March 18, 2026 06:33
34788cf to
b23f9f2
Compare
Author
|
I made a mistake. After re-examining the workflow, I found that using-git-worktrees should be invoked before writing the spec doc during brainstorming, not before writing the plan doc. This PR can be closed. See the latest PR here: #829 |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
writing-plans/SKILL.mdstates that it should "run in a dedicated worktree (created by brainstorming skill)",but the current
brainstorming/SKILL.mdhas no worktree creation step.Similarly,
using-git-worktrees/SKILL.mdclaims it is "Called by brainstorming (Phase 4)", referencing a Phase 4 that no longer exists.Tracing the git history reveals the evolution:
8e38ab8"Simplify brainstorming skill"): Phase structure removed, but worktree reference kept in prose7f2ee61"Enforce brainstorming workflow with hard gates"): worktree reference fully removed, replaced with "Do NOT invoke any other skill. writing-plans is the next step."However, the cross-references in other files were not updated to match.
Solution
Since
using-git-worktreesis currently only called bysubagent-driven-developmentandexecuting-plans(both declare it as REQUIRED in their Integration sections), update the stale references to reflect the actual call chain. Change the relationship from "after design approval" to "before writing plans".Changes
skills/writing-plans/SKILL.md(line 16): Changed(created by brainstorming skill)→(created via using-git-worktrees before plan begins)skills/using-git-worktrees/SKILL.md(line 212): Removed stalebrainstorming (Phase 4)from "Called by" list, addwriting-plans - REQUIRED: should run in a dedicated worktreeinsteadREADME.md(line 105): ChangedActivates after design approval→Activates before writing plans