How we integrated OpenSpec into a pnpm monorepo with custom schema #536
CS-Tao
started this conversation in
Show and tell
Replies: 2 comments 9 replies
-
|
Great discussion on integrating OpenSpec into your pnpm monorepo! I have a question about how you maintain specs within the monorepo structure: Do you keep specs in a flat, single-level directory structure, or do you support nested/tree-like organization? For example, if you have multiple packages with different domains, do you:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@TabishB Can we provide a command like |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Here's how we're using OpenSpec in our frontend monorepo (pnpm workspaces with React + TypeScript).
Setup
pnpm openspec/opsx:*commands to/sdd:*- "Spec-Driven Development" is easier for our team to rememberHow We Update OpenSpec Commands
We built a custom CLI command that:
@fission-ai/openspecCLI is installed and up-to-dateopenspec initin a temp directory to fetch the latest upstream commands/skillsopenspec-*→sdd-*,/opsx:*→/sdd:*)openspec→pnpm openspec)This keeps our commands in sync with upstream while maintaining our local setup.
Our Custom Schema:
anchor-prd-drivenWe defined a 5-artifact workflow that matches how our team works with Product Managers and Designers:
Questions We'd Love to Discuss
Post-archive modifications - After a change is archived, what's the recommended workflow if we need to update both specs and code? Should we create a new change referencing the old one?
Partial team adoption - Some team members use SDD workflow, others don't. How do we ensure specs stay in sync with code when changes are made outside the OpenSpec workflow?
Anything else? - Happy to answer questions and open to suggestions!
Beta Was this translation helpful? Give feedback.
All reactions