claude-code-autoconfig 1.0.49 → 1.0.51
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 +5 -1
- package/bin/cli.js +2 -1
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Analyze this project and configure Claude Code with real context.
|
|
6
6
|
|
|
7
|
+
**Setup Note**: During autoconfig, prefer Glob/Read/Write tools over Bash commands. This ensures smooth setup without permission prompts. Only use Bash for opening the guide at the end.
|
|
8
|
+
|
|
7
9
|
## Step 1: Detect Environment
|
|
8
10
|
|
|
9
11
|
**Operating System:**
|
|
@@ -99,7 +101,9 @@ This pointer persists across autoconfig runs and directs Claude to team-maintain
|
|
|
99
101
|
|
|
100
102
|
## Step 4: Create Rules Directory
|
|
101
103
|
|
|
102
|
-
Create an empty `.claude/rules/` directory. Do not create any subdirectories or rule files.
|
|
104
|
+
Create an empty `.claude/rules/` directory if it doesn't exist. Do not create any subdirectories or rule files.
|
|
105
|
+
|
|
106
|
+
**Important**: Use Glob tool to check if directories exist (e.g., `.claude/rules/**`), not Bash commands. This avoids permission prompts during setup.
|
|
103
107
|
|
|
104
108
|
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.
|
|
105
109
|
|
package/bin/cli.js
CHANGED
|
@@ -262,7 +262,8 @@ rl.question('\x1b[90mPress ENTER to continue...\x1b[0m', () => {
|
|
|
262
262
|
console.log();
|
|
263
263
|
|
|
264
264
|
// Spawn claude with /autoconfig as initial prompt
|
|
265
|
-
|
|
265
|
+
// Use --permission-mode=acceptEdits to auto-approve file edits during setup
|
|
266
|
+
const claude = spawn('claude', ['--permission-mode=acceptEdits', '/autoconfig'], {
|
|
266
267
|
cwd: cwd,
|
|
267
268
|
stdio: 'inherit',
|
|
268
269
|
shell: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
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",
|