claude-code-autoconfig 1.0.118 → 1.0.120
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- @description The command you just ran. Analyzes your project and populates CLAUDE.md with real context. Re-run anytime your stack changes. -->
|
|
2
|
-
<!-- @version
|
|
2
|
+
<!-- @version 3 -->
|
|
3
3
|
|
|
4
4
|
# Autoconfig
|
|
5
5
|
|
|
@@ -103,12 +103,12 @@ Focus on what Claude Code actually needs to work effectively. Claude can explore
|
|
|
103
103
|
**Wrap content in markers** so `/sync-claude-md` knows what's auto-generated:
|
|
104
104
|
|
|
105
105
|
```markdown
|
|
106
|
-
<!-- AUTO-GENERATED BY /autoconfig at {TIMESTAMP} UTC — Do not edit
|
|
106
|
+
<!-- AUTO-GENERATED BY /autoconfig at {TIMESTAMP} UTC — Do not edit between markers. -->
|
|
107
107
|
|
|
108
108
|
# Project Name
|
|
109
109
|
...content...
|
|
110
110
|
|
|
111
|
-
<!-- END AUTO-GENERATED at {TIMESTAMP} UTC
|
|
111
|
+
<!-- END AUTO-GENERATED at {TIMESTAMP} UTC -->
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
Replace `{TIMESTAMP}` with the current UTC time in format `YYYY-MM-DD HH:MM:SS` (e.g., `2026-01-14 16:30:45`). Use the same timestamp in both markers.
|
|
@@ -148,14 +148,27 @@ Place this section near the top (after Tech Stack, before Commands) since versio
|
|
|
148
148
|
|
|
149
149
|
**Keep it tight.** A 30-line CLAUDE.md that hits the essentials beats a 200-line doc Claude has to parse every session.
|
|
150
150
|
|
|
151
|
-
**Always end with:**
|
|
151
|
+
**Always end with (inside markers):**
|
|
152
152
|
```markdown
|
|
153
153
|
## Team Feedback
|
|
154
154
|
The contents of `.claude/feedback/FEEDBACK.md` are an extension of this file.
|
|
155
155
|
Read it at the start of every session before taking any action.
|
|
156
|
+
FEEDBACK.md is reserved for human-authored corrections only — do not write to it.
|
|
156
157
|
```
|
|
157
158
|
|
|
158
|
-
|
|
159
|
+
**Always add below the end marker:**
|
|
160
|
+
```markdown
|
|
161
|
+
|
|
162
|
+
## Discoveries
|
|
163
|
+
<!-- Claude: append project-specific learnings, gotchas, and context below. This section persists across /autoconfig runs. -->
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
This creates two zones in CLAUDE.md:
|
|
168
|
+
1. **Between markers** — auto-generated by /autoconfig, never manually edited
|
|
169
|
+
2. **Below markers (Discoveries section)** — Claude appends learnings here instead of FEEDBACK.md
|
|
170
|
+
|
|
171
|
+
When Claude discovers project-specific context (related projects, non-obvious gotchas, critical workflows) during a session, it should append to the Discoveries section. This keeps FEEDBACK.md clean for human team corrections only.
|
|
159
172
|
|
|
160
173
|
## Step 4: Create Rules Directory
|
|
161
174
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- @description Re-analyzes your project and updates CLAUDE.md to reflect current state. -->
|
|
2
|
-
<!-- @version
|
|
2
|
+
<!-- @version 2 -->
|
|
3
3
|
|
|
4
4
|
# Sync CLAUDE.md
|
|
5
5
|
|
|
@@ -45,14 +45,14 @@ If multiple sources exist with different values, include a `## Version Managemen
|
|
|
45
45
|
CLAUDE.md uses markers to identify auto-generated content:
|
|
46
46
|
|
|
47
47
|
```markdown
|
|
48
|
-
<!-- AUTO-GENERATED BY /autoconfig at {TIMESTAMP} UTC — Do not edit
|
|
48
|
+
<!-- AUTO-GENERATED BY /autoconfig at {TIMESTAMP} UTC — Do not edit between markers. -->
|
|
49
49
|
...content...
|
|
50
|
-
<!-- END AUTO-GENERATED at {TIMESTAMP} UTC
|
|
50
|
+
<!-- END AUTO-GENERATED at {TIMESTAMP} UTC -->
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
**IMPORTANT:** Always replace `{TIMESTAMP}` with the CURRENT UTC time in format `YYYY-MM-DD HH:MM:SS` (e.g., `2026-01-14 16:30:45`).
|
|
54
54
|
|
|
55
|
-
**Only regenerate content between these markers.** Content
|
|
55
|
+
**Only regenerate content between these markers.** Content below the end marker (e.g., the `## Discoveries` section) is Claude-authored and must be preserved across syncs.
|
|
56
56
|
|
|
57
57
|
Compare detected state with current CLAUDE.md and update:
|
|
58
58
|
|
|
@@ -78,6 +78,7 @@ Show the user what changed in CLAUDE.md before finishing.
|
|
|
78
78
|
## Guidelines
|
|
79
79
|
|
|
80
80
|
- **Respect markers**: Only regenerate content between AUTO-GENERATED markers
|
|
81
|
+
- **Preserve Discoveries**: Content below the end marker (## Discoveries section) is Claude-authored and must never be removed or overwritten during sync
|
|
81
82
|
- **Be conservative**: Only update sections that actually changed
|
|
82
83
|
- **Keep it tight**: A 30-line CLAUDE.md that hits the essentials beats a 200-line doc Claude has to parse every session
|
|
83
84
|
- **No boilerplate**: If Claude can infer it from scanning `package.json` or config files, don't put it in CLAUDE.md
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- @description
|
|
1
|
+
<!-- @description Human-authored corrections and guidance for Claude. Reserved for team feedback only — Claude must not write here. This directory persists across /autoconfig runs. -->
|
|
2
2
|
|
|
3
3
|
# Team Feedback
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
Claude reads this
|
|
5
|
+
**This file is for human-authored corrections and guidance only.**
|
|
6
|
+
Claude reads this file but must never write to it. When Claude discovers project context, gotchas, or learnings, it should append to the `## Discoveries` section in CLAUDE.md instead.
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
package/.claude/settings.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.120",
|
|
4
4
|
"description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
|
|
5
5
|
"author": "ADAC 1001 <info@adac1001.com>",
|
|
6
6
|
"license": "MIT",
|