-
Notifications
You must be signed in to change notification settings - Fork 2
refactor(commands): force discover command to include product manager rules #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@cursor 🙏 review |
🔬 Code Review CompleteI've completed a thorough review of the PR changes. Here's my assessment: ✅ Strengths
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR embeds the full Product Manager sudolang program directly into the /discover command to improve prompt adherence and accuracy, replacing the prior indirection to external rules.
- Inlines domain model (Personas, PainPoints, UserStories, Journeys, PRDs) and constraints into ai/commands/discover.md
- Defines command interface and CRUD semantics for discovery-related entities
- Provides a discover() entrypoint aligned with the new in-file constraints
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@janhesters I made a couple minor bug fixes that may need to be backported to the rule version... but also - this feels problematic. I don't want to maintain two identical files - one in commands, and one in rules - especially considering that I have not had much trouble getting the /command to work as-is. Thoughts? cc @cursor |
ericelliott
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to talk about this.
|
@ericelliott Let's talk on Tuesday 👍 |
This PR Migrates the /discover command to include the full Product Manager sudolang program instead of recursively calling its rules. This improves prompt adherence and accuracy when running the command.
Unlike other migrations from rules to slash commands, the Product Manager rules are not deleted in this PR, since they can still be leveraged contextually by the Cursor editor when needed.
Note
Inlines the full Product Manager spec into
ai/commands/discover.md, adding entity/type definitions, CRUD operations, command interface, and updated discovery constraints.productmanager.mdcwith an inline, full Product Manager spec inai/commands/discover.md.Persona,Mockup,PainPoint(withimpact/frequency),UserStory(priority formula),Step,UserJourney,FeaturePRD,StoryMap,Project, plus supporting types andStatus.CrudOperationsforaccount,project,persona,painPoint,mockup,journey,step,story.fn discover()outlining the discovery flow and constraints./discover,/research,/setup,/generate [persona|journey|storymaps|userStories|feature],/feature,/save,/cancel [story].please.mdc.Written by Cursor Bugbot for commit eb77293. This will update automatically on new commits. Configure here.