@kensio/isolated-testing-style 1.11.0 → 1.13.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://anthropic.com/claude-code/plugin.schema.json",
3
3
  "name": "isolated-testing-style",
4
- "version": "1.11.0",
4
+ "version": "1.13.0",
5
5
  "description": "An opinionated testing style built on simulated collaborators and randomised data.",
6
6
  "author": {
7
7
  "name": "Kensio Software",
package/README.md CHANGED
@@ -1,26 +1,41 @@
1
1
  # @kensio/isolated-testing-style
2
2
 
3
- An opinionated testing style, packaged as a Claude Code skill. Real collaborators through
4
- simulation, isolation from randomised data, and assertions on behaviour.
3
+ An opinionated testing style, packaged as an agent skill. Real collaborators through simulation,
4
+ isolation from randomised data, and assertions on behaviour.
5
5
 
6
6
  Every rule in it comes from a specific failure it would have caught, and the failure is written down
7
7
  next to the rule.
8
8
 
9
9
  ## Install
10
10
 
11
- From the marketplace:
11
+ Into any agent that reads `SKILL.md`:
12
+
13
+ ```bash
14
+ npx @kensio/skills add isolated-testing-style
15
+ ```
16
+
17
+ That copies the skill directory into `.agents/skills/`, where Codex, Cursor, Copilot, Gemini CLI and
18
+ the other implementations of the specification look for one. Pass `--agent claude` for
19
+ `.claude/skills/`, `--agent copilot` for `.github/skills/`, and `--user` to install it for every
20
+ project at once.
21
+
22
+ Claude Code also takes it as a plugin:
12
23
 
13
24
  ```bash
14
25
  claude plugin marketplace add KensioSoftware/kensio.ai
15
26
  claude plugin install isolated-testing-style@kensio
16
27
  ```
17
28
 
18
- From npm:
29
+ Or pin it in a repository as a dependency:
19
30
 
20
31
  ```bash
21
32
  npm install @kensio/isolated-testing-style
22
33
  ```
23
34
 
35
+ Every skill is also published as a zip on each
36
+ [release](https://github.com/KensioSoftware/kensio.ai/releases), for a machine with no npm reach.
37
+ Unzip it into `.agents/skills/` and it is installed.
38
+
24
39
  ## What it covers
25
40
 
26
41
  **Prefer real collaborators through simulation.** A stub asserts that your code called something. A
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "@kensio/isolated-testing-style",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "An opinionated testing style built on simulated collaborators and randomised data.",
5
5
  "keywords": [
6
+ "agent-skills",
6
7
  "claude",
7
8
  "claude-code",
8
9
  "claude-code-plugin",
10
+ "codex",
11
+ "copilot",
12
+ "cursor",
9
13
  "kensio",
10
14
  "skill",
15
+ "skill-md",
11
16
  "test-style",
12
17
  "testing",
13
18
  "typescript",
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: isolated-testing-style
3
3
  description: Write tests that start from given/when/then, use real collaborators through simulation rather than stubs and mocks, take their isolation from randomised data rather than shared setup and teardown, and assert behaviour rather than call counts. Use when writing or reviewing tests, when a test needs a collaborator faked, when reaching for a mock, spy, `toHaveBeenCalledWith`, `beforeEach`/`afterEach` fixtures or a hardcoded expected hash, when test setup has grown tangled, and when asked "how should I test this?".
4
+ license: Apache-2.0
5
+ metadata:
6
+ version: "1.13.0"
4
7
  ---
5
8
 
6
9
  # Isolated testing style