You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,6 +202,38 @@ See [docs/agents/PUBLISHING.md](docs/agents/PUBLISHING.md) for the complete rele
202
202
203
203
**How to split:** Use `lean-spec analyze <spec>`, `lean-spec split`, and `lean-spec compact` commands. See [docs/agents/WORKFLOWS.md](docs/agents/WORKFLOWS.md) for detailed examples.
204
204
205
+
## Parallel Development
206
+
207
+
Need to work on multiple specs at once? Use Git worktrees for complete code isolation:
-**Naming**: Use `spec-<number>-<short-name>` for worktrees
224
+
-**Branches**: Feature branch per spec (`feature/045-dashboard`)
225
+
-**Cleanup**: `git worktree remove <path>` after merge
226
+
-**Status**: Update spec status from main worktree
227
+
-**Ignore**: Add `.worktrees/` to `.gitignore`
228
+
229
+
**Full guide:** See [docs/agents/WORKFLOWS.md](docs/agents/WORKFLOWS.md) for complete patterns.
230
+
231
+
## FAQ
232
+
233
+
**Q: How do I work on multiple specs at once?**
234
+
235
+
Use Git worktrees. Each worktree gives you an isolated working directory with its own branch while sharing the same Git history. See [Parallel Development](#parallel-development) above and [docs/agents/WORKFLOWS.md](docs/agents/WORKFLOWS.md) for detailed patterns.
236
+
205
237
---
206
238
207
239
**Remember**: LeanSpec is a mindset, not a rulebook. When in doubt, apply the first principles in order: Context Economy → Signal-to-Noise → Intent Over Implementation → Bridge the Gap → Progressive Disclosure. Use `lean-spec --help` to discover features as needed.
0 commit comments