{"slug": "how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees", "title": "How to Run Long, Multi-Issue Workstreams with Claude Code /goal and Git Worktrees", "summary": "A developer describes using Claude Code's /goal command with Git worktrees to manage long, multi-issue workstreams, preventing scope drift and duplicate abstractions across parallel sessions. The approach structures work as one workstream containing several issues, each with multiple pull requests, and uses /goal to keep Claude Code focused on the overall objective. The author reports that this method reduces constant prompting and maintains consistency across PRs.", "body_md": "Member-only story\n\n# How to Run Long, Multi-Issue Workstreams with Claude Code `/goal`\n\nand Git Worktrees\n\n## Keep Claude Code focused across multiple issues and PRs — without scope drift, duplicate abstractions, or constant prompting.\n\nOur problem was not a lack of planning.\n\nThe requirements were clear, the issues were ready, and the acceptance criteria were mostly in place. We wanted to place separate workstreams in Git worktrees and let several Claude Code sessions move forward in parallel.\n\nThe difficulty appeared after the work started.\n\nReal engineering tasks rarely look like this:\n\n```\nOne issue → one pull request → done\n```\n\nA more realistic structure looks like this:\n\n```\nOne workstream  └── several issues       └── several pull requests per issue\n```\n\nConsider a simple example: adding a notification center to an application.\n\n```\nIssue A: Build the notification data layer  ├── PR 1: Data model and migration  └── PR 2: Read and update APIsIssue B: Build the notification interface  ├── PR 3: Notification list  └── PR 4: Unread state and mark-as-read behaviorIssue C: Add notification preferences  ├── PR 5: Preferences API  └── PR 6: Settings screen\n```\n\nCompleting this workstream requires more than generating code.", "url": "https://wpnews.pro/news/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees", "canonical_source": "https://blog.devgenius.io/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees-be87d13f6a4b?source=rss----4e2c1156667e---4", "published_at": "2026-07-31 09:12:00+00:00", "updated_at": "2026-07-31 09:29:45.564162+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "artificial-intelligence"], "entities": ["Claude Code"], "alternates": {"html": "https://wpnews.pro/news/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees", "markdown": "https://wpnews.pro/news/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees.md", "text": "https://wpnews.pro/news/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees.txt", "jsonld": "https://wpnews.pro/news/how-to-run-long-multi-issue-workstreams-with-claude-code-goal-and-git-worktrees.jsonld"}}