@danieljvdm/dev-kit 0.8.0 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danieljvdm/dev-kit",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "private": false,
5
5
  "description": "Declarative project development toolkit with portable agent skills.",
6
6
  "license": "MIT",
@@ -47,5 +47,13 @@
47
47
  "include": ["serve-sim"],
48
48
  "licensePath": "LICENSE",
49
49
  },
50
+ {
51
+ "id": "mattpocock-skills",
52
+ "repository": "https://github.com/mattpocock/skills.git",
53
+ "ref": "main",
54
+ "skillsPath": "skills/engineering",
55
+ "include": ["tdd", "improve-codebase-architecture"],
56
+ "licensePath": "LICENSE",
57
+ },
50
58
  ],
51
59
  }
@@ -125,6 +125,24 @@
125
125
  "serve-sim": "sha256:782f41d4d79100d5bfc9ec1211e5d4766e978299bbb93fd8e34c6f8d2ecf2114"
126
126
  },
127
127
  "licensePath": "LICENSE"
128
+ },
129
+ {
130
+ "id": "mattpocock-skills",
131
+ "repository": "https://github.com/mattpocock/skills.git",
132
+ "ref": "main",
133
+ "resolved": "2ab958093e83e0ec752e6c1c5932da465bf23e0c",
134
+ "skillsPath": "skills/engineering",
135
+ "include": ["tdd", "improve-codebase-architecture"],
136
+ "skills": ["improve-codebase-architecture", "tdd"],
137
+ "descriptions": {
138
+ "improve-codebase-architecture": "Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.",
139
+ "tdd": "Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests."
140
+ },
141
+ "digests": {
142
+ "improve-codebase-architecture": "sha256:43721b6125a4c703810414e649fbbab252f1f85a62385cdb23f313e0e06ba26a",
143
+ "tdd": "sha256:ea2d26eda005b10a2de4bdb7de44d33072f2a8e82dbf670952ce30a9c2d7c475"
144
+ },
145
+ "licensePath": "LICENSE"
128
146
  }
129
147
  ]
130
148
  }
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: testing
3
+ description: Set an extremely high bar for automated tests. Use whenever software work raises the question of adding, changing, retaining, or removing tests.
4
+ ---
5
+
6
+ # Testing
7
+
8
+ **If in doubt, don't test it.**
9
+
10
+ Committed tests must prove durable value. Tests are permanent product code, not a reflexive companion to each source file.
11
+
12
+ Write a test only when every condition holds:
13
+
14
+ - It protects stable product behavior rather than an implementation detail.
15
+ - A regression is plausible and would be costly.
16
+ - The behavior is observable through a stable public seam.
17
+ - The test will survive likely refactors.
18
+ - The expected result is independent of the implementation.
19
+ - Existing tests, types, static checks, or a smoke check cannot cover the risk adequately.
20
+
21
+ If any condition fails, skip the test and use the cheapest sufficient verification instead. Moving MVP behavior often warrants no committed tests.
22
+
23
+ Test capabilities, not files. Use the fewest tests that protect the risk, and ignore coverage targets unless the user explicitly asks for them.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Testing"
3
+ short_description: "Set a very high bar for automated tests"
4
+ default_prompt: "Use $testing to decide whether this change truly warrants any automated tests."