claude-code-autoconfig 1.0.60 → 1.0.62
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/commands/autoconfig.md +6 -2
- package/.claude/settings.json +5 -1
- package/bin/cli.js +11 -8
- package/package.json +1 -1
|
@@ -101,9 +101,13 @@ This pointer persists across autoconfig runs and directs Claude to team-maintain
|
|
|
101
101
|
|
|
102
102
|
## Step 4: Create Rules Directory
|
|
103
103
|
|
|
104
|
-
Create
|
|
104
|
+
Create `.claude/rules/` directory if it doesn't exist by writing a `.gitkeep` file to it:
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
```
|
|
107
|
+
Write .claude/rules/.gitkeep with empty content
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Important**: Use Write tool to create the directory (by creating a placeholder file), not `mkdir` Bash commands. This avoids permission prompts during setup.
|
|
107
111
|
|
|
108
112
|
Rules are path-scoped context files that load automatically when Claude works on matching files. Effective rules require deep understanding of your codebase patterns, team conventions, and quality goals — they should be crafted intentionally, not auto-generated.
|
|
109
113
|
|
package/.claude/settings.json
CHANGED
|
@@ -27,9 +27,13 @@
|
|
|
27
27
|
"Bash(ls:*)",
|
|
28
28
|
"Bash(dir:*)",
|
|
29
29
|
"Bash(mkdir:*)",
|
|
30
|
+
"Bash(mkdir -p:*)",
|
|
30
31
|
"Bash(start:*)",
|
|
32
|
+
"Bash(start .claude:*)",
|
|
31
33
|
"Bash(open:*)",
|
|
32
|
-
"Bash(
|
|
34
|
+
"Bash(open .claude:*)",
|
|
35
|
+
"Bash(xdg-open:*)",
|
|
36
|
+
"Bash(xdg-open .claude:*)"
|
|
33
37
|
],
|
|
34
38
|
"deny": [
|
|
35
39
|
"Read(./.env)",
|
package/bin/cli.js
CHANGED
|
@@ -235,14 +235,17 @@ console.log('\x1b[32m%s\x1b[0m', '✅ Prepared /autoconfig command');
|
|
|
235
235
|
|
|
236
236
|
// Step 4: Show "READY TO CONFIGURE" message
|
|
237
237
|
console.log();
|
|
238
|
-
console.log('\x1b[33m
|
|
239
|
-
console.log('║
|
|
240
|
-
console.log('║
|
|
241
|
-
console.log('║
|
|
242
|
-
console.log('║\x1b[0m Press ENTER to launch Claude
|
|
243
|
-
console.log('║\x1b[0m
|
|
244
|
-
console.log('║
|
|
245
|
-
console.log('
|
|
238
|
+
console.log('\x1b[33m╔════════════════════════════════════════════╗');
|
|
239
|
+
console.log('║ ║');
|
|
240
|
+
console.log('║ \x1b[1mREADY TO CONFIGURE\x1b[22m ║');
|
|
241
|
+
console.log('║ ║');
|
|
242
|
+
console.log('║\x1b[0m Press ENTER to launch Claude and \x1b[33m║');
|
|
243
|
+
console.log('║\x1b[0m auto-run \x1b[36m/autoconfig\x1b[33m \x1b[33m║');
|
|
244
|
+
console.log('║ ║');
|
|
245
|
+
console.log('║\x1b[0m \x1b[90mFirst run: approve 2-3 file prompts\x1b[33m ║');
|
|
246
|
+
console.log('║\x1b[0m \x1b[90mSubsequent runs: fully automated\x1b[33m ║');
|
|
247
|
+
console.log('║ ║');
|
|
248
|
+
console.log('╚════════════════════════════════════════════╝\x1b[0m');
|
|
246
249
|
console.log();
|
|
247
250
|
|
|
248
251
|
// Step 5: Wait for Enter, then launch Claude Code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
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",
|