claude-setup 1.1.1 → 1.1.2

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Remove from setup: "{{USER_INPUT}}"
4
4
 
5
- ## Current setup
5
+ ## Current setup — read everything before touching any file
6
6
 
7
7
  {{#if HAS_CLAUDE_MD}}
8
8
  ### CLAUDE.md
@@ -22,10 +22,15 @@ Remove from setup: "{{USER_INPUT}}"
22
22
  Skills: {{SKILLS_LIST}} | Commands: {{COMMANDS_LIST}} | Workflows: {{WORKFLOWS_LIST}}
23
23
 
24
24
  ## Rules
25
- - Remove only related content. Never delete entire files.
26
- - Files must remain valid after edit (JSON stays valid, etc.)
27
- - If not found: say so and stop.
25
+ - Find everything related to the removal request across ALL files above.
26
+ - Remove surgically section by section, key by key.
27
+ - Never delete an entire file. Remove only the relevant section.
28
+ - Never remove content unrelated to the request.
29
+ - After every edit, the file MUST remain valid (JSON stays valid JSON, etc.)
30
+ - If not found anywhere: say so and stop.
31
+ - Check for dangling references: if removing an MCP server, check if any hook or skill references its env vars.
28
32
 
29
33
  ## Output — one line per file
30
- Removed: ✅ [path] — [what removed]
34
+ Removed: ✅ [path] — [what was removed]
31
35
  Not found: ⏭ [path] — not referenced
36
+ Dangling: ⚠️ [path] — still references [removed thing]
package/templates/sync.md CHANGED
@@ -1,16 +1,19 @@
1
1
  <!-- claude-setup sync {{DATE}} | last: {{LAST_RUN_DATE}} -->
2
2
 
3
- Project changed since last setup. Update only what the changes demand.
3
+ Project changed since last setup. Update ONLY what the changes demand.
4
4
 
5
- ## Changes
6
- ### Added
5
+ ## Changes since last setup
6
+
7
+ ### Added files
7
8
  {{ADDED_FILES}}
8
- ### Modified
9
+
10
+ ### Modified files
9
11
  {{MODIFIED_FILES}}
10
- ### Deleted
12
+
13
+ ### Deleted files
11
14
  {{DELETED_FILES}}
12
15
 
13
- ## Current setup
16
+ ## Current setup — read before touching
14
17
 
15
18
  {{#if HAS_CLAUDE_MD}}
16
19
  ### CLAUDE.md
@@ -29,11 +32,23 @@ Project changed since last setup. Update only what the changes demand.
29
32
 
30
33
  Skills: {{SKILLS_LIST}} | Commands: {{COMMANDS_LIST}}
31
34
 
32
- ## Rules
33
- - Surgical edits only. Don't rewrite files. Don't update unchanged things.
34
- - If unsure about a change's implication: flag it, don't guess.
35
+ ## Your job
36
+
37
+ For EACH changed file: does this change have any implication for the Claude Code setup?
38
+
39
+ Reason about the signal:
40
+ - New dependency → new MCP server needed? New hook justified?
41
+ - New docker-compose service → new MCP entry? Env vars changed?
42
+ - Source file added/removed → CLAUDE.md paths stale? Skill still applies?
43
+ - Config deleted → remove its MCP/hook reference if it was the only evidence?
44
+
45
+ Update ONLY what the change demands.
46
+ Do NOT update things that did not change.
47
+ Do NOT rewrite files — surgical edits only.
48
+ If unsure about a change's implication: flag it, don't guess.
49
+
50
+ ## Output — one line per file, nothing else
35
51
 
36
- ## Outputone line per file
37
- Updated: [path] — triggered by: [which change and why]
38
- Skipped: [path] [why no implication]
39
- Flagged: ⚠️ [needs developer decision]
52
+ Updated: [path] triggered by: [which changed file and why]
53
+ Skipped: [path] — [why this change has no setup implication]
54
+ Flagged: ⚠️ [something that needs the developer's decision]