@brainervirus/workit-cursor 2.6.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursor-plugin/plugin.json +1 -1
- package/commands/wk-bdd.md +7 -0
- package/commands/wk-test-audit.md +7 -0
- package/dist/cursor-session-start.js +608 -72
- package/dist/mcp-server.js +628 -112
- package/dist/workit-hook.js +615 -69
- package/package.json +3 -3
- package/skills/workit-bdd/SKILL.md +42 -0
- package/skills/workit-behavioral-tdd/SKILL.md +17 -9
- package/skills/workit-debug/SKILL.md +2 -1
- package/skills/workit-test-audit/SKILL.md +43 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# /wk-bdd
|
|
2
|
+
|
|
3
|
+
Load and apply the bundled `workit-bdd` skill to turn the requirement into Given/When/Then scenarios, agreed seams and test names.
|
|
4
|
+
|
|
5
|
+
Write scenarios first, test at the highest agreed seam, run each slice RED then GREEN with `workit check test` (workit-behavioral-tdd), mock only at system boundaries, and take expected values from the scenario.
|
|
6
|
+
|
|
7
|
+
Extra context: $ARGUMENTS
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# /wk-test-audit
|
|
2
|
+
|
|
3
|
+
Load and apply the bundled `workit-test-audit` skill to find tautological and low-value tests.
|
|
4
|
+
|
|
5
|
+
Run `workit test-audit`, triage each finding with "Name the Break" (replace with an independent oracle proven on a planted bug, keep with a reason, or remove only assertion-free/duplicate tests), check with `workit test-audit --mutate --diff`, and finish with `workit check test` green.
|
|
6
|
+
|
|
7
|
+
Extra context: $ARGUMENTS
|