four-doctors 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -1,11 +1,13 @@
1
- # doctors
1
+ # four-doctors
2
2
 
3
3
  The whole suite, one command. Runs `rails-doctor`, `design-doctor`, `qa-doctor`, and (optionally) `react-doctor`, and aggregates the scores.
4
4
 
5
+ > **Why the name?** npm rejected `doctors` as too similar to `doctoc`. `four-doctors` it is.
6
+
5
7
  ## Quick start
6
8
 
7
9
  ```bash
8
- npx -y doctors@latest scan .
10
+ npx -y four-doctors@latest scan .
9
11
  ```
10
12
 
11
13
  Auto-runs the doctors that apply to your project:
@@ -21,19 +23,19 @@ Auto-runs the doctors that apply to your project:
21
23
 
22
24
  ```bash
23
25
  # Static-only (default) — Rails + React audit
24
- npx -y doctors scan .
26
+ npx -y four-doctors scan .
25
27
 
26
28
  # Add browser QA against a running app
27
- npx -y doctors scan . --browser --url http://localhost:3000
29
+ npx -y four-doctors scan . --browser --url http://localhost:3000
28
30
 
29
31
  # Add the LLM vision pass
30
- npx -y doctors scan . --vision --url http://localhost:3000
32
+ npx -y four-doctors scan . --vision --url http://localhost:3000
31
33
 
32
34
  # Full sweep — every doctor, every flag
33
- npx -y doctors scan . --browser --vision --fill --url http://localhost:3000 --react-doctor
35
+ npx -y four-doctors scan . --browser --vision --fill --url http://localhost:3000 --react-doctor
34
36
 
35
37
  # CI gate — fail under suite-average 80
36
- npx -y doctors scan . --min-score 80
38
+ npx -y four-doctors scan . --min-score 80
37
39
  ```
38
40
 
39
41
  ## Output
@@ -63,7 +65,7 @@ doctors — suite report
63
65
  ## Install all the skills
64
66
 
65
67
  ```bash
66
- npx -y doctors install # installs the meta skill
68
+ npx -y four-doctors install # installs the meta skill
67
69
  npx -y rails-doctor install
68
70
  npx -y design-doctor install
69
71
  npx -y qa-doctor install
@@ -73,7 +75,7 @@ After that, your agent can call any doctor by name — and `doctors` itself when
73
75
 
74
76
  ## Source
75
77
 
76
- - [doctors](https://github.com/artisanscompany/doctors)
78
+ - [four-doctors](https://github.com/artisanscompany/doctors)
77
79
  - [rails-doctor](https://github.com/artisanscompany/rails-doctor)
78
80
  - [design-doctor](https://github.com/artisanscompany/design-doctor)
79
81
  - [qa-doctor](https://github.com/artisanscompany/qa-doctor)
package/dist/installer.js CHANGED
@@ -12,7 +12,7 @@ const TARGET_DIRS = [
12
12
  "~/.config/opencode/skills",
13
13
  ];
14
14
  function install(opts = {}) {
15
- const skillSrc = (0, node_path_1.resolve)(__dirname, "..", "skills", "doctors");
15
+ const skillSrc = (0, node_path_1.resolve)(__dirname, "..", "skills", "four-doctors");
16
16
  if (!(0, node_fs_1.existsSync)(skillSrc))
17
17
  throw new Error(`Skill source missing at ${skillSrc}`);
18
18
  const home = process.env.HOME || "";
@@ -22,7 +22,7 @@ function install(opts = {}) {
22
22
  const parent = (0, node_path_1.dirname)(expanded);
23
23
  if (!(0, node_fs_1.existsSync)(parent))
24
24
  continue;
25
- const dest = (0, node_path_1.join)(expanded, "doctors");
25
+ const dest = (0, node_path_1.join)(expanded, "four-doctors");
26
26
  if (opts.dryRun) {
27
27
  out.push({ dest, copied: false });
28
28
  continue;
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "0.1.0";
4
+ exports.VERSION = "0.1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "four-doctors",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Run rails-doctor, design-doctor, react-doctor, and qa-doctor with one command. Auto-detects which apply, aggregates the scores into a single report, and installs all four agent skills at once.",
5
5
  "keywords": [
6
6
  "rails-doctor",
@@ -1,17 +1,17 @@
1
1
  ---
2
- name: doctors
2
+ name: four-doctors
3
3
  description: Use when the user wants a full health check of a Rails+Inertia or TanStack codebase — runs rails-doctor, design-doctor, qa-doctor (browser), and optionally react-doctor, and aggregates the scores into one report. Auto-skips inapplicable doctors. Useful before committing, before a release, or when onboarding a new codebase.
4
4
  version: "1.0.0"
5
5
  ---
6
6
 
7
- # Doctors
7
+ # Four Doctors
8
8
 
9
9
  The whole suite, one command. Runs every applicable doctor against the project, aggregates the scores, and emits a single report.
10
10
 
11
11
  ## Quick start
12
12
 
13
13
  ```bash
14
- npx -y doctors@latest scan .
14
+ npx -y four-doctors@latest scan .
15
15
  ```
16
16
 
17
17
  That runs `rails-doctor` (if a Gemfile is present) and `design-doctor` (if React is in `package.json`), shows individual scores plus the suite average.
@@ -19,7 +19,7 @@ That runs `rails-doctor` (if a Gemfile is present) and `design-doctor` (if React
19
19
  ## Add browser QA
20
20
 
21
21
  ```bash
22
- npx -y doctors@latest scan . --browser --url http://localhost:3000
22
+ npx -y four-doctors@latest scan . --browser --url http://localhost:3000
23
23
  ```
24
24
 
25
25
  Adds `qa-doctor` to the run. Needs a running dev server.
@@ -27,7 +27,7 @@ Adds `qa-doctor` to the run. Needs a running dev server.
27
27
  ## Add vision pass
28
28
 
29
29
  ```bash
30
- npx -y doctors@latest scan . --vision --url http://localhost:3000
30
+ npx -y four-doctors@latest scan . --vision --url http://localhost:3000
31
31
  ```
32
32
 
33
33
  Runs `design-doctor` with the LLM vision pass enabled.
@@ -35,7 +35,7 @@ Runs `design-doctor` with the LLM vision pass enabled.
35
35
  ## Run all four
36
36
 
37
37
  ```bash
38
- npx -y doctors@latest scan . --browser --vision --fill --url http://localhost:3000 --react-doctor
38
+ npx -y four-doctors@latest scan . --browser --vision --fill --url http://localhost:3000 --react-doctor
39
39
  ```
40
40
 
41
41
  ## Companion install
@@ -46,7 +46,7 @@ Install every individual doctor's skill at once:
46
46
  npx -y rails-doctor@latest install
47
47
  npx -y design-doctor@latest install
48
48
  npx -y qa-doctor@latest install
49
- npx -y doctors@latest install
49
+ npx -y four-doctors@latest install
50
50
  ```
51
51
 
52
52
  After that, an agent can call any of them by name; this skill just helps the agent decide which to run together.
@@ -54,7 +54,7 @@ After that, an agent can call any of them by name; this skill just helps the age
54
54
  ## CI gating
55
55
 
56
56
  ```bash
57
- npx -y doctors@latest scan . --min-score 80
57
+ npx -y four-doctors@latest scan . --min-score 80
58
58
  ```
59
59
 
60
60
  Fails the build when the suite average drops below 80.