aiblueprint-cli 1.1.3 → 1.1.7
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 +425 -41
- package/claude-code-config/agents/explore-codebase.md +1 -0
- package/claude-code-config/agents/explore-docs.md +88 -0
- package/claude-code-config/agents/snipper.md +2 -0
- package/claude-code-config/agents/websearch.md +1 -0
- package/claude-code-config/commands/debug.md +91 -0
- package/claude-code-config/commands/explore.md +45 -0
- package/dist/cli.js +711 -326
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,73 +1,457 @@
|
|
|
1
1
|
# AIBlueprint CLI
|
|
2
2
|
|
|
3
|
-
A CLI tool for
|
|
3
|
+
A comprehensive CLI tool for supercharging Claude Code with security, productivity, and workflow automation features. Transform your Claude Code experience with pre-configured commands, security hooks, intelligent status displays, and specialized AI agents.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> [!NOTE]
|
|
6
|
+
> If you encounter permission errors when running the commands below, add `sudo` before the command.
|
|
7
|
+
|
|
8
|
+
## 🚀 Quick Start
|
|
6
9
|
|
|
7
10
|
```bash
|
|
8
11
|
# Run immediately without installation
|
|
9
|
-
bunx aiblueprint-cli claude-code setup
|
|
12
|
+
bunx aiblueprint-cli@latest claude-code setup
|
|
13
|
+
|
|
14
|
+
# Or install globally and use
|
|
15
|
+
npm install -g aiblueprint-cli
|
|
16
|
+
aiblueprint claude-code setup
|
|
10
17
|
```
|
|
11
18
|
|
|
12
|
-
##
|
|
19
|
+
## 📋 Table of Contents
|
|
20
|
+
|
|
21
|
+
- [Installation & Usage](#installation--usage)
|
|
22
|
+
- [Command Reference](#command-reference)
|
|
23
|
+
- [Available Features](#available-features)
|
|
24
|
+
- [Configuration System](#configuration-system)
|
|
25
|
+
- [Templates Catalog](#templates-catalog)
|
|
26
|
+
- [Installation Targets](#installation-targets)
|
|
27
|
+
- [Security Features](#security-features)
|
|
28
|
+
- [Development](#development)
|
|
29
|
+
|
|
30
|
+
## 💾 Installation & Usage
|
|
31
|
+
|
|
32
|
+
### Installation Methods
|
|
13
33
|
|
|
14
34
|
```bash
|
|
15
|
-
#
|
|
35
|
+
# Global installation
|
|
16
36
|
npm install -g aiblueprint-cli
|
|
37
|
+
bun install -g aiblueprint-cli
|
|
38
|
+
|
|
39
|
+
# Run without installation
|
|
40
|
+
npx aiblueprint-cli@latest claude-code setup
|
|
41
|
+
pnpm dlx aiblueprint-cli@latest claude-code setup
|
|
42
|
+
bunx aiblueprint-cli@latest claude-code setup
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Basic Usage
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Interactive setup with feature selection
|
|
49
|
+
bunx aiblueprint-cli@latest claude-code setup
|
|
50
|
+
|
|
51
|
+
# Non-interactive setup (install all features)
|
|
52
|
+
bunx aiblueprint-cli@latest claude-code setup --skip
|
|
53
|
+
|
|
54
|
+
# Install to custom directory
|
|
55
|
+
bunx aiblueprint-cli@latest claude-code setup --folder ./custom-claude-config
|
|
56
|
+
|
|
57
|
+
# Install to project directory
|
|
58
|
+
cd your-project
|
|
59
|
+
bunx aiblueprint-cli@latest claude-code setup # Creates .claude/ in project root
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## 🎯 Command Reference
|
|
63
|
+
|
|
64
|
+
### Main Commands
|
|
65
|
+
|
|
66
|
+
| Command | Description | Options |
|
|
67
|
+
|---------|-------------|---------|
|
|
68
|
+
| `bunx aiblueprint-cli@latest claude-code setup` | Interactive setup with feature selection | `-f, --folder <path>` (alias for --claudeCodeFolder), `--claudeCodeFolder <path>`, `--codexFolder <path>`, `--openCodeFolder <path>`, `--factoryAiFolder <path>`, `-s, --skip` |
|
|
69
|
+
| `bunx aiblueprint-cli@latest claude-code symlink` | Create symlinks between CLI tools (Codex, OpenCode, FactoryAI) | `--claudeCodeFolder <path>`, `--codexFolder <path>`, `--openCodeFolder <path>`, `--factoryAiFolder <path>` |
|
|
70
|
+
| `bunx aiblueprint-cli@latest claude-code add hook <type>` | Install specific hook | `-f, --folder <path>` |
|
|
71
|
+
| `bunx aiblueprint-cli@latest claude-code add commands [name]` | List or install commands | `-f, --folder <path>` |
|
|
72
|
+
|
|
73
|
+
### Command Examples
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
# Setup with options
|
|
77
|
+
bunx aiblueprint-cli@latest claude-code setup --skip # Install all features
|
|
78
|
+
bunx aiblueprint-cli@latest claude-code setup --folder ~/.my-claude # Custom location
|
|
79
|
+
bunx aiblueprint-cli@latest claude-code setup --claudeCodeFolder ~/.claude --codexFolder ~/.codex # Separate folders
|
|
80
|
+
|
|
81
|
+
# Add specific hooks
|
|
82
|
+
bunx aiblueprint-cli@latest claude-code add hook post-edit-typescript # TypeScript processing hook
|
|
17
83
|
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bunx aiblueprint-cli claude-code
|
|
84
|
+
# Manage commands
|
|
85
|
+
bunx aiblueprint-cli@latest claude-code add commands # List all available commands
|
|
86
|
+
bunx aiblueprint-cli@latest claude-code add commands commit # Install commit command
|
|
87
|
+
bunx aiblueprint-cli@latest claude-code add commands deep-code-analysis # Install analysis command
|
|
88
|
+
|
|
89
|
+
# Create symlinks between CLI tools
|
|
90
|
+
bunx aiblueprint-cli@latest claude-code symlink # Interactive symlink manager
|
|
91
|
+
bunx aiblueprint-cli@latest claude-code symlink --factoryAiFolder ~/.factory # With custom paths
|
|
22
92
|
```
|
|
23
93
|
|
|
24
|
-
|
|
94
|
+
### Hook Types Available
|
|
95
|
+
|
|
96
|
+
- `post-edit-typescript` - Automatic TypeScript file processing (Prettier + ESLint + type checking)
|
|
97
|
+
|
|
98
|
+
### Installation Behavior
|
|
99
|
+
|
|
100
|
+
The CLI intelligently determines where to install configurations:
|
|
101
|
+
|
|
102
|
+
1. **Project Local** (`.claude/` in project root) - When run in a Git repository
|
|
103
|
+
2. **Global** (`~/.claude/`) - When not in a Git repository or with custom folder
|
|
104
|
+
3. **Custom Path** - When using `--folder` option
|
|
105
|
+
|
|
106
|
+
## ✨ Available Features
|
|
107
|
+
|
|
108
|
+
### 🛡️ Shell Shortcuts
|
|
109
|
+
- **`cc`** - Claude Code with permissions skipped (`claude --dangerously-skip-permissions`)
|
|
110
|
+
- **`ccc`** - Claude Code with continue mode (`claude --dangerously-skip-permissions -c`)
|
|
111
|
+
- Platform support: macOS (`.zshenv`), Linux (`.bashrc`/`.zshrc`)
|
|
112
|
+
|
|
113
|
+
### 🔒 Command Validation
|
|
114
|
+
- **700+ line security system** protecting against dangerous bash commands
|
|
115
|
+
- **Real-time validation** before command execution via PreToolUse hooks
|
|
116
|
+
- **Smart detection** of privilege escalation, destructive operations, and command injection
|
|
117
|
+
- **Comprehensive logging** to `~/.claude/security.log` with severity levels
|
|
118
|
+
|
|
119
|
+
### 📊 Custom Statusline
|
|
120
|
+
- **Git integration** - Branch status, changes, and repository info
|
|
121
|
+
- **Cost tracking** - Session costs, daily limits, and token usage via ccusage
|
|
122
|
+
- **Real-time updates** - Command-triggered statusline refresh
|
|
123
|
+
- **Colored output** - Visual indicators for different status types
|
|
124
|
+
|
|
125
|
+
### 🤖 AIBlueprint Commands (16 Available)
|
|
126
|
+
|
|
127
|
+
**Development Workflow**
|
|
128
|
+
- `commit` - Fast conventional commits with immediate push
|
|
129
|
+
- `create-pull-request` - Auto-generated PR creation with templates
|
|
130
|
+
- `fix-pr-comments` - Systematic PR review comment resolution
|
|
131
|
+
- `run-tasks` - Execute GitHub issues with full EPCT workflow
|
|
132
|
+
|
|
133
|
+
**Code Analysis & Research**
|
|
134
|
+
- `deep-code-analysis` - Comprehensive codebase investigation with research
|
|
135
|
+
- `explain-architecture` - Pattern analysis with ASCII diagrams
|
|
136
|
+
- `cleanup-context` - Memory optimization and duplicate removal
|
|
137
|
+
|
|
138
|
+
**Utilities & Automation**
|
|
139
|
+
- `claude-memory` - Context management for long sessions
|
|
140
|
+
- `watch-ci` - Automated CI/CD monitoring and failure fixing
|
|
141
|
+
- `prompt-command` / `prompt-agent` - Template creation utilities
|
|
142
|
+
- `epct` - Systematic Explore-Plan-Code-Test methodology
|
|
143
|
+
|
|
144
|
+
### 🎭 AIBlueprint Agents (3 Specialized)
|
|
145
|
+
|
|
146
|
+
- **explore-codebase** (yellow) - Comprehensive code discovery and analysis
|
|
147
|
+
- **Snipper** (blue) - Rapid code modification specialist with minimal output
|
|
148
|
+
- **websearch** (yellow) - Quick web research with authoritative sources
|
|
149
|
+
|
|
150
|
+
### 🎨 Output Styles (3 Personalities)
|
|
151
|
+
|
|
152
|
+
- **Assistant** - Professional "Bob" persona with honest, task-focused communication
|
|
153
|
+
- **senior-dev** - Casual engineering teammate style, direct and conversational
|
|
154
|
+
- **Honest Friend** - WhatsApp-style brutally honest feedback from a successful friend
|
|
155
|
+
|
|
156
|
+
### 🔊 Notification Sounds
|
|
157
|
+
- **Finish sound** - Audio alert for completed operations (macOS afplay)
|
|
158
|
+
- **Need-human sound** - Audio alert for attention requests
|
|
159
|
+
- **Volume control** - Configurable audio levels
|
|
160
|
+
|
|
161
|
+
### 🔗 Symlink Management
|
|
162
|
+
- **Multi-tool integration** - Create symlinks between Claude Code, Codex, OpenCode, and FactoryAI
|
|
163
|
+
- **Interactive selection** - Choose source, content type (commands/agents), and destinations
|
|
164
|
+
- **Smart validation** - Prevents overwriting non-symlink directories and validates paths
|
|
165
|
+
- **Bidirectional sync** - Sync commands and agents in any direction
|
|
166
|
+
- **Supported tools:**
|
|
167
|
+
- **Claude Code** - Commands + Agents (`~/.claude/`)
|
|
168
|
+
- **Codex** - Commands only (`~/.codex/prompts`)
|
|
169
|
+
- **OpenCode** - Commands only (`~/.config/opencode/command`)
|
|
170
|
+
- **FactoryAI** - Commands + Droids/Agents (`~/.factory/`)
|
|
171
|
+
|
|
172
|
+
## ⚙️ Configuration System
|
|
173
|
+
|
|
174
|
+
### Settings.json Structure
|
|
175
|
+
|
|
176
|
+
The CLI automatically manages your `~/.claude/settings.json` with:
|
|
177
|
+
|
|
178
|
+
```json
|
|
179
|
+
{
|
|
180
|
+
"statusLine": {
|
|
181
|
+
"type": "command",
|
|
182
|
+
"command": "bash ~/.claude/scripts/statusline-ccusage.sh",
|
|
183
|
+
"padding": 0
|
|
184
|
+
},
|
|
185
|
+
"hooks": {
|
|
186
|
+
"PreToolUse": [
|
|
187
|
+
{
|
|
188
|
+
"matcher": "Bash",
|
|
189
|
+
"hooks": [{"type": "command", "command": "bun ~/.claude/scripts/validate-command.js"}]
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"PostToolUse": [
|
|
193
|
+
{
|
|
194
|
+
"matcher": "Edit|Write|MultiEdit",
|
|
195
|
+
"hooks": [{"type": "command", "command": "bun ~/.claude/hooks/hook-post-file.ts"}]
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### GitHub Integration
|
|
203
|
+
|
|
204
|
+
- **Remote-first approach** - Always downloads latest configurations from GitHub
|
|
205
|
+
- **Automatic fallback** - Uses local files when GitHub is unavailable
|
|
206
|
+
- **Version independence** - Get updates without CLI updates
|
|
207
|
+
- **Rate limiting aware** - Handles GitHub API limitations gracefully
|
|
208
|
+
|
|
209
|
+
## 📚 Templates Catalog
|
|
210
|
+
|
|
211
|
+
### Commands by Category
|
|
212
|
+
|
|
213
|
+
<details>
|
|
214
|
+
<summary><strong>Development Workflow (4 commands)</strong></summary>
|
|
215
|
+
|
|
216
|
+
| Command | Tools | Purpose |
|
|
217
|
+
|---------|-------|---------|
|
|
218
|
+
| `commit` | `Bash(git :*)` | Quick conventional commits with immediate push |
|
|
219
|
+
| `create-pull-request` | `Bash(git :*)`, `Bash(gh :*)` | PR creation with auto-generated descriptions |
|
|
220
|
+
| `fix-pr-comments` | `Bash(gh :*)`, `Read`, `Edit` | Systematic PR review resolution |
|
|
221
|
+
| `run-tasks` | `Bash(gh :*)`, `Bash(git :*)` | GitHub issue execution with EPCT |
|
|
222
|
+
|
|
223
|
+
</details>
|
|
224
|
+
|
|
225
|
+
<details>
|
|
226
|
+
<summary><strong>Analysis & Research (2 commands)</strong></summary>
|
|
227
|
+
|
|
228
|
+
| Command | Tools | Purpose |
|
|
229
|
+
|---------|-------|---------|
|
|
230
|
+
| `deep-code-analysis` | `Task`, `WebSearch`, `mcp__context7__*` | Comprehensive codebase investigation |
|
|
231
|
+
| `explain-architecture` | `Read`, `Glob`, `Grep`, `Task` | Architectural pattern analysis |
|
|
232
|
+
|
|
233
|
+
</details>
|
|
234
|
+
|
|
235
|
+
<details>
|
|
236
|
+
<summary><strong>Maintenance & Optimization (2 commands)</strong></summary>
|
|
237
|
+
|
|
238
|
+
| Command | Tools | Purpose |
|
|
239
|
+
|---------|-------|---------|
|
|
240
|
+
| `cleanup-context` | `TodoWrite`, `MultiEdit`, `Glob` | Memory bank optimization |
|
|
241
|
+
| `watch-ci` | `Bash(gh :*)`, `Bash(sleep :*)` | Automated CI monitoring |
|
|
25
242
|
|
|
26
|
-
|
|
243
|
+
</details>
|
|
27
244
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
- **Custom statusline** - Shows git, costs, tokens info
|
|
31
|
-
- **AIBlueprint commands** - Pre-configured command templates
|
|
32
|
-
- **AIBlueprint agents** - Specialized AI agents
|
|
33
|
-
- **Output styles** - Custom output formatting
|
|
34
|
-
- **Notification sounds** - Audio alerts for events
|
|
245
|
+
<details>
|
|
246
|
+
<summary><strong>Utilities (8 commands)</strong></summary>
|
|
35
247
|
|
|
36
|
-
|
|
248
|
+
| Command | Tools | Purpose |
|
|
249
|
+
|---------|-------|---------|
|
|
250
|
+
| `claude-memory` | `Read`, `Write`, `Edit`, `Glob` | CLAUDE.md file management |
|
|
251
|
+
| `epct` | `Task` | Explore-Plan-Code-Test methodology |
|
|
252
|
+
| `prompt-command` | `Read`, `Write`, `Edit` | Command template creation |
|
|
253
|
+
| `prompt-agent` | `Read`, `Write`, `Edit` | Agent template creation |
|
|
37
254
|
|
|
38
|
-
|
|
39
|
-
2. Copies selected configurations to your `.claude` folder
|
|
40
|
-
3. Updates your `~/.claude/settings.json` with new configurations
|
|
41
|
-
4. Installs required dependencies (`bun`, `ccusage`)
|
|
42
|
-
5. Adds shell aliases to your shell configuration file
|
|
255
|
+
</details>
|
|
43
256
|
|
|
44
|
-
###
|
|
257
|
+
### Hooks Available
|
|
45
258
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
259
|
+
| Hook | Language | Purpose | Triggers |
|
|
260
|
+
|------|----------|---------|----------|
|
|
261
|
+
| `post-edit-typescript` | TypeScript/Bun | File processing after edits | Edit, Write, MultiEdit on .ts/.tsx |
|
|
49
262
|
|
|
50
|
-
|
|
263
|
+
### Scripts & Utilities
|
|
51
264
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
265
|
+
| Script | Language | Purpose |
|
|
266
|
+
|--------|----------|---------|
|
|
267
|
+
| `validate-command.js` | Bun/JavaScript | Security validation for bash commands |
|
|
268
|
+
| `statusline-ccusage.sh` | Bash | Git status and usage tracking display |
|
|
55
269
|
|
|
56
|
-
##
|
|
270
|
+
## 🎯 Installation Targets
|
|
271
|
+
|
|
272
|
+
### Local Project Installation (Recommended)
|
|
273
|
+
|
|
274
|
+
When run in a Git repository, creates `.claude/` in your project root:
|
|
57
275
|
|
|
58
276
|
```bash
|
|
59
|
-
|
|
60
|
-
|
|
277
|
+
cd your-project/
|
|
278
|
+
bunx aiblueprint-cli@latest claude-code setup
|
|
279
|
+
# Creates: your-project/.claude/
|
|
280
|
+
```
|
|
61
281
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
282
|
+
**Benefits:**
|
|
283
|
+
- Project-specific configurations
|
|
284
|
+
- Team collaboration ready
|
|
285
|
+
- Version control friendly
|
|
286
|
+
- Isolated environments
|
|
287
|
+
|
|
288
|
+
### Global Installation
|
|
289
|
+
|
|
290
|
+
When not in a Git repository, uses global directory:
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
cd ~/
|
|
294
|
+
bunx aiblueprint-cli@latest claude-code setup
|
|
295
|
+
# Creates: ~/.claude/
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
**Benefits:**
|
|
299
|
+
- System-wide configurations
|
|
300
|
+
- Works across all projects
|
|
301
|
+
- Persistent settings
|
|
302
|
+
|
|
303
|
+
### Custom Path Installation
|
|
304
|
+
|
|
305
|
+
Use `--folder` for specific locations:
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
bunx aiblueprint-cli@latest claude-code setup --folder ./custom-config
|
|
309
|
+
bunx aiblueprint-cli@latest claude-code setup --folder /opt/claude-config
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
## 🔐 Security Features
|
|
313
|
+
|
|
314
|
+
### Command Validation System
|
|
315
|
+
|
|
316
|
+
The security system protects against dangerous operations:
|
|
317
|
+
|
|
318
|
+
**Critical Commands Blocked:**
|
|
319
|
+
- `rm -rf` (with path validation)
|
|
320
|
+
- `dd`, `mkfs`, `fdisk` (disk operations)
|
|
321
|
+
- `chmod 777`, `chown -R` (permission changes)
|
|
322
|
+
- `curl | bash`, `wget | sh` (remote execution)
|
|
323
|
+
- `sudo` operations (privilege escalation)
|
|
324
|
+
|
|
325
|
+
**Security Logging:**
|
|
326
|
+
```json
|
|
327
|
+
{
|
|
328
|
+
"timestamp": "2024-01-15T10:30:00.000Z",
|
|
329
|
+
"command": "rm -rf /",
|
|
330
|
+
"severity": "CRITICAL",
|
|
331
|
+
"action": "BLOCKED",
|
|
332
|
+
"reason": "Destructive command with critical path"
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
**Safe Paths Allowed:**
|
|
337
|
+
- `./`, `~/`, relative paths
|
|
338
|
+
- `node_modules/`, `.git/`, common safe directories
|
|
339
|
+
- Temporary directories (`/tmp/`, `/var/tmp/`)
|
|
340
|
+
|
|
341
|
+
### Hook-Based Protection
|
|
342
|
+
|
|
343
|
+
- **PreToolUse validation** - Commands checked before execution
|
|
344
|
+
- **Real-time analysis** - Pattern matching and rule evaluation
|
|
345
|
+
- **User confirmation** - Interactive prompts for questionable commands
|
|
346
|
+
- **Comprehensive rules** - 50+ security patterns and checks
|
|
347
|
+
|
|
348
|
+
## 🛠️ Development
|
|
349
|
+
|
|
350
|
+
### Local Development Setup
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# Clone and setup
|
|
354
|
+
git clone <repository>
|
|
355
|
+
cd aiblueprint-cli
|
|
356
|
+
bun install
|
|
66
357
|
|
|
67
358
|
# Development mode
|
|
68
359
|
bun run dev claude-code setup
|
|
360
|
+
bun run dev claude-code add commands
|
|
361
|
+
|
|
362
|
+
# Testing
|
|
363
|
+
bun run test:run # Run test suite
|
|
364
|
+
bun run dev-test # Test with temporary config
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Build and Release
|
|
368
|
+
|
|
369
|
+
```bash
|
|
370
|
+
# Build for distribution
|
|
371
|
+
bun run build # Compiles to dist/cli.js
|
|
372
|
+
|
|
373
|
+
# Local testing
|
|
374
|
+
bun run test-local # Creates npm link
|
|
375
|
+
aiblueprint claude-code setup # Test globally
|
|
376
|
+
|
|
377
|
+
# Release (automated)
|
|
378
|
+
bun run release # Version bump, build, tag, publish
|
|
69
379
|
```
|
|
70
380
|
|
|
71
|
-
|
|
381
|
+
### Project Structure
|
|
382
|
+
|
|
383
|
+
```
|
|
384
|
+
src/
|
|
385
|
+
├── cli.ts # Main CLI entry point
|
|
386
|
+
├── commands/
|
|
387
|
+
│ ├── setup.ts # Main setup command
|
|
388
|
+
│ ├── addHook.ts # Hook installation
|
|
389
|
+
│ └── addCommand.ts # Command installation
|
|
390
|
+
└── utils/
|
|
391
|
+
├── claude-config.ts # Configuration utilities
|
|
392
|
+
├── file-installer.ts # GitHub/local fallback
|
|
393
|
+
└── github.ts # GitHub API integration
|
|
394
|
+
|
|
395
|
+
claude-code-config/ # Template repository
|
|
396
|
+
├── commands/ # Command templates
|
|
397
|
+
├── hooks/ # Hook scripts
|
|
398
|
+
├── agents/ # Agent configurations
|
|
399
|
+
├── scripts/ # Utility scripts
|
|
400
|
+
├── output-styles/ # Style templates
|
|
401
|
+
└── song/ # Notification sounds
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### Testing Commands
|
|
405
|
+
|
|
406
|
+
```bash
|
|
407
|
+
# Test all major workflows
|
|
408
|
+
bun run dev claude-code setup --skip
|
|
409
|
+
bun run dev claude-code add hook post-edit-typescript
|
|
410
|
+
bun run dev claude-code add commands
|
|
411
|
+
bun run dev claude-code add commands commit
|
|
412
|
+
|
|
413
|
+
# Test with custom paths
|
|
414
|
+
bun run dev claude-code setup --folder ./test-config
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
## 📋 Requirements
|
|
418
|
+
|
|
419
|
+
### System Requirements
|
|
420
|
+
- **Runtime**: Node.js 16+ or Bun
|
|
421
|
+
- **Platform**: macOS (full support), Linux (partial), Windows (limited)
|
|
422
|
+
- **Dependencies**: Git (for repository detection)
|
|
423
|
+
|
|
424
|
+
### Claude Code Requirements
|
|
425
|
+
- **Claude Code**: Latest version installed
|
|
426
|
+
- **Permissions**: Ability to modify `~/.claude/settings.json`
|
|
427
|
+
|
|
428
|
+
### Optional Dependencies
|
|
429
|
+
- **bun**: Enhanced script execution and hooks
|
|
430
|
+
- **ccusage**: Advanced statusline with cost tracking
|
|
431
|
+
- **gh CLI**: GitHub integration for PR/issue commands
|
|
432
|
+
- **prettier**, **eslint**: TypeScript hook functionality
|
|
433
|
+
|
|
434
|
+
## 🤝 Contributing
|
|
435
|
+
|
|
436
|
+
1. Fork the repository
|
|
437
|
+
2. Create a feature branch
|
|
438
|
+
3. Make your changes
|
|
439
|
+
4. Run tests: `bun run test:run`
|
|
440
|
+
5. Submit a pull request
|
|
441
|
+
|
|
442
|
+
### Adding New Templates
|
|
443
|
+
|
|
444
|
+
1. Add template files to `claude-code-config/`
|
|
445
|
+
2. Update metadata with YAML frontmatter
|
|
446
|
+
3. Test installation: `bun run dev claude-code add commands <name>`
|
|
447
|
+
4. Document in README
|
|
448
|
+
|
|
449
|
+
## 📄 License
|
|
450
|
+
|
|
451
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
452
|
+
|
|
453
|
+
---
|
|
454
|
+
|
|
455
|
+
**Created by AIBlueprint** - Enhancing Claude Code for modern development workflows.
|
|
72
456
|
|
|
73
|
-
|
|
457
|
+
Need help? [Open an issue](https://github.com/aiblueprint/aiblueprint-cli/issues) or check our [documentation](https://docs.aiblueprint.dev).
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: explore-codebase
|
|
3
3
|
description: Use this agent whenever you need to explore the codebase to realize a feature.
|
|
4
4
|
color: yellow
|
|
5
|
+
model: sonnet
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
You are a codebase exploration specialist. Your only job is to find and present ALL relevant code and logic for the requested feature.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explore-docs
|
|
3
|
+
description: Use this agent IMMEDIATELY when the user asks about library features, implementation methods, "how to do X with Y library", documentation searches, or ANY question about using/implementing specific libraries or frameworks (in any language) - launches Context7 and WebFetch for precise technical information with code examples
|
|
4
|
+
color: yellow
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a documentation exploration specialist. Your mission is to retrieve precise, actionable documentation with code examples while eliminating superficial content.
|
|
9
|
+
|
|
10
|
+
## Search Strategy
|
|
11
|
+
|
|
12
|
+
**Primary**: Use Context7 for library-specific documentation
|
|
13
|
+
|
|
14
|
+
- Resolve library ID first with `mcp__context7__resolve-library-id`
|
|
15
|
+
- Fetch targeted docs with `mcp__context7__get-library-docs`
|
|
16
|
+
- Focus on specific topics when provided
|
|
17
|
+
|
|
18
|
+
**Fallback**: Use WebSearch + WebFetch for official documentation
|
|
19
|
+
|
|
20
|
+
- Search for official docs, API references, guides
|
|
21
|
+
- Target authoritative sources (official websites, GitHub repos)
|
|
22
|
+
- Fetch complete documentation pages
|
|
23
|
+
|
|
24
|
+
## Data Processing
|
|
25
|
+
|
|
26
|
+
**Filter for essentials**:
|
|
27
|
+
|
|
28
|
+
- Code examples and usage patterns
|
|
29
|
+
- API specifications and method signatures
|
|
30
|
+
- Configuration options and parameters
|
|
31
|
+
- Error handling patterns
|
|
32
|
+
- Best practices and common pitfalls
|
|
33
|
+
|
|
34
|
+
**Eliminate noise**:
|
|
35
|
+
|
|
36
|
+
- Marketing content and introductions
|
|
37
|
+
- Redundant explanations
|
|
38
|
+
- Outdated or deprecated information
|
|
39
|
+
|
|
40
|
+
## Output Format
|
|
41
|
+
|
|
42
|
+
<output-format>
|
|
43
|
+
|
|
44
|
+
### Library: [Name/Version]
|
|
45
|
+
|
|
46
|
+
### Key Concepts
|
|
47
|
+
|
|
48
|
+
- [Essential concept]: [Brief explanation]
|
|
49
|
+
|
|
50
|
+
### Code Examples
|
|
51
|
+
|
|
52
|
+
```language
|
|
53
|
+
// [Practical example with context]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### API Re
|
|
57
|
+
|
|
58
|
+
### Configuration
|
|
59
|
+
|
|
60
|
+
````language
|
|
61
|
+
// [Complete config example]
|
|
62
|
+
```ference
|
|
63
|
+
- `method(params)`: [Purpose and returns]
|
|
64
|
+
- `property`: [Type and usage]
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Common Patterns
|
|
68
|
+
- [Pattern name]: [When to use + code]
|
|
69
|
+
|
|
70
|
+
### URLs
|
|
71
|
+
- Official docs: [url]
|
|
72
|
+
- API reference: [url]
|
|
73
|
+
- Examples: [url]
|
|
74
|
+
|
|
75
|
+
## Execution Rules
|
|
76
|
+
|
|
77
|
+
- **Precision over completeness** - focus on what's immediately useful
|
|
78
|
+
- **Code-first approach** - every concept needs a working example
|
|
79
|
+
- **No fluff** - skip introductions, marketing, basic explanations
|
|
80
|
+
- **Verify recency** - prioritize current documentation versions
|
|
81
|
+
- **Parallel searches** when exploring multiple aspects
|
|
82
|
+
|
|
83
|
+
## Priority
|
|
84
|
+
|
|
85
|
+
Actionable code examples > API specs > Configuration > Theory.
|
|
86
|
+
|
|
87
|
+
</output-format>
|
|
88
|
+
````
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: Snipper
|
|
3
3
|
description: Use this agent when you need to modify code. This agent is specialized to be fast. The output is small and optimized to code as fast as agent can.
|
|
4
4
|
color: blue
|
|
5
|
+
model: sonnet
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
You are a rapid code modification specialist. No explanations, just execute.
|
|
@@ -19,6 +20,7 @@ You are a rapid code modification specialist. No explanations, just execute.
|
|
|
19
20
|
- Make minimal changes to achieve the goal
|
|
20
21
|
- Use `MultiEdit` for multiple changes in same file
|
|
21
22
|
- Never add comments unless requested
|
|
23
|
+
- DO NEVER RUN LINT CHECK. YOU CAN'T USE BASH.
|
|
22
24
|
|
|
23
25
|
## Output Format
|
|
24
26
|
|