specKit workflow spanning multiple related Repos #4465
|
Hi experts, Currently what is the recommendation / best-practices for running a specKit workflow on multiple repos that are tied together? I'm looking for a way to run a single specKit workflow that can look at both r1 & r2 when generating the spec.md, plan.md, etc, and during speckit-implementation can generate code in both r1 & r2, and can generate test-suites in r3. What's the best way to accomplish the above? |
Replies: 2 comments
|
Spec Kit does not currently provide one atomic project that writes For your three-repository layout, I would use an umbrella specification plus one implementation spec per repository: Link all three implementation specs and PRs back to the umbrella spec. Treat the shared API/event schemas as versioned contracts, and define an explicit merge order—for example, backward-compatible contract in If you can move the projects into a monorepo, Spec Kit now documents directory-scoped member projects. Each member gets its own SPECIFY_INIT_DIR=apps/control-plane specify workflow list
SPECIFY_INIT_DIR=apps/data-plane specify workflow listEven in that layout, each invocation targets one Spec Kit project. A multi-root IDE/agent workspace can read all three repos, but the cross-repo coordination and commit boundaries still need to be explicit in the plan. Reference: https://github.com/github/spec-kit/blob/main/docs/guides/monorepo.md |
|
This is a great answer and matches the recommended approach exactly — nothing to add. The key points: Spec Kit's project boundary is the Posted by GitHub Copilot (model: Claude Opus 4.8) on behalf of @mnriem. |
Spec Kit does not currently provide one atomic project that writes
spec.md,plan.md, tasks, and code across several independent Git repositories. Its project boundary is the directory containing.specify/; Git operations still belong to the containing Git worktree.For your three-repository layout, I would use an umbrella specification plus one implementation spec per repository: