ai-ide-config 0.1.1 → 0.1.3

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
@@ -4,21 +4,10 @@ Scaffold shared Cursor IDE / agent setup into a project: shared `.cursor` rules/
4
4
 
5
5
  ## Install / run
6
6
 
7
- No global install required:
8
-
9
7
  ```bash
10
8
  npx ai-ide-config init
11
9
  ```
12
10
 
13
- From a local checkout:
14
-
15
- ```bash
16
- cd ai-ide-config
17
- npm link
18
- cd /path/to/your-project
19
- npx ai-ide-config init
20
- ```
21
-
22
11
  ## Usage
23
12
 
24
13
  ```bash
@@ -32,7 +21,7 @@ npx ai-ide-config init-angular
32
21
  # Options
33
22
  npx ai-ide-config init --force # overwrite existing files
34
23
  npx ai-ide-config init --dry-run # preview only
35
- npx ai-ide-config init --skip-skills # skip angular/skills install
24
+ npx ai-ide-config init --skip-skills # skip midudev/autoskills install
36
25
  npx ai-ide-config init ./apps/web # target directory
37
26
  ```
38
27
 
@@ -43,17 +32,9 @@ Existing template files are **skipped** unless you pass `--force`.
43
32
  - If missing → create it with `.cursor/` and `.agents/`
44
33
  - If present → append `.cursor/` and/or `.agents/` only when missing
45
34
 
46
- If `package.json` exists, init pins an **exact** `packageManager` / `devEngines.packageManager` to the installed pnpm version. That avoids Corepack failing on ranges like `^11.13.0` from `pnpm init`.
35
+ If `package.json` exists, init pins an **exact** `packageManager` / `devEngines.packageManager` to the installed pnpm version.
47
36
 
48
- After scaffolding, the CLI runs:
49
-
50
- ```bash
51
- pnpx skills add https://github.com/angular/skills
52
- ```
53
-
54
- (`pnpx` is used instead of `npx` because the skills package requires pnpm via `devEngines`.)
55
-
56
- Use `--skip-skills` to skip that step. On `--dry-run`, the command is only printed.
37
+ After scaffolding, the CLI runs `pnpx skills add midudev/autoskills` (use `--skip-skills` to skip; on `--dry-run` it is only printed).
57
38
 
58
39
  In CI or non-TTY shells, pass `--stack` (or use `init-<stack>`). Interactive prompts require a terminal.
59
40
 
@@ -68,7 +49,7 @@ In CI or non-TTY shells, pass `--stack` (or use `init-<stack>`). Interactive pro
68
49
  | `pnpm-workspace.yaml` | angular (`blockExoticSubdeps`, `minimumReleaseAge: 4320`) |
69
50
  | `.gitignore` | create or append `.cursor/` and `.agents/` |
70
51
 
71
- After init, edit `AGENTS.md` placeholders (`<PROJECT_NAME>`, package manager, domains, paths) for the target repo.
52
+ After init, edit `AGENTS.md` placeholders (`<PROJECT_NAME>`, `<VERSION>`, domains, paths) for the target repo.
72
53
 
73
54
  ## Stacks
74
55
 
@@ -76,42 +57,6 @@ After init, edit `AGENTS.md` placeholders (`<PROJECT_NAME>`, package manager, do
76
57
  |----|-------|
77
58
  | `angular` | Angular |
78
59
 
79
- ### Adding a stack
80
-
81
- 1. Add `templates/<stack>/AGENTS.md`
82
- 2. Register it in [`src/stacks.mjs`](src/stacks.mjs)
83
- 3. Document it here
84
-
85
- Shared Cursor rules/commands stay under `templates/shared/`.
86
-
87
- ## Publishing to npm
88
-
89
- CD publishes to npm when you create a **GitHub Release** (workflow: [`.github/workflows/publish.yml`](.github/workflows/publish.yml)).
90
-
91
- ### One-time setup
92
-
93
- 1. Create an [npmjs.com](https://www.npmjs.com) account and verify your email.
94
- 2. Create the package on npm (first publish can also create it), or claim the name `ai-ide-config`.
95
- 3. In the package settings on npm → **Trusted Publisher**:
96
- - **Organization or user:** `iraldoad`
97
- - **Repository:** `ai-ide-config`
98
- - **Workflow filename:** `publish.yml`
99
- - Allow **npm publish**
100
- 4. No `NPM_TOKEN` secret is required (OIDC Trusted Publishing).
101
-
102
- ### Release a version
103
-
104
- 1. Bump `version` in `package.json` (e.g. `0.1.1`).
105
- 2. Commit and push.
106
- 3. Create a GitHub Release for that commit (e.g. tag `v0.1.1`).
107
- 4. The workflow runs `npm publish --access public --provenance`.
108
-
109
- After the first successful publish:
110
-
111
- ```bash
112
- npx ai-ide-config init
113
- ```
114
-
115
60
  ## License
116
61
 
117
62
  MIT
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "ai-ide-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Scaffold shared Cursor IDE / agent config (rules, commands, stack AGENTS.md)",
5
5
  "type": "module",
6
6
  "bin": {
7
- "ai-ide-config": "./bin/cli.mjs"
7
+ "ai-ide-config": "bin/cli.mjs"
8
8
  },
9
9
  "files": [
10
10
  "bin",
package/src/skills.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { spawnSync } from 'node:child_process';
2
2
 
3
3
  export const SKILLS_ADD_COMMAND =
4
- 'pnpx skills add https://github.com/angular/skills';
4
+ 'pnpx skills add midudev/autoskills';
5
5
 
6
6
  /**
7
- * Install Angular agent skills via the skills CLI (pnpm/pnpx required by devEngines).
7
+ * Install agent skills via the skills CLI (pnpm/pnpx required by devEngines).
8
8
  * @param {string} targetDir
9
9
  * @param {{ dryRun?: boolean, skip?: boolean }} [options]
10
10
  * @returns {{ skipped: boolean, dryRun?: boolean, status?: number | null }}