fix(tdd): add cross-reference to requirements.mdc#129
Open
ianwhitedeveloper wants to merge 2 commits intomainfrom
Open
fix(tdd): add cross-reference to requirements.mdc#129ianwhitedeveloper wants to merge 2 commits intomainfrom
ianwhitedeveloper wants to merge 2 commits intomainfrom
Conversation
Directs agents to read requirements.mdc before authoring given/should strings, ensuring test scenarios are expressed as user-journey-focused functional requirements rather than implementation details or literal values. Closes #127. Made-with: Cursor
ericelliott
requested changes
Mar 6, 2026
ai/rules/tdd.mdc
Outdated
|
|
||
| ## assert | ||
|
|
||
| > Before authoring `given`/`should` strings, read and apply `requirements.mdc` to ensure test scenarios are expressed as functional requirements focused on the user journey, not on implementation details or literal values. |
Collaborator
There was a problem hiding this comment.
perhaps just import @requirements.mdc on a one-line constraint and mention that it should use them for given/should strings.
Replace blockquote callout with a one-line @requirements.mdc constraint inside Constraints {}, matching the established @import pattern used in task-creator.mdc and user-testing.mdc.
Made-with: Cursor
27ad1ab to
2a8880a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tdd.mdcdirecting agents to read and applyrequirements.mdcbefore authoringgiven/shouldstringsasserttype definition — the highest-leverage intercept pointai/rules/prefix)Closes #127
Test plan
ai/rules/tdd.mdcand.cursor/rules/tdd.mdcare in syncrequirements.mdc, notai/rules/requirements.mdc)Made with Cursor