Skip to content

Commit a70c814

Browse files
DavertMikclaude
andcommitted
docs(migration): fix skill name and add agent migration section
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 4491b3f commit a70c814

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

docs/migration-4.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,31 @@ title: Migrating from 3.x to 4.x
77

88
CodeceptJS 4.x is a major release. It moves the codebase from CommonJS to native ESM, drops several long-deprecated helpers and plugins, replaces legacy plugins with first-class APIs, and bumps most third-party dependencies.
99

10-
> Migrate automatically! Install CodeceptJS skills `npx skills add codeceptjs/skills` and run `/codeceptjs-3-to-4-migration` in your coding agent
10+
## Migrate Automatically with an Agent
1111

12-
This guide tells you exactly what to change in your project to upgrade.
12+
The fastest way to upgrade is to let an AI agent do it. This release is mechanical enough that an agent handles most of it end-to-end.
13+
14+
Install CodeceptJS 4:
15+
16+
```bash
17+
npm install codeceptjs@4
18+
```
19+
20+
Then install the skills bundle. It works the same in Claude Code or any other agent:
21+
22+
```bash
23+
npx skills add codeceptjs/skills
24+
```
25+
26+
The bundle ships a `migrate-codeceptjs-4` skill. Point an agent at the project and run it:
27+
28+
```bash
29+
claude "/migrate-codeceptjs-4"
30+
```
31+
32+
It reads your config and tests, applies the mechanical changes, runs the suite, and fixes what breaks.
33+
34+
The rest of this guide documents every change the skill makes — read it if you prefer to migrate by hand, or to review what the agent did.
1335

1436
## 1. Update Node and Package
1537

0 commit comments

Comments
 (0)