claude-init 1.0.9 → 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.
package/.devcontainer/Dockerfile
CHANGED
|
@@ -58,6 +58,10 @@ RUN ARCH=$(dpkg --print-architecture) && \
|
|
|
58
58
|
# Set up non-root user
|
|
59
59
|
USER node
|
|
60
60
|
|
|
61
|
+
# Install uv for Python package management and ensure it is on PATH
|
|
62
|
+
ENV PATH=/home/node/.local/bin:$PATH
|
|
63
|
+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
64
|
+
|
|
61
65
|
# Install global packages
|
|
62
66
|
ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
|
|
63
67
|
ENV PATH=$PATH:/usr/local/share/npm-global/bin
|
|
@@ -91,4 +95,4 @@ USER root
|
|
|
91
95
|
RUN chmod +x /usr/local/bin/init-firewall.sh && \
|
|
92
96
|
echo "node ALL=(root) NOPASSWD: /usr/local/bin/init-firewall.sh" > /etc/sudoers.d/node-firewall && \
|
|
93
97
|
chmod 0440 /etc/sudoers.d/node-firewall
|
|
94
|
-
USER node
|
|
98
|
+
USER node
|
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
|
-
|
|
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**:
|
|
33
|
-
- **If
|
|
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
|
-
│
|
|
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
|