@atlashub/smartstack-cli 1.32.0 → 1.33.0
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/.documentation/installation.html +1 -4
- package/README.md +43 -600
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -713,10 +713,7 @@ $npmPath = "$env:APPDATA\npm"
|
|
|
713
713
|
# 3. Recharger le PATH dans cette session
|
|
714
714
|
$env:PATH += ";$npmPath"
|
|
715
715
|
|
|
716
|
-
# 4.
|
|
717
|
-
smartstack --version
|
|
718
|
-
|
|
719
|
-
# 5. Deployer les skills, agents et hooks
|
|
716
|
+
# 4. Deployer les skills, agents et hooks
|
|
720
717
|
smartstack install</code></pre>
|
|
721
718
|
</div>
|
|
722
719
|
<div class="tutorial-note" style="margin-top: 0.5rem;">
|
package/README.md
CHANGED
|
@@ -16,641 +16,84 @@
|
|
|
16
16
|
|
|
17
17
|
**By [AtlasHub](https://www.atlashub.ch)** | [support@atlashub.ch](mailto:support@atlashub.ch)
|
|
18
18
|
|
|
19
|
-
## What's New in v1.5.2
|
|
20
|
-
|
|
21
|
-
- **Azure DevOps Support** - Full GitFlow integration with Azure DevOps PRs and pipelines
|
|
22
|
-
- **npm Auto-Publish** - Automated publishing via Azure Pipelines (@next and @latest tags)
|
|
23
|
-
- **Ralph Loop Integration** - Fully automated BA orchestration with Ralph Loop framework
|
|
24
|
-
- **Prompts System** - Expert prompt creation and optimization tools
|
|
25
|
-
- **Quick Search** - Lightning-fast codebase exploration
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Table of Contents
|
|
30
|
-
|
|
31
|
-
- [Prerequisites](#prerequisites)
|
|
32
|
-
- [Installation](#installation)
|
|
33
|
-
- [Update](#update)
|
|
34
|
-
- [Project Creation](#project-creation)
|
|
35
|
-
- [CLI Commands](#cli-commands)
|
|
36
|
-
- [Claude Code Commands](#claude-code-commands)
|
|
37
|
-
- [VS Code Configuration](#vs-code-configuration)
|
|
38
|
-
- [Troubleshooting](#troubleshooting)
|
|
39
|
-
|
|
40
19
|
---
|
|
41
20
|
|
|
42
21
|
## Prerequisites
|
|
43
22
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
**Download:** https://git-scm.com/downloads
|
|
47
|
-
|
|
48
|
-
Git is **required** for GitFlow workflow and version control.
|
|
49
|
-
|
|
50
|
-
```powershell
|
|
51
|
-
# Verify installation
|
|
52
|
-
git --version
|
|
53
|
-
|
|
54
|
-
# Configure your identity
|
|
55
|
-
git config --global user.name "Your Name"
|
|
56
|
-
git config --global user.email "your@email.com"
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
#### Option A: GitHub
|
|
60
|
-
|
|
61
|
-
```powershell
|
|
62
|
-
# Generate SSH key
|
|
63
|
-
ssh-keygen -t ed25519 -C "your@email.com"
|
|
64
|
-
|
|
65
|
-
# Start SSH agent and add key
|
|
66
|
-
eval "$(ssh-agent -s)"
|
|
67
|
-
ssh-add ~/.ssh/id_ed25519
|
|
68
|
-
|
|
69
|
-
# Copy public key
|
|
70
|
-
cat ~/.ssh/id_ed25519.pub
|
|
71
|
-
|
|
72
|
-
# Test connection
|
|
73
|
-
ssh -T git@github.com
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
**Add key on GitHub:** https://github.com/settings/keys
|
|
23
|
+
Before installing SmartStack CLI, verify that the following tools are installed:
|
|
77
24
|
|
|
78
|
-
|
|
25
|
+
| Tool | Minimum version | Verification |
|
|
26
|
+
|------|----------------|--------------|
|
|
27
|
+
| **Node.js** | >= 18.0.0 | `node --version` |
|
|
28
|
+
| **npm** | >= 9.0.0 | `npm --version` |
|
|
29
|
+
| **Git** | >= 2.0.0 | `git --version` |
|
|
30
|
+
| **.NET SDK** | >= 10.0.0 | `dotnet --version` |
|
|
31
|
+
| **Claude Code** | latest | `claude --version` |
|
|
79
32
|
|
|
80
33
|
```powershell
|
|
81
|
-
#
|
|
82
|
-
git
|
|
83
|
-
|
|
84
|
-
# Clone a repo - credentials will be prompted automatically
|
|
85
|
-
git clone https://dev.azure.com/YourOrg/YourProject/_git/YourRepo
|
|
34
|
+
# Verify all prerequisites at once
|
|
35
|
+
node --version && npm --version && git --version && dotnet --version && claude --version
|
|
86
36
|
```
|
|
87
37
|
|
|
88
|
-
> **
|
|
89
|
-
|
|
90
|
-
### 2. Node.js (v18 or higher)
|
|
91
|
-
|
|
92
|
-
**Download:** https://nodejs.org/
|
|
93
|
-
|
|
94
|
-
```powershell
|
|
95
|
-
node --version # Should display v18.x.x or higher
|
|
96
|
-
npm --version # Should display 9.x.x or higher
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### 3. .NET SDK (v10.0 or higher)
|
|
100
|
-
|
|
101
|
-
**Download:** https://dotnet.microsoft.com/download
|
|
102
|
-
|
|
103
|
-
```powershell
|
|
104
|
-
dotnet --version # Should display 10.x.x or higher
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### 4. Visual Studio Code + Claude Code
|
|
108
|
-
|
|
109
|
-
**Download VS Code:** https://code.visualstudio.com/
|
|
110
|
-
|
|
111
|
-
Install Claude Code extension:
|
|
112
|
-
```powershell
|
|
113
|
-
code --install-extension anthropic.claude-code
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Or manually: Open VS Code → Extensions (`Ctrl+Shift+X`) → Search "Claude Code" → Install
|
|
117
|
-
|
|
118
|
-
### 5. MCP Servers (Required)
|
|
119
|
-
|
|
120
|
-
MCP servers are **required** for SmartStack advanced features.
|
|
121
|
-
|
|
122
|
-
#### Step A: Download MCP packages
|
|
123
|
-
|
|
124
|
-
```powershell
|
|
125
|
-
# SmartStack MCP - Convention validation, scaffolding, API docs
|
|
126
|
-
npm install -g @atlashub/smartstack-mcp
|
|
127
|
-
|
|
128
|
-
# Context7 MCP - Library documentation, code examples
|
|
129
|
-
npm install -g @upstash/context7-mcp
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
#### Step B: Register in Claude Code
|
|
133
|
-
|
|
134
|
-
```powershell
|
|
135
|
-
# Register SmartStack MCP
|
|
136
|
-
claude mcp add smartstack -- npx @atlashub/smartstack-mcp
|
|
137
|
-
|
|
138
|
-
# Register Context7 MCP
|
|
139
|
-
claude mcp add context7 -- npx @upstash/context7-mcp
|
|
140
|
-
|
|
141
|
-
# Verify installation
|
|
142
|
-
claude mcp list
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
> **Expected result:** `claude mcp list` should show **smartstack** and **context7** in the active servers list.
|
|
38
|
+
> **Node.js** : [nodejs.org](https://nodejs.org/) | **.NET SDK** : [dotnet.microsoft.com](https://dotnet.microsoft.com/download) | **Claude Code** : `npm install -g @anthropic-ai/claude-code`
|
|
146
39
|
|
|
147
40
|
---
|
|
148
41
|
|
|
149
42
|
## Installation
|
|
150
43
|
|
|
151
|
-
### Step 1: Install the npm package
|
|
152
|
-
|
|
153
44
|
```powershell
|
|
45
|
+
# 1. Install SmartStack CLI
|
|
154
46
|
npm install -g @atlashub/smartstack-cli
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
### Step 2: Install commands into Claude Code
|
|
158
|
-
|
|
159
|
-
```powershell
|
|
160
|
-
smartstack install
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
Or with the short alias:
|
|
164
|
-
```powershell
|
|
165
|
-
ss install
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### Step 3: Verify installation
|
|
169
|
-
|
|
170
|
-
```powershell
|
|
171
|
-
# Check installation status
|
|
172
|
-
smartstack status --verbose
|
|
173
|
-
|
|
174
|
-
# Run full diagnostic
|
|
175
|
-
smartstack doctor
|
|
176
|
-
|
|
177
|
-
# Verify MCP servers
|
|
178
|
-
smartstack check-mcp
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
### Local Installation (project only)
|
|
182
|
-
|
|
183
|
-
If you prefer a project-scoped installation:
|
|
184
|
-
|
|
185
|
-
```powershell
|
|
186
|
-
cd C:\path\to\your\project
|
|
187
|
-
smartstack install --local
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## Update
|
|
193
|
-
|
|
194
|
-
### Update SmartStack CLI
|
|
195
|
-
|
|
196
|
-
```powershell
|
|
197
|
-
# Automatic update (package + commands)
|
|
198
|
-
smartstack update
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### Manual Update
|
|
202
|
-
|
|
203
|
-
```powershell
|
|
204
|
-
# 1. Update npm package
|
|
205
|
-
npm update -g @atlashub/smartstack-cli
|
|
206
|
-
|
|
207
|
-
# 2. Reinstall commands
|
|
208
|
-
smartstack install --force
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
### Check for available updates
|
|
212
|
-
|
|
213
|
-
```powershell
|
|
214
|
-
npm outdated -g @atlashub/smartstack-cli
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
## Project Creation
|
|
220
|
-
|
|
221
|
-
### Method 1: `smartstack init` command (Recommended)
|
|
222
|
-
|
|
223
|
-
The `smartstack init` command creates a complete SmartStack project with an interactive wizard.
|
|
224
|
-
|
|
225
|
-
#### Interactive creation
|
|
226
|
-
|
|
227
|
-
```powershell
|
|
228
|
-
smartstack init MyProject
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
The wizard will ask for:
|
|
232
|
-
1. **Project type**: Full Stack, Backend Only, or Frontend Only
|
|
233
|
-
2. **Database**: SQL Server, PostgreSQL, or SQLite
|
|
234
|
-
3. **Modules**: Auth, Navigation, AI, Notifications
|
|
235
|
-
|
|
236
|
-
#### Quick creation (default values)
|
|
237
|
-
|
|
238
|
-
```powershell
|
|
239
|
-
smartstack init MyProject -y
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
#### Available options
|
|
243
|
-
|
|
244
|
-
| Option | Description |
|
|
245
|
-
|--------|-------------|
|
|
246
|
-
| `--full-stack` | Backend .NET + Frontend React (default) |
|
|
247
|
-
| `--backend` | Backend .NET only |
|
|
248
|
-
| `--frontend` | Frontend React only |
|
|
249
|
-
| `--db <type>` | Database: `sqlserver`, `postgresql`, `sqlite` |
|
|
250
|
-
| `--dry-run` | Simulation without creating files |
|
|
251
|
-
| `--skip-mcp-check` | Skip MCP servers verification |
|
|
252
|
-
| `-y, --yes` | Use default values |
|
|
253
|
-
|
|
254
|
-
#### Examples
|
|
255
|
-
|
|
256
|
-
```powershell
|
|
257
|
-
# Full-stack project with SQL Server (default)
|
|
258
|
-
smartstack init MyApp
|
|
259
|
-
|
|
260
|
-
# Backend only with PostgreSQL
|
|
261
|
-
smartstack init MyApi --backend --db postgresql
|
|
262
|
-
|
|
263
|
-
# Frontend only
|
|
264
|
-
smartstack init MyFrontend --frontend
|
|
265
|
-
|
|
266
|
-
# Simulation (see what would be created)
|
|
267
|
-
smartstack init MyProject --dry-run
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
#### Created structure
|
|
271
|
-
|
|
272
|
-
```
|
|
273
|
-
MyProject/
|
|
274
|
-
├── src/
|
|
275
|
-
│ ├── MyProject.Domain/ # Entities and interfaces
|
|
276
|
-
│ ├── MyProject.Application/ # Services and DTOs
|
|
277
|
-
│ ├── MyProject.Infrastructure/ # EF Core, repositories
|
|
278
|
-
│ └── MyProject.Api/ # Controllers and configuration
|
|
279
|
-
├── web/
|
|
280
|
-
│ └── myproject-web/ # Frontend React + Vite
|
|
281
|
-
├── tests/
|
|
282
|
-
├── MyProject.sln
|
|
283
|
-
├── Directory.Build.props
|
|
284
|
-
├── .gitignore
|
|
285
|
-
└── README.md
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
#### After creation
|
|
289
|
-
|
|
290
|
-
```powershell
|
|
291
|
-
cd MyProject
|
|
292
47
|
|
|
293
|
-
#
|
|
48
|
+
# 2. Add npm to PATH (permanent)
|
|
49
|
+
$npmPath = "$env:APPDATA\npm"
|
|
50
|
+
[Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$npmPath", "User")
|
|
294
51
|
|
|
295
|
-
#
|
|
296
|
-
|
|
52
|
+
# 3. Reload PATH in this session
|
|
53
|
+
$env:PATH += ";$npmPath"
|
|
297
54
|
|
|
298
|
-
#
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
# 4. Run backend
|
|
302
|
-
dotnet run --project src/MyProject.Api
|
|
303
|
-
|
|
304
|
-
# 5. Run frontend (another terminal)
|
|
305
|
-
cd web/myproject-web
|
|
306
|
-
npm run dev
|
|
307
|
-
```
|
|
308
|
-
|
|
309
|
-
### Method 2: Initialize existing project with GitFlow
|
|
310
|
-
|
|
311
|
-
If you already have a project and want to add GitFlow:
|
|
312
|
-
|
|
313
|
-
```powershell
|
|
314
|
-
cd C:\Projects\MyExistingProject
|
|
315
|
-
code .
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
In VS Code with Claude Code active:
|
|
319
|
-
```
|
|
320
|
-
/gitflow init
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
## CLI Commands
|
|
326
|
-
|
|
327
|
-
All commands support the short alias `ss` (e.g., `ss install`, `ss status`).
|
|
328
|
-
|
|
329
|
-
### install
|
|
330
|
-
|
|
331
|
-
Install SmartStack commands, agents, and hooks.
|
|
332
|
-
|
|
333
|
-
```powershell
|
|
334
|
-
smartstack install [options]
|
|
335
|
-
```
|
|
336
|
-
|
|
337
|
-
| Option | Alias | Description |
|
|
338
|
-
|--------|-------|-------------|
|
|
339
|
-
| `--force` | `-f` | Overwrite existing files |
|
|
340
|
-
| `--global` | `-g` | Install to ~/.claude (default) |
|
|
341
|
-
| `--local` | `-l` | Install to ./.claude (project) |
|
|
342
|
-
| `--commands-only` | | Install only commands |
|
|
343
|
-
| `--agents-only` | | Install only agents |
|
|
344
|
-
| `--hooks-only` | | Install only hooks |
|
|
345
|
-
| `--no-config` | | Skip config file creation |
|
|
346
|
-
| `--no-plugins` | | Skip Claude Code plugin installation |
|
|
347
|
-
|
|
348
|
-
### uninstall
|
|
349
|
-
|
|
350
|
-
Remove SmartStack commands, agents, and hooks.
|
|
351
|
-
|
|
352
|
-
```powershell
|
|
353
|
-
smartstack uninstall [options]
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
| Option | Alias | Description |
|
|
357
|
-
|--------|-------|-------------|
|
|
358
|
-
| `--global` | `-g` | Uninstall from ~/.claude (default) |
|
|
359
|
-
| `--local` | `-l` | Uninstall from ./.claude |
|
|
360
|
-
| `--commands-only` | | Remove only commands |
|
|
361
|
-
| `--agents-only` | | Remove only agents |
|
|
362
|
-
| `--hooks-only` | | Remove only hooks |
|
|
363
|
-
| `--keep-config` | | Keep configuration file |
|
|
364
|
-
| `--yes` | `-y` | Skip confirmation prompt |
|
|
365
|
-
|
|
366
|
-
### status
|
|
367
|
-
|
|
368
|
-
Show installation status.
|
|
369
|
-
|
|
370
|
-
```powershell
|
|
371
|
-
smartstack status [options]
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
| Option | Alias | Description |
|
|
375
|
-
|--------|-------|-------------|
|
|
376
|
-
| `--global` | `-g` | Check ~/.claude (default) |
|
|
377
|
-
| `--local` | `-l` | Check ./.claude |
|
|
378
|
-
| `--verbose` | `-v` | Show detailed command list |
|
|
379
|
-
|
|
380
|
-
### update
|
|
381
|
-
|
|
382
|
-
Update commands to the latest version.
|
|
383
|
-
|
|
384
|
-
```powershell
|
|
385
|
-
smartstack update [options]
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
| Option | Alias | Description |
|
|
389
|
-
|--------|-------|-------------|
|
|
390
|
-
| `--global` | `-g` | Update ~/.claude (default) |
|
|
391
|
-
| `--local` | `-l` | Update ./.claude |
|
|
392
|
-
|
|
393
|
-
### init
|
|
394
|
-
|
|
395
|
-
Initialize a new SmartStack project.
|
|
396
|
-
|
|
397
|
-
```powershell
|
|
398
|
-
smartstack init <name> [options]
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
| Option | Alias | Description |
|
|
402
|
-
|--------|-------|-------------|
|
|
403
|
-
| `--full-stack` | | Backend + Frontend (default) |
|
|
404
|
-
| `--backend` | | Backend .NET only |
|
|
405
|
-
| `--frontend` | | Frontend React only |
|
|
406
|
-
| `--db <type>` | | Database: sqlserver, postgresql, sqlite |
|
|
407
|
-
| `--dry-run` | | Show what would be created |
|
|
408
|
-
| `--yes` | `-y` | Skip prompts, use defaults |
|
|
409
|
-
| `--skip-mcp-check` | | Skip MCP servers check |
|
|
410
|
-
|
|
411
|
-
### docs
|
|
412
|
-
|
|
413
|
-
Open SmartStack documentation in browser.
|
|
414
|
-
|
|
415
|
-
```powershell
|
|
416
|
-
smartstack docs [page] [options]
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
| Option | Alias | Description |
|
|
420
|
-
|--------|-------|-------------|
|
|
421
|
-
| `--list` | `-l` | List available documentation pages |
|
|
422
|
-
|
|
423
|
-
**Available pages:**
|
|
424
|
-
- `index` - Home page
|
|
425
|
-
- `installation` - Installation guide
|
|
426
|
-
- `commands` - Commands reference
|
|
427
|
-
- `agents` - Agents documentation
|
|
428
|
-
- `apex` - APEX methodology
|
|
429
|
-
- `business-analyse` - Business Analysis workflow
|
|
430
|
-
- `gitflow` - GitFlow workflow
|
|
431
|
-
- `efcore` - EF Core migrations
|
|
432
|
-
- `hooks` - Hooks configuration
|
|
433
|
-
- `test-web` - Web testing
|
|
434
|
-
|
|
435
|
-
**Examples:**
|
|
436
|
-
```powershell
|
|
437
|
-
smartstack docs # Open home page
|
|
438
|
-
smartstack docs gitflow # Open GitFlow documentation
|
|
439
|
-
smartstack docs --list # List all available pages
|
|
440
|
-
```
|
|
441
|
-
|
|
442
|
-
### license
|
|
443
|
-
|
|
444
|
-
Manage SmartStack CLI license.
|
|
445
|
-
|
|
446
|
-
```powershell
|
|
447
|
-
smartstack license <command> [options]
|
|
448
|
-
```
|
|
449
|
-
|
|
450
|
-
| Command | Description |
|
|
451
|
-
|---------|-------------|
|
|
452
|
-
| `activate <key>` | Activate a license key |
|
|
453
|
-
| `status` | Show current license status |
|
|
454
|
-
| `deactivate` | Remove the current license |
|
|
455
|
-
| `verify <key>` | Verify a license key without activating |
|
|
456
|
-
|
|
457
|
-
**Examples:**
|
|
458
|
-
```powershell
|
|
459
|
-
smartstack license activate ABC123-DEF456 # Activate license
|
|
460
|
-
smartstack license status # Check license status
|
|
461
|
-
smartstack license deactivate # Remove license
|
|
462
|
-
smartstack license verify ABC123-DEF456 # Verify without activating
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
---
|
|
466
|
-
|
|
467
|
-
## Claude Code Commands
|
|
468
|
-
|
|
469
|
-
### GitFlow Workflow
|
|
470
|
-
|
|
471
|
-
| Skill | Description |
|
|
472
|
-
|---------|-------------|
|
|
473
|
-
| `/gitflow` | Full GitFlow workflow |
|
|
474
|
-
| `/gitflow init` | Initialize GitFlow structure |
|
|
475
|
-
| `/gitflow status` | Show repository status |
|
|
476
|
-
| `/gitflow commit` | Smart commit with validation |
|
|
477
|
-
| `/gitflow start` | Start feature/release/hotfix |
|
|
478
|
-
| `/gitflow finish` | Finish and tag |
|
|
479
|
-
| `/gitflow pr` | Create a Pull Request |
|
|
480
|
-
| `/gitflow cleanup` | Cleanup worktrees |
|
|
481
|
-
|
|
482
|
-
### Development Methodologies
|
|
483
|
-
|
|
484
|
-
| Skill | Description |
|
|
485
|
-
|---------|-------------|
|
|
486
|
-
| `/apex` | APEX methodology (Analyze-Plan-Execute-eXamine) |
|
|
487
|
-
| `/debug` | Systematic debugging |
|
|
488
|
-
| `/explore` | Deep codebase exploration |
|
|
489
|
-
| `/refactor` | Code refactoring |
|
|
490
|
-
| `/review-code` | Code review |
|
|
491
|
-
|
|
492
|
-
### Business Analysis
|
|
493
|
-
|
|
494
|
-
| Skill | Description |
|
|
495
|
-
|---------|-------------|
|
|
496
|
-
| `/business-analyse` | Full BA workflow with orchestration |
|
|
497
|
-
| `/business-analyse init` | Initialize BA structure |
|
|
498
|
-
| `/business-analyse discover` | Requirements elicitation |
|
|
499
|
-
| `/business-analyse analyse` | Business analysis (BRD) |
|
|
500
|
-
| `/business-analyse specify` | Functional specification (FRD) |
|
|
501
|
-
| `/business-analyse validate` | User validation gate |
|
|
502
|
-
| `/business-analyse handoff` | Implementation brief |
|
|
503
|
-
|
|
504
|
-
### EF Core Migrations
|
|
505
|
-
|
|
506
|
-
| Skill | Description |
|
|
507
|
-
|---------|-------------|
|
|
508
|
-
| `/efcore` | EF Core orchestrator |
|
|
509
|
-
| `/efcore migration` | Create/recreate migration |
|
|
510
|
-
| `/efcore db-status` | Show migration status |
|
|
511
|
-
| `/efcore db-deploy` | Apply migrations |
|
|
512
|
-
| `/efcore db-seed` | Seed database |
|
|
513
|
-
| `/efcore db-reset` | Reset database |
|
|
514
|
-
| `/efcore scan` | Scan migrations across branches |
|
|
515
|
-
| `/efcore conflicts` | Detect conflicts |
|
|
516
|
-
| `/prompts:command` | Command prompt patterns |
|
|
517
|
-
| `/prompts:claude-memory` | CLAUDE.md file management |
|
|
518
|
-
|
|
519
|
-
### Ralph Loop
|
|
520
|
-
|
|
521
|
-
| Command | Description |
|
|
522
|
-
|---------|-------------|
|
|
523
|
-
| `/ralph-loop` | Start autonomous Ralph Loop session |
|
|
524
|
-
| `/ralph-loop:cancel-ralph` | Cancel active Ralph Loop |
|
|
525
|
-
| `/ralph-loop:help` | Ralph Loop documentation |
|
|
526
|
-
|
|
527
|
-
### Quick Search
|
|
528
|
-
|
|
529
|
-
| Command | Description |
|
|
530
|
-
|---------|-------------|
|
|
531
|
-
| `/quick-search` | Lightning-fast codebase search |
|
|
532
|
-
|
|
533
|
-
---
|
|
534
|
-
|
|
535
|
-
## VS Code Configuration
|
|
536
|
-
|
|
537
|
-
### Recommended settings
|
|
538
|
-
|
|
539
|
-
Add to `.vscode/settings.json`:
|
|
540
|
-
|
|
541
|
-
```json
|
|
542
|
-
{
|
|
543
|
-
"claude-code.enableSmartStack": true,
|
|
544
|
-
"files.associations": {
|
|
545
|
-
"*.md": "markdown"
|
|
546
|
-
},
|
|
547
|
-
"editor.formatOnSave": true
|
|
548
|
-
}
|
|
55
|
+
# 4. Deploy skills, agents and hooks
|
|
56
|
+
smartstack install
|
|
549
57
|
```
|
|
550
58
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
| Shortcut | Action |
|
|
554
|
-
|----------|--------|
|
|
555
|
-
| `Ctrl+Shift+P` | Command palette |
|
|
556
|
-
| `Ctrl+Shift+C` | Open Claude Code |
|
|
557
|
-
| `Ctrl+ù` | Integrated terminal |
|
|
59
|
+
> **Alias available:** You can use `ss` instead of `smartstack` (e.g., `ss install`).
|
|
558
60
|
|
|
559
61
|
---
|
|
560
62
|
|
|
561
|
-
##
|
|
562
|
-
|
|
563
|
-
### "smartstack" is not recognized
|
|
63
|
+
## Documentation
|
|
564
64
|
|
|
565
|
-
|
|
65
|
+
Once installed, open the interactive documentation in your browser:
|
|
566
66
|
|
|
567
|
-
**Solution:**
|
|
568
67
|
```powershell
|
|
569
|
-
|
|
570
|
-
npm config get prefix
|
|
571
|
-
|
|
572
|
-
# Add to PATH (replace with your path)
|
|
573
|
-
$env:Path += ";C:\Users\YourName\AppData\Roaming\npm"
|
|
68
|
+
ss docs
|
|
574
69
|
```
|
|
575
70
|
|
|
576
|
-
|
|
71
|
+
The documentation covers the full installation checklist (Git, MCP servers, VS Code), all CLI commands, Claude Code skills, project creation, troubleshooting, and more.
|
|
577
72
|
|
|
578
|
-
**Solution:** Run PowerShell as administrator, then:
|
|
579
73
|
```powershell
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
```powershell
|
|
586
|
-
# Reinstall with force
|
|
587
|
-
smartstack install --force
|
|
588
|
-
|
|
589
|
-
# Check status
|
|
590
|
-
smartstack status --verbose
|
|
74
|
+
ss docs installation # Installation guide
|
|
75
|
+
ss docs gitflow # GitFlow workflow
|
|
76
|
+
ss docs efcore # EF Core migrations
|
|
77
|
+
ss docs apex # APEX methodology
|
|
78
|
+
ss docs --list # List all available pages
|
|
591
79
|
```
|
|
592
80
|
|
|
593
|
-
###
|
|
81
|
+
### Command not recognized?
|
|
594
82
|
|
|
595
|
-
|
|
596
|
-
```powershell
|
|
597
|
-
# 1. Download packages
|
|
598
|
-
npm install -g @atlashub/smartstack-mcp
|
|
599
|
-
npm install -g @upstash/context7-mcp
|
|
83
|
+
If `ss` or `smartstack` is not recognized after installation:
|
|
600
84
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
```
|
|
608
|
-
|
|
609
|
-
```
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
```powershell
|
|
614
|
-
# Uninstall
|
|
615
|
-
smartstack uninstall
|
|
616
|
-
npm uninstall -g @atlashub/smartstack-cli
|
|
617
|
-
|
|
618
|
-
# Reinstall
|
|
619
|
-
npm install -g @atlashub/smartstack-cli
|
|
620
|
-
smartstack install
|
|
621
|
-
```
|
|
622
|
-
|
|
623
|
-
---
|
|
624
|
-
|
|
625
|
-
## Resources
|
|
626
|
-
|
|
627
|
-
- [Official Website](https://smartstack.app)
|
|
628
|
-
- [SmartStack Documentation](https://docs.smartstack.app)
|
|
629
|
-
- [GitFlow Documentation](.documentation/gitflow.html)
|
|
630
|
-
- [Business Analysis Documentation](.documentation/business-analyse.html)
|
|
85
|
+
1. **Close and reopen your terminal** (PowerShell) to reload the PATH
|
|
86
|
+
2. If the problem persists, manually add npm to the PATH:
|
|
87
|
+
```powershell
|
|
88
|
+
$npmPath = "$env:APPDATA\npm"
|
|
89
|
+
[Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";$npmPath", "User")
|
|
90
|
+
$env:PATH += ";$npmPath"
|
|
91
|
+
```
|
|
92
|
+
3. Verify that the package is installed:
|
|
93
|
+
```powershell
|
|
94
|
+
npm list -g @atlashub/smartstack-cli
|
|
95
|
+
```
|
|
631
96
|
|
|
632
97
|
---
|
|
633
98
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
**[AtlasHub](https://www.atlashub.ch)** builds intelligent tools for modern development teams. SmartStack is our flagship CLI toolkit, designed to accelerate .NET and full-stack development with AI-powered automation.
|
|
637
|
-
|
|
638
|
-
**Need help?** Contact us at [support@atlashub.ch](mailto:support@atlashub.ch)
|
|
639
|
-
|
|
640
|
-
## Development
|
|
641
|
-
|
|
642
|
-
### Publishing
|
|
643
|
-
|
|
644
|
-
> **INTERDICTION DE PUBLIER MANUELLEMENT SUR NPM**
|
|
645
|
-
>
|
|
646
|
-
> La publication sur npm est **automatique** via Azure Pipelines.
|
|
647
|
-
> Ne jamais exécuter `npm publish` manuellement.
|
|
648
|
-
>
|
|
649
|
-
> **Workflow:**
|
|
650
|
-
> 1. Créer une release avec `/gitflow:10-start release`
|
|
651
|
-
> 2. Finaliser avec `/gitflow:11-finish`
|
|
652
|
-
> 3. Le tag déclenche automatiquement le pipeline de publication
|
|
653
|
-
|
|
654
|
-
## License
|
|
655
|
-
|
|
656
|
-
MIT - Free for personal and commercial use.
|
|
99
|
+
**[AtlasHub](https://www.atlashub.ch)** | [support@atlashub.ch](mailto:support@atlashub.ch) | MIT License
|
package/dist/index.js
CHANGED
|
@@ -124884,7 +124884,7 @@ function parseConnectionString(connStr) {
|
|
|
124884
124884
|
}
|
|
124885
124885
|
function executeSqlCmd(server, database, query) {
|
|
124886
124886
|
const sqlServer = server === "(local)" ? "." : server;
|
|
124887
|
-
const cmd = `sqlcmd -S "${sqlServer}" -d "${database}" -E -I -Q "${query.replace(/"/g, '\\"')}" -h -1 -W`;
|
|
124887
|
+
const cmd = `sqlcmd -S "${sqlServer}" -d "${database}" -E -I -C -Q "${query.replace(/"/g, '\\"')}" -h -1 -W`;
|
|
124888
124888
|
return (0, import_child_process8.execSync)(cmd, { encoding: "utf-8" }).trim();
|
|
124889
124889
|
}
|
|
124890
124890
|
function detectSmartStackApp() {
|