Add automatic TDD skill alongside retained manual package
This commit is contained in:
1 parent
063d12bfb3
commit
12dc0d5505
4 files changed
+43
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: tdd-auto
|
||||
description: Test-driven development for an assigned implementation Plan; use red, green, and focused verification at its agreed test seams.
|
||||
metadata:
|
||||
relayview-display-name: Test-driven development
|
||||
relayview-version: 0.3.1
|
||||
---
|
||||
|
||||
# Test-driven development
|
||||
|
||||
Use the test seams and behavior specified by the immutable Plan. Read the target repository's domain language and test conventions. If the Plan leaves a consequential seam unclear, report that gap to the owner; do not create a new acceptance boundary by silently choosing one.
|
||||
|
||||
At each seam, write one test that fails for the missing behavior and observe the failure. Implement the smallest production slice that makes it pass. Repeat for the next behavior, then run the focused checks required by the Plan. Assert observable behavior through public interfaces, using expected values independent of the implementation. Avoid private-method assertions, tautological expectations, and a batch of tests for behavior not yet explored. Record the red and green evidence in the implementation handoff.
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"source": {
|
||||
"kind": "first-party",
|
||||
"reference": "v0.3.1"
|
||||
},
|
||||
"role": "implementer",
|
||||
"step": "implementation",
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "cf4f0cd039dc283caabc3238e3d084c2d59a3f8c8ba030595e9ea80e2b1338e6"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user