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.
@@ -14,7 +14,8 @@
14
14
  "Bash(claude -p \"/autoconfig\")",
15
15
  "Bash(node:*)",
16
16
  "Bash(npm version:*)",
17
- "Bash(git rm:*)"
17
+ "Bash(git rm:*)",
18
+ "Bash(npm test)"
18
19
  ]
19
20
  }
20
21
  }
package/CLAUDE.md CHANGED
@@ -1,7 +1,32 @@
1
- <!-- AUTO-GENERATED BY /autoconfig — Do not edit. Use .claude/feedback/ for corrections. -->
1
+ # claude-code-autoconfig
2
2
 
3
- # Project Name
3
+ CLI tool that auto-configures Claude Code for any project.
4
4
 
5
- > Run `/autoconfig` to populate this based on your project.
5
+ ## Development Rules
6
6
 
7
- <!-- END AUTO-GENERATED -->
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-guide`** — Opens an interactive guide showing what got set up
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-guide.md # /show-guide - interactive walkthrough
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
- ├── guide/ # Interactive walkthrough
40
- │ └── autoconfig.guide.html # Open with /show-guide
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-guide` | Opens interactive guide in browser |
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.70",
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
  },