jourilo 1.0.1 → 1.1.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/README.md +108 -117
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/dist/jourilo.mjs +1989 -665
- package/plugin/skills/accessibility/SKILL.md +1 -0
- package/plugin/skills/audit/SKILL.md +3 -3
- package/plugin/skills/compare/SKILL.md +1 -0
- package/plugin/skills/conversion/SKILL.md +1 -0
- package/plugin/skills/jourilo/SKILL.md +29 -8
- package/plugin/skills/journeys/SKILL.md +1 -0
- package/plugin/skills/optimize/SKILL.md +1 -0
- package/plugin/skills/report/SKILL.md +3 -2
|
@@ -18,3 +18,4 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
18
18
|
3. Be explicit that automated checks cover only part of WCAG 2.2: list the `needs-review` items and the criteria
|
|
19
19
|
in `limitations` that require a person (e.g. 1.3.3, 2.5.7, 3.2.6, 3.3.7, 3.3.8 beyond paste, screen-reader
|
|
20
20
|
announcements). Never call a site "WCAG compliant" from an automated run.
|
|
21
|
+
4. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step). Name criteria by number (e.g. 1.4.3) in the priorities.
|
|
@@ -18,6 +18,6 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
18
18
|
Useful options: `--pages N`, `--viewports desktop,mobile,reflow`, `--throttle`, `--url /path` (exact pages).
|
|
19
19
|
3. Read `summary`, `findings` and `limitations`. Open the screenshots behind the most severe findings with Read
|
|
20
20
|
and confirm they show what the finding says. If a finding looks wrong, say so — do not repeat it blindly.
|
|
21
|
-
4. Answer
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
4. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step).
|
|
22
|
+
Group by root cause, keep conversion hypotheses apart from defects, and name the biggest limitation in one line.
|
|
23
|
+
Offer fixes (`/jourilo:optimize`) or journeys (`/jourilo:journeys`) as the next step.
|
|
@@ -15,3 +15,4 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
15
15
|
1. `jourilo runs --json` to find run ids if needed, then `jourilo compare <baseline> [head] --json`.
|
|
16
16
|
2. Report fixed, new (regressions first) and persisting findings with pages and severities, and metric deltas.
|
|
17
17
|
Single lab visits are noisy: treat small metric changes as noise unless repeated runs agree.
|
|
18
|
+
3. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step). Lead with regressions, then fixed and still-present counts; the report's Before / after tab shows them.
|
|
@@ -20,3 +20,4 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
20
20
|
3. Present: (a) usability defects blocking the funnel — fix first; (b) hypotheses ranked by how directly they sit on
|
|
21
21
|
the key journey, each with the metric that would test it. No predicted lifts, ever.
|
|
22
22
|
4. Offer `jourilo experiment plan --finding <id>` (ask for the baseline rate and daily traffic; do not guess them).
|
|
23
|
+
5. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step).
|
|
@@ -78,11 +78,32 @@ Tell the user which stage you are in. If they asked for one thing (e.g. "just ac
|
|
|
78
78
|
Run the project's own lint/tests after editing.
|
|
79
79
|
8. **Verify** — `jourilo verify <baseline-run>`; rerun journeys. Report fixed / new / persisting with evidence. If
|
|
80
80
|
something regressed, fix it or `jourilo rollback <id> --yes` (with permission; it never overwrites later edits).
|
|
81
|
-
9. **Report** —
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
9. **Report** — Answer in the short format below. Offer `jourilo experiment plan --finding <id>` for hypotheses.
|
|
82
|
+
|
|
83
|
+
## Answer format
|
|
84
|
+
|
|
85
|
+
The evidence lives in the report; the chat answer is a short brief of **80–150 words** in the user's language,
|
|
86
|
+
unless they ask for more. Never paste the finding list into chat.
|
|
87
|
+
|
|
88
|
+
1. **Target** — the project or website and what ran (pages × viewports, journeys).
|
|
89
|
+
2. **Blocked and broken** — blocked journeys first, then the key verified defects (page, severity, evidence).
|
|
90
|
+
3. **Three priorities** — numbered, one per root cause (file:line when known), not per symptom.
|
|
91
|
+
4. **Fixes** — how many are automatic (`jourilo optimize` previews them), agent-assisted, or need a person;
|
|
92
|
+
conversion hypotheses are experiment briefs, never fixes or promised lifts.
|
|
93
|
+
5. **Report** — the real `report.html` path from the command's JSON (`reports.html` / `report`), and how to open it
|
|
94
|
+
(`open <path>` on macOS, `xdg-open` on Linux, `start` on Windows, or any browser). It works offline, in English
|
|
95
|
+
or Turkish, light or dark, and turns selected findings into a repair prompt.
|
|
96
|
+
6. **Next** — one recommended action, as an offer.
|
|
97
|
+
|
|
98
|
+
Example (about 90 words):
|
|
99
|
+
|
|
100
|
+
> **acme.dev** — 7 pages × desktop/mobile, 4 journeys.
|
|
101
|
+
> **Blocked:** signup fails on mobile: the submit button sits under the cookie banner (journey `signup`, step 9).
|
|
102
|
+
> 25 verified defects (1 critical) from 19 root causes.
|
|
103
|
+
> **Priorities:** 1) covered submit button (`CookieBanner.tsx:12`); 2) hero image without alt text (critical);
|
|
104
|
+
> 3) focus outline removed in `style.css:14` (6 pages).
|
|
105
|
+
> **Fixes:** 7 automatic, 11 agent-assisted, 1 needs a person; 6 conversion ideas are experiment briefs.
|
|
106
|
+
> **Report:** `.jourilo/runs/20261101-144012-5d4952/report.html` — `open` it in a browser.
|
|
107
|
+
> **Next:** shall I preview the automatic fixes?
|
|
108
|
+
|
|
109
|
+
Not: "Your site has some accessibility issues and could convert better."
|
|
@@ -22,3 +22,4 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
22
22
|
`--allow-destructive` and explicit consent. A blocked step is a result: report it, do not work around it.
|
|
23
23
|
4. For failures, open the failing step's screenshot (Read), explain where and why the user gets stuck, and point to
|
|
24
24
|
the likely cause. Signed-in journeys need a Playwright storage-state file from the user (`--auth`).
|
|
25
|
+
5. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step). Blocked journeys come first, with the step where people get stuck.
|
|
@@ -25,3 +25,4 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
25
25
|
did not work or regressed something, say so and iterate, or offer `jourilo rollback <id> --yes` (show the
|
|
26
26
|
user the preview without `--yes` first; it lists conflicts with edits made after the change).
|
|
27
27
|
6. Do not commit unless the user asks.
|
|
28
|
+
7. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step). Say what was verified as fixed, what is new and what still needs a person.
|
|
@@ -14,5 +14,6 @@ Toolchain: `node "${CLAUDE_PLUGIN_ROOT}/dist/jourilo.mjs" <command> … --json`
|
|
|
14
14
|
|
|
15
15
|
1. `jourilo report [run] --format html|md|sarif|json --json` (default latest run, HTML). `--baseline <run>` adds a
|
|
16
16
|
before/after section.
|
|
17
|
-
2.
|
|
18
|
-
|
|
17
|
+
2. Answer in the short format of `${CLAUDE_PLUGIN_ROOT}/skills/jourilo/SKILL.md` → Answer format (80–150 words, report path, one next step). For stakeholders, use plain language; for developers, name source files.
|
|
18
|
+
In the report, findings or root-cause groups can be selected and turned into a repair prompt (copy or download
|
|
19
|
+
as Markdown) for a coding agent; the report itself never runs anything.
|