claude-init 1.0.10 → 1.0.11

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.
@@ -0,0 +1,2 @@
1
+ Continue the remainning tasks in $1.
2
+ Don't forget to update the todolist/checklist progress in $1 as long as you complete a step.
@@ -7,7 +7,8 @@
7
7
  "Bash(npm test)",
8
8
  "Bash(node:*)",
9
9
  "Bash(npm pack:*)",
10
- "Bash(git log:*)"
10
+ "Bash(git log:*)",
11
+ "Bash(git add:*)"
11
12
  ],
12
13
  "deny": [],
13
14
  "ask": [],
package/README.md CHANGED
@@ -9,15 +9,31 @@ A CLI tool to initialize Claude development environment with standardized config
9
9
  - **Progress Feedback**: Clear visual indicators of what's being created, updated, or skipped
10
10
  - **Cross-platform**: Works on Windows, macOS, and Linux
11
11
 
12
+ ## Requirements
13
+
14
+ - Node.js `>=16.0.0`
15
+ - Permission to write files in the target project directory
16
+
17
+ ## Installation
18
+
19
+ - One-off run (recommended):
20
+
21
+ ```bash
22
+ npx claude-init
23
+ ```
24
+
25
+ - Or install globally:
26
+
27
+ ```bash
28
+ npm install -g claude-init
29
+ claude-init
30
+ ```
31
+
12
32
  ## Usage
13
33
 
14
34
  ### Quick Start
15
35
 
16
- ```bash
17
- npx claude-init
18
- ```
19
-
20
- This will set up your current directory with:
36
+ Running `npx claude-init` sets up your current directory with:
21
37
 
22
38
  - `CLAUDE.md` - Project instructions and scratchpad for Claude
23
39
  - `.devcontainer/` - Development container configuration
@@ -28,9 +44,10 @@ This will set up your current directory with:
28
44
  ### What It Does
29
45
 
30
46
  #### 📄 CLAUDE.md
31
- - **If missing**: Creates new file with template content
32
- - **If exists**: Appends template content under "# Claude Scratchpad Rules" heading
33
- - **If already contains template**: Skips to preserve your content
47
+ - **If missing**: Creates new file with the template content.
48
+ - **If exists and has `# CLAUDE.md` heading**: Inserts the template content directly under that heading.
49
+ - **If exists and no `# CLAUDE.md` heading**: Adds a `# CLAUDE.md` heading at the top, then the template content, keeping your original content below.
50
+ - **If it already contains the template content**: Skips to preserve your content.
34
51
 
35
52
  #### 📁 .devcontainer
36
53
  - **If missing**: Creates complete directory with Docker configuration
@@ -77,10 +94,15 @@ your-project/
77
94
  └── .claude/
78
95
  ├── settings.json # Claude settings
79
96
  ├── commands/ # Custom commands
97
+ │ ├── commit.md
98
+ │ ├── continue-tasks.md
80
99
  │ ├── debug.md
81
100
  │ ├── gogogo.md
101
+ │ ├── impl-planning.md
82
102
  │ ├── plan.md
83
- └── prompt-enhancement.md
103
+ ├── prompt-enhancement.md
104
+ │ ├── review-plan.md
105
+ │ └── security-review.md
84
106
  └── agents/ # Specialized agents
85
107
  └── library-usage-researcher.md
86
108
  ```
@@ -101,4 +123,4 @@ npm run dev
101
123
 
102
124
  ## License
103
125
 
104
- MIT
126
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-init",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Initialize Claude development environment with configurations and templates",
5
5
  "type": "module",
6
6
  "bin": {