Ship the rspock agent skill in the gem; prepare 2.6.0#11
Closed
JPDuchesne wants to merge 2 commits into
Closed
Conversation
skills/rspock/SKILL.md teaches agents the RSpock dialect — the transformed-assertion invariant first (bare statements assert inside transform! classes, silently no-op outside), then blocks, assertion forms, Where tables, interaction mocking, and wrong/right pitfall pairs. Shipping it in the gem makes the skill part of what installing the dependency means; skills-aware tooling (e.g. d3mlabs/dev) links it project-scoped at install time. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The invariant section now teaches which dialect each class speaks (expression assertions inside transform!, assert API in plain Minitest) instead of prescribing one style — mixed files via strict: false are a supported migration path, not something to unify. Adds the truth-table generator, open-ended cardinalities ((1.._), (_..3)), Rails backtrace-cleaner setup, and a debugging-failures section (source-mapped backtraces, Where-row pinpointing via _test_index_ / _line_number_). Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Superseded by #13 |
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
skills/rspock/SKILL.md, shipped in the gem (the gemspec'sgit ls-filesglob picks it up — verified viagem build+ tar listing). The skill is the first graduated learning of the d3mlabs self-learning loop (d3mlabs/plans#13 / plans#14): knowledge that outgrew an index line and lives with the library it documents.transform!classes and do NOT outside), then boilerplate, code blocks, assertion forms incl.raises+ capture, Where tables, interaction mocking (1 *,>>,>> raises(...),&block, no block yielding by design), and wrong/right pitfall pairs. Thetmp/ast_transform/<relative path>pointer is included as an optional debugging aid, not a mandated verification step.Gemfile.lock; release to follow merge.Test plan
bundle exec rake test— 228 tests, 0 failuresgem buildand verifiedskills/rspock/SKILL.mdis in the packaged file listv2.6.0(release workflow validates tag ↔ version.rb and publishes via Trusted Publishing)Made with Cursor