@yottagraph-app/aether-instructions 1.1.43 → 1.1.44
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/CLAUDE.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@AGENTS.md
|
|
@@ -72,7 +72,7 @@ The extracted content is in `$TEMP_DIR/package/`.
|
|
|
72
72
|
|
|
73
73
|
## Step 4: Delete Previously Installed Files
|
|
74
74
|
|
|
75
|
-
Read the manifest and delete listed paths. **Skip blank lines** — an empty `rel` would run `rm -rf ".cursor/"` and wipe the whole directory. Entries prefixed with `root/` point at files at the repo root (currently
|
|
75
|
+
Read the manifest and delete listed paths. **Skip blank lines** — an empty `rel` would run `rm -rf ".cursor/"` and wipe the whole directory. Entries prefixed with `root/` point at files at the repo root (currently `AGENTS.md` and `CLAUDE.md`); only remove **regular files** there, never directories.
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
if [ -f .cursor/.aether-instructions-manifest ]; then
|
|
@@ -115,10 +115,11 @@ cp "$TEMP_DIR/package/commands/"* .cursor/commands/ 2>/dev/null || true
|
|
|
115
115
|
cp -r "$TEMP_DIR/package/skills/"* .cursor/skills/ 2>/dev/null || true
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
Copy the root-level AGENTS.md from the package to the tenant repo root, if the package ships one
|
|
118
|
+
Copy the root-level AGENTS.md and CLAUDE.md from the package to the tenant repo root, if the package ships them. `CLAUDE.md` is a one-line `@AGENTS.md` pointer so Claude Code imports the same instructions Cursor reads from `AGENTS.md`:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
121
|
[ -f "$TEMP_DIR/package/AGENTS.md" ] && cp "$TEMP_DIR/package/AGENTS.md" ./AGENTS.md
|
|
122
|
+
[ -f "$TEMP_DIR/package/CLAUDE.md" ] && cp "$TEMP_DIR/package/CLAUDE.md" ./CLAUDE.md
|
|
122
123
|
```
|
|
123
124
|
|
|
124
125
|
### Data-mode variant overlay
|
|
@@ -158,6 +159,7 @@ Build a manifest of all installed files (one relative path per line). **Do not**
|
|
|
158
159
|
for f in .cursor/commands/*.md; do [ -f "$f" ] && echo "commands/$(basename "$f")"; done
|
|
159
160
|
for d in .cursor/skills/*/; do [ -d "$d" ] && echo "skills/$(basename "$d")"; done
|
|
160
161
|
[ -f "$TEMP_DIR/package/AGENTS.md" ] && [ -f ./AGENTS.md ] && echo "root/AGENTS.md"
|
|
162
|
+
[ -f "$TEMP_DIR/package/CLAUDE.md" ] && [ -f ./CLAUDE.md ] && echo "root/CLAUDE.md"
|
|
161
163
|
} > .cursor/.aether-instructions-manifest
|
|
162
164
|
```
|
|
163
165
|
|
|
@@ -208,6 +210,7 @@ Commit the updated instruction files. A root `.gitignore` rule like `skills/` ca
|
|
|
208
210
|
git add .cursor/commands/ .cursor/.aether-instructions-version .cursor/.aether-instructions-manifest
|
|
209
211
|
git add -f .cursor/skills/
|
|
210
212
|
[ -f AGENTS.md ] && git add AGENTS.md
|
|
213
|
+
[ -f CLAUDE.md ] && git add CLAUDE.md
|
|
211
214
|
# Remove the legacy rules dir from tracking if it was committed in an earlier install
|
|
212
215
|
git rm -rf --cached --ignore-unmatch .cursor/rules 2>/dev/null || true
|
|
213
216
|
git commit -m "Update instructions to vX.Y.Z"
|
|
@@ -235,11 +238,13 @@ If you get permission errors:
|
|
|
235
238
|
|
|
236
239
|
### Want to customize a command, skill topic, or AGENTS.md?
|
|
237
240
|
|
|
238
|
-
If you need to modify a package-provided file (including the root `AGENTS.md`):
|
|
241
|
+
If you need to modify a package-provided file (including the root `AGENTS.md` or `CLAUDE.md`):
|
|
239
242
|
|
|
240
243
|
1. Edit it directly — your changes will persist until the next update
|
|
241
244
|
2. To preserve changes across updates, copy it to a new name first (e.g. `cp AGENTS.md AGENTS.local.md`)
|
|
242
|
-
3. Remove the original's entry from `.cursor/.aether-instructions-manifest` so it won't be deleted on update (for `AGENTS.md`, remove the `root/AGENTS.md` line)
|
|
245
|
+
3. Remove the original's entry from `.cursor/.aether-instructions-manifest` so it won't be deleted on update (for `AGENTS.md`, remove the `root/AGENTS.md` line; for `CLAUDE.md`, remove `root/CLAUDE.md`)
|
|
246
|
+
|
|
247
|
+
`CLAUDE.md` ships as a one-line `@AGENTS.md` pointer — Claude Code imports `AGENTS.md` via that syntax, so in most cases you only need to edit `AGENTS.md`.
|
|
243
248
|
|
|
244
249
|
### Blank line in manifest deleted `.cursor/`
|
|
245
250
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yottagraph-app/aether-instructions",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.44",
|
|
4
4
|
"description": "Cursor commands and skills for Aether development",
|
|
5
5
|
"files": [
|
|
6
6
|
"commands",
|
|
7
7
|
"skills",
|
|
8
8
|
"variants",
|
|
9
|
-
"AGENTS.md"
|
|
9
|
+
"AGENTS.md",
|
|
10
|
+
"CLAUDE.md"
|
|
10
11
|
],
|
|
11
12
|
"repository": {
|
|
12
13
|
"type": "git",
|
|
@@ -6,7 +6,8 @@ Package-managed files are tracked by `.cursor/.aether-instructions-manifest`.
|
|
|
6
6
|
They will be **overwritten** when you run `/update_instructions`.
|
|
7
7
|
|
|
8
8
|
This includes files under `.cursor/commands/`, `.cursor/skills/`, **and the
|
|
9
|
-
root `AGENTS.md`** (tracked as `root/AGENTS.md`
|
|
9
|
+
root `AGENTS.md` and `CLAUDE.md`** (tracked as `root/AGENTS.md` and
|
|
10
|
+
`root/CLAUDE.md` in the manifest).
|
|
10
11
|
|
|
11
12
|
## Do Not
|
|
12
13
|
|
|
@@ -14,7 +15,7 @@ root `AGENTS.md`** (tracked as `root/AGENTS.md` in the manifest).
|
|
|
14
15
|
|
|
15
16
|
## To Customize
|
|
16
17
|
|
|
17
|
-
If you need to modify a package-provided command, skill topic, or the root `AGENTS.md`:
|
|
18
|
+
If you need to modify a package-provided command, skill topic, or the root `AGENTS.md` / `CLAUDE.md`:
|
|
18
19
|
|
|
19
20
|
1. **Copy** the file to a new name
|
|
20
21
|
2. Make your changes to the copy
|
|
@@ -32,6 +33,10 @@ cp AGENTS.md AGENTS.local.md
|
|
|
32
33
|
# then remove the `root/AGENTS.md` line from
|
|
33
34
|
# .cursor/.aether-instructions-manifest
|
|
34
35
|
|
|
36
|
+
# Customize CLAUDE.md
|
|
37
|
+
cp CLAUDE.md CLAUDE.local.md
|
|
38
|
+
# then remove the `root/CLAUDE.md` line from the manifest
|
|
39
|
+
|
|
35
40
|
# Edit your copy — it won't be affected by instruction updates
|
|
36
41
|
```
|
|
37
42
|
|
|
@@ -40,7 +45,7 @@ cp AGENTS.md AGENTS.local.md
|
|
|
40
45
|
- `.cursor/.aether-instructions-manifest` lists every file installed by the
|
|
41
46
|
package (one relative path per line, e.g. `skills/aether/data.md`). Entries
|
|
42
47
|
prefixed with `root/` refer to files at the tenant repo root
|
|
43
|
-
(currently
|
|
48
|
+
(currently `root/AGENTS.md` and `root/CLAUDE.md`).
|
|
44
49
|
- `/update_instructions` deletes manifest entries, extracts fresh files from
|
|
45
50
|
the latest package, and writes a new manifest
|
|
46
51
|
- Files not in the manifest are never touched
|