claude-prime 1.1.0 → 1.1.1
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/README.md +69 -0
- package/package.json +1 -1
- package/src/init.js +0 -16
package/README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# claude-prime
|
|
2
|
+
|
|
3
|
+
**One command to supercharge Claude Code.** Skills, agents, hooks, memory systems — configured and ready to use. No setup headache.
|
|
4
|
+
|
|
5
|
+
Claude Code is powerful, but getting the most out of it requires configuring skills, agents, hooks, rules, and memory systems. Claude Prime does all of that for you in one command — so you can skip the setup and start building.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx claude-prime install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Install a specific version:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx claude-prime install --version 1.1.0
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Commands
|
|
20
|
+
|
|
21
|
+
| Command | Description |
|
|
22
|
+
|---------|-------------|
|
|
23
|
+
| `claude-prime install` | Install Claude Prime into the current directory |
|
|
24
|
+
| `claude-prime init` | Configure/reconfigure an existing installation |
|
|
25
|
+
|
|
26
|
+
## How it works
|
|
27
|
+
|
|
28
|
+
1. Downloads the latest Claude Prime release
|
|
29
|
+
2. Extracts the `.claude/` directory into your project
|
|
30
|
+
3. Runs interactive setup (API keys, MCP servers, gitignore)
|
|
31
|
+
4. Start Claude Code and run `/optimus-prime` to prime your project for your specific stack
|
|
32
|
+
|
|
33
|
+
## Example workflows
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Jump straight to building
|
|
37
|
+
/cook Add user authentication with Google OAuth
|
|
38
|
+
|
|
39
|
+
# Debug and fix issues
|
|
40
|
+
/fix The checkout flow returns 500 when cart is empty
|
|
41
|
+
|
|
42
|
+
# Research before deciding
|
|
43
|
+
/research How does our app handle file uploads?
|
|
44
|
+
|
|
45
|
+
# Plan before implementing
|
|
46
|
+
/give-plan Migrate from REST to GraphQL
|
|
47
|
+
|
|
48
|
+
# Review your changes
|
|
49
|
+
/review-code
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Requirements
|
|
53
|
+
|
|
54
|
+
- Node.js >= 18
|
|
55
|
+
|
|
56
|
+
## Alternative install
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/avibebuilder/claude-prime/main/install.sh)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Links
|
|
63
|
+
|
|
64
|
+
- [GitHub](https://github.com/avibebuilder/claude-prime)
|
|
65
|
+
- [Full documentation](https://github.com/avibebuilder/claude-prime#readme)
|
|
66
|
+
|
|
67
|
+
## License
|
|
68
|
+
|
|
69
|
+
[MIT](https://github.com/avibebuilder/claude-prime/blob/main/LICENSE)
|
package/package.json
CHANGED
package/src/init.js
CHANGED
|
@@ -27,13 +27,6 @@ const GITIGNORE_ENTRIES = [
|
|
|
27
27
|
".mcp.json",
|
|
28
28
|
];
|
|
29
29
|
|
|
30
|
-
const CLAUDE_GITIGNORE_ENTRIES = [
|
|
31
|
-
"touch-skill",
|
|
32
|
-
"optimus-prime",
|
|
33
|
-
"convo-analysis",
|
|
34
|
-
"prime-sync",
|
|
35
|
-
];
|
|
36
|
-
|
|
37
30
|
function handleCancel(value) {
|
|
38
31
|
if (isCancel(value)) {
|
|
39
32
|
cancel("Initialization cancelled.");
|
|
@@ -72,15 +65,6 @@ async function stageGitignore(installDir) {
|
|
|
72
65
|
|
|
73
66
|
const gitignorePath = path.join(installDir, ".gitignore");
|
|
74
67
|
ensureGitignoreEntries(gitignorePath, GITIGNORE_ENTRIES, ".gitignore");
|
|
75
|
-
|
|
76
|
-
const claudeGitignorePath = path.join(installDir, ".claude", ".gitignore");
|
|
77
|
-
if (fs.existsSync(path.join(installDir, ".claude"))) {
|
|
78
|
-
ensureGitignoreEntries(
|
|
79
|
-
claudeGitignorePath,
|
|
80
|
-
CLAUDE_GITIGNORE_ENTRIES,
|
|
81
|
-
".claude/.gitignore"
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
68
|
}
|
|
85
69
|
|
|
86
70
|
async function stageSkillEnvFiles(installDir) {
|