Skip to content

fix(skills): restore worktree step in brainstorming workflow#483

Open
qishaoyumu wants to merge 1 commit intoobra:mainfrom
qishaoyumu:fix/worktree-workflow-gap
Open

fix(skills): restore worktree step in brainstorming workflow#483
qishaoyumu wants to merge 1 commit intoobra:mainfrom
qishaoyumu:fix/worktree-workflow-gap

Conversation

@qishaoyumu
Copy link

@qishaoyumu qishaoyumu commented Feb 15, 2026

Summary

  • Restore the using-git-worktrees invocation lost during brainstorming skill simplification (8e38ab8, 7f2ee61)
  • Fix stale "Phase 4" cross-reference in using-git-worktrees Integration section
  • Update terminal state note to reflect the restored worktree step

Problem

writing-plans expects to run in a worktree created by brainstorming ("This should be run in a dedicated worktree (created by brainstorming skill)."), but brainstorming never invokes using-git-worktrees. The step was unintentionally dropped during two rounds of simplification. Related: #186

Changes

skills/brainstorming/SKILL.md:

  • Checklist: insert step 6 (Set up worktree) between design doc and writing-plans
  • Process flow diagram: add worktree node with correct edges
  • "After the Design": add Workspace isolation section
  • Terminal state note: replace "The ONLY skill" with explicit worktree → writing-plans flow

skills/using-git-worktrees/SKILL.md:

  • Integration: fix "brainstorming (Phase 4)" → "brainstorming (Step 6)"

Test Plan

  • Invoke brainstorming skill and verify worktree step appears in task checklist
  • Verify writing-plans runs inside the created worktree
  • Verify using-git-worktrees Integration section references correct step number

Summary by CodeRabbit

Release Notes

  • Documentation
    • Updated brainstorming workflow to include an isolated workspace setup step before implementation planning
    • Restructured process flow with enhanced workspace isolation guidance

Add back the using-git-worktrees invocation that was lost during
brainstorming skill simplification (8e38ab8, 7f2ee61):

- brainstorming checklist: insert step 6 (Set up worktree)
- brainstorming process flow: add worktree node between design doc
  and writing-plans
- brainstorming After the Design: add Workspace isolation section
- using-git-worktrees Integration: fix stale "Phase 4" reference
  to "Step 6"

Addresses obra#186
@coderabbitai
Copy link

coderabbitai bot commented Feb 15, 2026

📝 Walkthrough

Walkthrough

The brainstorming skill workflow now requires setting up a git worktree before transitioning to implementation planning. The using-git-worktrees skill integration condition was updated to reflect this new workflow position, changing from Phase 4 to Step 6 with clarified timing requirements.

Changes

Cohort / File(s) Summary
Brainstorming Workflow
skills/brainstorming/SKILL.md
Added "Set up worktree" step invoking using-git-worktrees before final implementation transition. Updated terminal state description and added new "Workspace isolation" section documenting git worktree approach. Process Flow diagram updated with new worktree node.
Git Worktrees Integration
skills/using-git-worktrees/SKILL.md
Updated Integration section to reflect new workflow position: changed from Phase 4 to Step 6, and refined REQUIRED condition wording to specify timing as "after writing design doc, before invoking writing-plans".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • yoavsion

Poem

🐰 A worktree before we write the plans so grand,
Isolation first, as nature would command!
Git branches nested, workspace clean and bright,
The brainstorm flows into the work just right! 🌿

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: restoring the worktree step in the brainstorming workflow, which aligns with the primary objective of fixing the removed using-git-worktrees invocation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Comments