You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/skills/runly/SKILL.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ npx runly init
43
43
```
44
44
45
45
- Creates **`runly.config.js`** only if none of **`runly.config.mjs`**, **`runly.config.js`**, or **`runly.config.cjs`** exists (otherwise prints a message and exits **0**).
46
+
- Writes **`SKILL.md`** in the project root when missing (Cursor agent skill template from the package); you may move it to **`.cursor/skills/runly/SKILL.md`**.
46
47
- Uses **`export default`** when **`package.json`** has **`"type": "module"`**, else **`module.exports`**.
47
48
- Adds **`"runly": "runly"`** under **`scripts`** in **`package.json`** when the file exists and **`scripts.runly`** is not already set.
48
49
- Default **`run`** in the scaffold is a small **`node -e`** smoke command; edit to **`node --test`**, **`npm test`**, etc.
Copy file name to clipboardExpand all lines: .cursor/skills/runly/skill/SKILL.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ npx runly init
43
43
```
44
44
45
45
- Creates **`runly.config.js`** only if none of **`runly.config.mjs`**, **`runly.config.js`**, or **`runly.config.cjs`** exists (otherwise prints a message and exits **0**).
46
+
- Writes **`SKILL.md`** in the project root when missing (Cursor agent skill template from the package); you may move it to **`.cursor/skills/runly/SKILL.md`**.
46
47
- Uses **`export default`** when **`package.json`** has **`"type": "module"`**, else **`module.exports`**.
47
48
- Adds **`"runly": "runly"`** under **`scripts`** in **`package.json`** when the file exists and **`scripts.runly`** is not already set.
48
49
- Default **`run`** in the scaffold is a small **`node -e`** smoke command; edit to **`node --test`**, **`npm test`**, etc.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ The executable name is **`runly`** (see `bin` in `package.json`).
30
30
31
31
### First-time setup (`init`)
32
32
33
-
From your project root, create a default `runly.config.js` and add an npm script **`runly`** when `package.json` exists:
33
+
From your project root, create a default `runly.config.js`, a **`SKILL.md`** agent-skill template (when `SKILL.md` is not already present), and add an npm script **`runly`** when `package.json` exists:
34
34
35
35
```bash
36
36
npx runly init
37
37
```
38
38
39
-
If any of `runly.config.mjs`, `runly.config.js`, or `runly.config.cjs` already exists, `init` does nothing (idempotent).
39
+
If any of `runly.config.mjs`, `runly.config.js`, or `runly.config.cjs` already exists, `init` does nothing for the config (idempotent). Existing **`SKILL.md`** is never overwritten.
40
40
41
41
### Run the matrix
42
42
@@ -141,7 +141,7 @@ Exported types include `RunlyConfig` and `RunlyRun`. **`loadConfig(cwd?)`** load
141
141
142
142
| Command / flag | Description |
143
143
|----------------|-------------|
144
-
|`runly init`| Create `runly.config.js` with defaultsand add `"runly": "runly"` to `package.json` when present. No-op if a config file already exists. |
144
+
|`runly init`| Create `runly.config.js` with defaults, copy **`SKILL.md`** when missing, and add `"runly": "runly"` to `package.json` when present. No-op for config if a config file already exists. |
145
145
|`runly`, `runly -c <path>`| Run the matrix (search for config in cwd, or use `-c` / `--config`). |
146
146
|`-c`, `--config`| Path to a config file. If omitted, Runly searches for `runly.config.mjs`, then `.js`, then `.cjs` in the current working directory. |
0 commit comments