claude-code-autoconfig 1.0.70 → 1.0.72
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/agents/{guide-refresh.md → docs-refresh.md} +5 -5
- package/.claude/commands/autoconfig.md +10 -10
- package/.claude/commands/{show-guide.md → show-docs.md} +17 -17
- package/.claude/{guide/autoconfig.guide.html → docs/autoconfig.docs.html} +1834 -1834
- package/.claude/settings.local.json +2 -1
- package/CLAUDE.md +29 -4
- package/README.md +5 -5
- package/package.json +4 -1
package/CLAUDE.md
CHANGED
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
# claude-code-autoconfig
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
CLI tool that auto-configures Claude Code for any project.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Development Rules
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Testing Requirements
|
|
8
|
+
|
|
9
|
+
**CRITICAL: Before committing or outputting any changes to `bin/cli.js`, you MUST run tests and verify they pass:**
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm test
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This runs `test/box-alignment.test.js` which validates:
|
|
16
|
+
1. All box-drawing lines have consistent visual width (accounting for ANSI escape codes)
|
|
17
|
+
2. Box structure is valid (correct corner and border characters)
|
|
18
|
+
|
|
19
|
+
**DO NOT commit or present code changes if tests fail.** Fix the alignment issues first.
|
|
20
|
+
|
|
21
|
+
### Box Drawing Guidelines
|
|
22
|
+
|
|
23
|
+
When modifying the "READY TO CONFIGURE" box in `bin/cli.js`:
|
|
24
|
+
|
|
25
|
+
1. All lines must be exactly 46 visible characters wide (including the `║` borders)
|
|
26
|
+
2. ANSI escape codes (`\x1b[...m`) don't count toward visible width
|
|
27
|
+
3. Place color codes outside content spacing: `\x1b[33m║\x1b[0m` + 44 chars of content + `\x1b[33m║\x1b[0m`
|
|
28
|
+
4. Always run `npm test` after any box modifications
|
|
29
|
+
|
|
30
|
+
## Commands
|
|
31
|
+
|
|
32
|
+
- `npm test` - Run box alignment tests
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ irm https://raw.githubusercontent.com/design-and-deliver/claude-code-autoconfig/
|
|
|
17
17
|
## After Install
|
|
18
18
|
|
|
19
19
|
1. **`/autoconfig`** — Claude analyzes your project and configures itself
|
|
20
|
-
2. **`/show-
|
|
20
|
+
2. **`/show-docs`** — Opens an interactive guide showing what got set up
|
|
21
21
|
|
|
22
22
|
That's it. Your Claude Code environment is configured and ready.
|
|
23
23
|
|
|
@@ -31,13 +31,13 @@ your-project/
|
|
|
31
31
|
│ ├── autoconfig.md # /autoconfig - self-configures
|
|
32
32
|
│ ├── commit-and-push.md # /commit-and-push - git workflow
|
|
33
33
|
│ ├── enable-retro.md # /enable-retro - opt-in tech debt tracking
|
|
34
|
-
│ ├── show-
|
|
34
|
+
│ ├── show-docs.md # /show-docs - interactive walkthrough
|
|
35
35
|
│ ├── sync-claude-md.md # /sync-claude-md - update CLAUDE.md
|
|
36
36
|
│ └── test.md # /test - run tests
|
|
37
37
|
├── feedback/ # Team corrections for Claude
|
|
38
38
|
│ └── FEEDBACK.md # Add entries when Claude errs
|
|
39
|
-
├──
|
|
40
|
-
│ └── autoconfig.
|
|
39
|
+
├── docs/ # Interactive documentation
|
|
40
|
+
│ └── autoconfig.docs.html # Open with /show-docs
|
|
41
41
|
├── rules/ # Path-scoped context (empty)
|
|
42
42
|
├── .mcp.json # MCP server configs (empty placeholder)
|
|
43
43
|
└── settings.json # Permissions & security
|
|
@@ -64,7 +64,7 @@ You get a custom-fit configuration without the manual work.
|
|
|
64
64
|
|---------|-------------|
|
|
65
65
|
| `/autoconfig` | Analyzes project and populates configuration |
|
|
66
66
|
| `/sync-claude-md` | Re-analyzes project and updates CLAUDE.md |
|
|
67
|
-
| `/show-
|
|
67
|
+
| `/show-docs` | Opens interactive docs in browser |
|
|
68
68
|
| `/test` | Runs your test suite (auto-detects framework) |
|
|
69
69
|
| `/commit-and-push` | Stages, commits with good message, and pushes |
|
|
70
70
|
| `/enable-retro` | (Experimental) Enable tech debt tracking |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.72",
|
|
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",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"configuration",
|
|
22
22
|
"cli"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "node test/box-alignment.test.js"
|
|
26
|
+
},
|
|
24
27
|
"bin": {
|
|
25
28
|
"claude-code-autoconfig": "./bin/cli.js"
|
|
26
29
|
},
|