@atlashub/smartstack-cli 1.7.0 → 1.9.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/init.html +9 -65
- package/README.md +556 -78
- package/dist/index.js +29 -134
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/agents/gitflow/status.md +98 -11
- package/templates/commands/efcore/conflicts.md +98 -32
- package/templates/commands/efcore/db-deploy.md +107 -10
- package/templates/commands/efcore/db-reset.md +69 -14
- package/templates/commands/efcore/db-seed.md +67 -11
- package/templates/commands/efcore/db-status.md +57 -20
- package/templates/commands/efcore/migration.md +84 -23
- package/templates/commands/efcore/rebase-snapshot.md +81 -23
- package/templates/commands/efcore/scan.md +94 -29
- package/templates/commands/efcore/squash.md +97 -41
- package/templates/commands/gitflow/1-init.md +216 -5
- package/templates/commands/gitflow/10-start.md +194 -24
- package/templates/commands/gitflow/11-finish.md +141 -59
- package/templates/commands/gitflow/2-status.md +238 -58
- package/templates/commands/gitflow/3-commit.md +93 -0
- package/templates/commands/gitflow/7-pull-request.md +133 -16
package/README.md
CHANGED
|
@@ -3,130 +3,608 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@atlashub/smartstack-cli)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
SmartStack
|
|
6
|
+
**SmartStack** transforms Claude Code into an enterprise-grade development platform. Stop writing boilerplate - start shipping features.
|
|
7
|
+
|
|
8
|
+
> **SmartStack** is your AI-powered co-pilot for .NET development: automated GitFlow, intelligent migrations, business analysis workflows, and battle-tested methodologies - all integrated directly into Claude Code.
|
|
9
|
+
|
|
10
|
+
## Why SmartStack?
|
|
11
|
+
|
|
12
|
+
- **10x Faster Development** - Pre-built workflows eliminate repetitive tasks
|
|
13
|
+
- **Enterprise GitFlow** - Full branch management with EF Core migration safety
|
|
14
|
+
- **Business Analysis Built-in** - From requirements to implementation handoff
|
|
15
|
+
- **Zero Configuration** - Install once, use everywhere
|
|
16
|
+
|
|
17
|
+
**By [AtlasHub](https://www.atlashub.ch)** | [support@atlashub.ch](mailto:support@atlashub.ch)
|
|
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
|
+
---
|
|
41
|
+
|
|
42
|
+
## Prerequisites
|
|
43
|
+
|
|
44
|
+
### 1. Node.js (v18 or higher)
|
|
45
|
+
|
|
46
|
+
**Download:** https://nodejs.org/
|
|
47
|
+
|
|
48
|
+
Verify installation:
|
|
49
|
+
```powershell
|
|
50
|
+
node --version # Should display v18.x.x or higher
|
|
51
|
+
npm --version # Should display 9.x.x or higher
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 2. .NET SDK (v10.0 or higher)
|
|
55
|
+
|
|
56
|
+
**Download:** https://dotnet.microsoft.com/download
|
|
57
|
+
|
|
58
|
+
Verify installation:
|
|
59
|
+
```powershell
|
|
60
|
+
dotnet --version # Should display 10.x.x or higher
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 3. Visual Studio Code
|
|
64
|
+
|
|
65
|
+
**Download:** https://code.visualstudio.com/
|
|
66
|
+
|
|
67
|
+
### 4. Claude Code Extension for VS Code
|
|
68
|
+
|
|
69
|
+
1. Open VS Code
|
|
70
|
+
2. Open Extensions panel (`Ctrl+Shift+X`)
|
|
71
|
+
3. Search for "Claude Code"
|
|
72
|
+
4. Click **Install**
|
|
73
|
+
|
|
74
|
+
Or via terminal:
|
|
75
|
+
```powershell
|
|
76
|
+
code --install-extension anthropic.claude-code
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### 5. MCP Servers (Recommended)
|
|
80
|
+
|
|
81
|
+
MCP servers enhance the development experience:
|
|
82
|
+
|
|
83
|
+
```powershell
|
|
84
|
+
# SmartStack MCP - Convention validation, scaffolding, API docs
|
|
85
|
+
claude mcp add smartstack
|
|
86
|
+
|
|
87
|
+
# Context7 MCP - Library documentation, code examples
|
|
88
|
+
claude mcp add context7
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
7
92
|
|
|
8
93
|
## Installation
|
|
9
94
|
|
|
10
|
-
|
|
11
|
-
|
|
95
|
+
### Step 1: Install the npm package
|
|
96
|
+
|
|
97
|
+
```powershell
|
|
12
98
|
npm install -g @atlashub/smartstack-cli
|
|
99
|
+
```
|
|
13
100
|
|
|
14
|
-
|
|
101
|
+
### Step 2: Install commands into Claude Code
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
15
104
|
smartstack install
|
|
105
|
+
```
|
|
16
106
|
|
|
17
|
-
|
|
107
|
+
Or with the short alias:
|
|
108
|
+
```powershell
|
|
18
109
|
ss install
|
|
19
110
|
```
|
|
20
111
|
|
|
21
|
-
|
|
112
|
+
### Step 3: Verify installation
|
|
113
|
+
|
|
114
|
+
```powershell
|
|
115
|
+
smartstack status --verbose
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Local Installation (project only)
|
|
119
|
+
|
|
120
|
+
If you prefer a project-scoped installation:
|
|
121
|
+
|
|
122
|
+
```powershell
|
|
123
|
+
cd C:\path\to\your\project
|
|
124
|
+
smartstack install --local
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Update
|
|
130
|
+
|
|
131
|
+
### Update SmartStack CLI
|
|
132
|
+
|
|
133
|
+
```powershell
|
|
134
|
+
# Automatic update (package + commands)
|
|
135
|
+
smartstack update
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Manual Update
|
|
139
|
+
|
|
140
|
+
```powershell
|
|
141
|
+
# 1. Update npm package
|
|
142
|
+
npm update -g @atlashub/smartstack-cli
|
|
143
|
+
|
|
144
|
+
# 2. Reinstall commands
|
|
145
|
+
smartstack install --force
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Check for available updates
|
|
149
|
+
|
|
150
|
+
```powershell
|
|
151
|
+
npm outdated -g @atlashub/smartstack-cli
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Project Creation
|
|
157
|
+
|
|
158
|
+
### Method 1: `smartstack init` command (Recommended)
|
|
159
|
+
|
|
160
|
+
The `smartstack init` command creates a complete SmartStack project with an interactive wizard.
|
|
161
|
+
|
|
162
|
+
#### Interactive creation
|
|
163
|
+
|
|
164
|
+
```powershell
|
|
165
|
+
smartstack init MyProject
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
The wizard will ask for:
|
|
169
|
+
1. **Project type**: Full Stack, Backend Only, or Frontend Only
|
|
170
|
+
2. **Database**: SQL Server, PostgreSQL, or SQLite
|
|
171
|
+
3. **Modules**: Auth, Navigation, AI, Notifications
|
|
172
|
+
|
|
173
|
+
#### Quick creation (default values)
|
|
174
|
+
|
|
175
|
+
```powershell
|
|
176
|
+
smartstack init MyProject -y
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
#### Available options
|
|
180
|
+
|
|
181
|
+
| Option | Description |
|
|
182
|
+
|--------|-------------|
|
|
183
|
+
| `--full-stack` | Backend .NET + Frontend React (default) |
|
|
184
|
+
| `--backend` | Backend .NET only |
|
|
185
|
+
| `--frontend` | Frontend React only |
|
|
186
|
+
| `--db <type>` | Database: `sqlserver`, `postgresql`, `sqlite` |
|
|
187
|
+
| `--dry-run` | Simulation without creating files |
|
|
188
|
+
| `--skip-mcp-check` | Skip MCP servers verification |
|
|
189
|
+
| `-y, --yes` | Use default values |
|
|
190
|
+
|
|
191
|
+
#### Examples
|
|
192
|
+
|
|
193
|
+
```powershell
|
|
194
|
+
# Full-stack project with SQL Server (default)
|
|
195
|
+
smartstack init MyApp
|
|
196
|
+
|
|
197
|
+
# Backend only with PostgreSQL
|
|
198
|
+
smartstack init MyApi --backend --db postgresql
|
|
199
|
+
|
|
200
|
+
# Frontend only
|
|
201
|
+
smartstack init MyFrontend --frontend
|
|
202
|
+
|
|
203
|
+
# Simulation (see what would be created)
|
|
204
|
+
smartstack init MyProject --dry-run
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
#### Created structure
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
MyProject/
|
|
211
|
+
├── src/
|
|
212
|
+
│ ├── MyProject.Domain/ # Entities and interfaces
|
|
213
|
+
│ ├── MyProject.Application/ # Services and DTOs
|
|
214
|
+
│ ├── MyProject.Infrastructure/ # EF Core, repositories
|
|
215
|
+
│ └── MyProject.Api/ # Controllers and configuration
|
|
216
|
+
├── web/
|
|
217
|
+
│ └── myproject-web/ # Frontend React + Vite
|
|
218
|
+
├── tests/
|
|
219
|
+
├── MyProject.sln
|
|
220
|
+
├── Directory.Build.props
|
|
221
|
+
├── .gitignore
|
|
222
|
+
└── README.md
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
#### After creation
|
|
226
|
+
|
|
227
|
+
```powershell
|
|
228
|
+
cd MyProject
|
|
229
|
+
|
|
230
|
+
# 1. Configure connection string in appsettings.json
|
|
231
|
+
|
|
232
|
+
# 2. Create initial migration
|
|
233
|
+
dotnet ef migrations add InitialCreate -p src/MyProject.Infrastructure -s src/MyProject.Api
|
|
234
|
+
|
|
235
|
+
# 3. Apply migration
|
|
236
|
+
dotnet ef database update -p src/MyProject.Infrastructure -s src/MyProject.Api
|
|
237
|
+
|
|
238
|
+
# 4. Run backend
|
|
239
|
+
dotnet run --project src/MyProject.Api
|
|
240
|
+
|
|
241
|
+
# 5. Run frontend (another terminal)
|
|
242
|
+
cd web/myproject-web
|
|
243
|
+
npm run dev
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Method 2: Initialize existing project with GitFlow
|
|
22
247
|
|
|
23
|
-
|
|
248
|
+
If you already have a project and want to add GitFlow:
|
|
249
|
+
|
|
250
|
+
```powershell
|
|
251
|
+
cd C:\Projects\MyExistingProject
|
|
252
|
+
code .
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
In VS Code with Claude Code active:
|
|
256
|
+
```
|
|
257
|
+
/gitflow:1-init
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## CLI Commands
|
|
263
|
+
|
|
264
|
+
All commands support the short alias `ss` (e.g., `ss install`, `ss status`).
|
|
265
|
+
|
|
266
|
+
### install
|
|
267
|
+
|
|
268
|
+
Install SmartStack commands, agents, and hooks.
|
|
269
|
+
|
|
270
|
+
```powershell
|
|
271
|
+
smartstack install [options]
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
| Option | Alias | Description |
|
|
275
|
+
|--------|-------|-------------|
|
|
276
|
+
| `--force` | `-f` | Overwrite existing files |
|
|
277
|
+
| `--global` | `-g` | Install to ~/.claude (default) |
|
|
278
|
+
| `--local` | `-l` | Install to ./.claude (project) |
|
|
279
|
+
| `--commands-only` | | Install only commands |
|
|
280
|
+
| `--agents-only` | | Install only agents |
|
|
281
|
+
| `--hooks-only` | | Install only hooks |
|
|
282
|
+
| `--no-config` | | Skip config file creation |
|
|
283
|
+
| `--no-plugins` | | Skip Claude Code plugin installation |
|
|
284
|
+
|
|
285
|
+
### uninstall
|
|
286
|
+
|
|
287
|
+
Remove SmartStack commands, agents, and hooks.
|
|
288
|
+
|
|
289
|
+
```powershell
|
|
290
|
+
smartstack uninstall [options]
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
| Option | Alias | Description |
|
|
294
|
+
|--------|-------|-------------|
|
|
295
|
+
| `--global` | `-g` | Uninstall from ~/.claude (default) |
|
|
296
|
+
| `--local` | `-l` | Uninstall from ./.claude |
|
|
297
|
+
| `--commands-only` | | Remove only commands |
|
|
298
|
+
| `--agents-only` | | Remove only agents |
|
|
299
|
+
| `--hooks-only` | | Remove only hooks |
|
|
300
|
+
| `--keep-config` | | Keep configuration file |
|
|
301
|
+
| `--yes` | `-y` | Skip confirmation prompt |
|
|
302
|
+
|
|
303
|
+
### status
|
|
304
|
+
|
|
305
|
+
Show installation status.
|
|
306
|
+
|
|
307
|
+
```powershell
|
|
308
|
+
smartstack status [options]
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
| Option | Alias | Description |
|
|
312
|
+
|--------|-------|-------------|
|
|
313
|
+
| `--global` | `-g` | Check ~/.claude (default) |
|
|
314
|
+
| `--local` | `-l` | Check ./.claude |
|
|
315
|
+
| `--verbose` | `-v` | Show detailed command list |
|
|
316
|
+
|
|
317
|
+
### update
|
|
318
|
+
|
|
319
|
+
Update commands to the latest version.
|
|
320
|
+
|
|
321
|
+
```powershell
|
|
322
|
+
smartstack update [options]
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
| Option | Alias | Description |
|
|
326
|
+
|--------|-------|-------------|
|
|
327
|
+
| `--global` | `-g` | Update ~/.claude (default) |
|
|
328
|
+
| `--local` | `-l` | Update ./.claude |
|
|
329
|
+
|
|
330
|
+
### init
|
|
331
|
+
|
|
332
|
+
Initialize a new SmartStack project.
|
|
333
|
+
|
|
334
|
+
```powershell
|
|
335
|
+
smartstack init <name> [options]
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
| Option | Alias | Description |
|
|
339
|
+
|--------|-------|-------------|
|
|
340
|
+
| `--full-stack` | | Backend + Frontend (default) |
|
|
341
|
+
| `--backend` | | Backend .NET only |
|
|
342
|
+
| `--frontend` | | Frontend React only |
|
|
343
|
+
| `--db <type>` | | Database: sqlserver, postgresql, sqlite |
|
|
344
|
+
| `--dry-run` | | Show what would be created |
|
|
345
|
+
| `--yes` | `-y` | Skip prompts, use defaults |
|
|
346
|
+
| `--skip-mcp-check` | | Skip MCP servers check |
|
|
347
|
+
|
|
348
|
+
### docs
|
|
349
|
+
|
|
350
|
+
Open SmartStack documentation in browser.
|
|
351
|
+
|
|
352
|
+
```powershell
|
|
353
|
+
smartstack docs [page] [options]
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
| Option | Alias | Description |
|
|
357
|
+
|--------|-------|-------------|
|
|
358
|
+
| `--list` | `-l` | List available documentation pages |
|
|
359
|
+
|
|
360
|
+
**Available pages:**
|
|
361
|
+
- `index` - Home page
|
|
362
|
+
- `installation` - Installation guide
|
|
363
|
+
- `commands` - Commands reference
|
|
364
|
+
- `agents` - Agents documentation
|
|
365
|
+
- `apex` - APEX methodology
|
|
366
|
+
- `business-analyse` - Business Analysis workflow
|
|
367
|
+
- `gitflow` - GitFlow workflow
|
|
368
|
+
- `efcore` - EF Core migrations
|
|
369
|
+
- `hooks` - Hooks configuration
|
|
370
|
+
- `test-web` - Web testing
|
|
371
|
+
|
|
372
|
+
**Examples:**
|
|
373
|
+
```powershell
|
|
374
|
+
smartstack docs # Open home page
|
|
375
|
+
smartstack docs gitflow # Open GitFlow documentation
|
|
376
|
+
smartstack docs --list # List all available pages
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### license
|
|
380
|
+
|
|
381
|
+
Manage SmartStack CLI license.
|
|
382
|
+
|
|
383
|
+
```powershell
|
|
384
|
+
smartstack license <command> [options]
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
| Command | Description |
|
|
388
|
+
|---------|-------------|
|
|
389
|
+
| `activate <key>` | Activate a license key |
|
|
390
|
+
| `status` | Show current license status |
|
|
391
|
+
| `deactivate` | Remove the current license |
|
|
392
|
+
| `verify <key>` | Verify a license key without activating |
|
|
393
|
+
|
|
394
|
+
**Examples:**
|
|
395
|
+
```powershell
|
|
396
|
+
smartstack license activate ABC123-DEF456 # Activate license
|
|
397
|
+
smartstack license status # Check license status
|
|
398
|
+
smartstack license deactivate # Remove license
|
|
399
|
+
smartstack license verify ABC123-DEF456 # Verify without activating
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
## Claude Code Commands
|
|
24
405
|
|
|
25
406
|
### GitFlow Workflow
|
|
26
407
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
408
|
+
| Command | Description |
|
|
409
|
+
|---------|-------------|
|
|
410
|
+
| `/gitflow` | Full GitFlow workflow |
|
|
411
|
+
| `/gitflow:1-init` | Initialize GitFlow structure |
|
|
412
|
+
| `/gitflow:2-status` | Show repository status |
|
|
413
|
+
| `/gitflow:3-commit` | Smart commit with validation |
|
|
414
|
+
| `/gitflow:4-plan` | Create integration plan |
|
|
415
|
+
| `/gitflow:5-exec` | Execute integration plan |
|
|
416
|
+
| `/gitflow:6-abort` | Rollback operations |
|
|
417
|
+
| `/gitflow:10-start` | Start feature/release/hotfix |
|
|
418
|
+
| `/gitflow:11-finish` | Finish and tag |
|
|
419
|
+
| `/gitflow:12-cleanup` | Cleanup worktrees |
|
|
420
|
+
| `/gitflow:13-sync` | Sync with remote |
|
|
421
|
+
| `/gitflow:14-rebase` | Rebase on develop |
|
|
422
|
+
| `/gitflow:7-pull-request` | Create a Pull Request |
|
|
423
|
+
| `/gitflow:8-review` | Review a PR |
|
|
424
|
+
| `/gitflow:9-merge` | Merge a PR |
|
|
40
425
|
|
|
41
426
|
### Development Methodologies
|
|
42
427
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
428
|
+
| Command | Description |
|
|
429
|
+
|---------|-------------|
|
|
430
|
+
| `/apex` | APEX methodology (Analyze-Plan-Execute-eXamine) |
|
|
431
|
+
| `/epct` | Explore-Plan-Code-Test methodology |
|
|
432
|
+
| `/oneshot` | Ultra-fast implementation |
|
|
433
|
+
| `/debug` | Systematic debugging |
|
|
434
|
+
| `/explore` | Deep codebase exploration |
|
|
435
|
+
| `/explain` | Code explanation with diagrams |
|
|
436
|
+
| `/review` | Quick code review |
|
|
437
|
+
| `/implement` | Implementation from BA handoff |
|
|
51
438
|
|
|
52
439
|
### Business Analysis
|
|
53
440
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
441
|
+
| Command | Description |
|
|
442
|
+
|---------|-------------|
|
|
443
|
+
| `/business-analyse` | Full BA workflow with orchestration |
|
|
444
|
+
| `/business-analyse:1-init` | Initialize BA structure |
|
|
445
|
+
| `/business-analyse:2-discover` | Requirements elicitation |
|
|
446
|
+
| `/business-analyse:3-analyse` | Business analysis (BRD) |
|
|
447
|
+
| `/business-analyse:4-specify` | Functional specification (FRD) |
|
|
448
|
+
| `/business-analyse:5-validate` | User validation gate |
|
|
449
|
+
| `/business-analyse:6-handoff` | Implementation brief |
|
|
450
|
+
| `/business-analyse:7-doc-html` | Auto-generated HTML documentation |
|
|
451
|
+
| `/business-analyse:bug` | Bug resolution documentation |
|
|
452
|
+
| `/business-analyse:change-request` | Change request during development |
|
|
64
453
|
|
|
65
454
|
### EF Core Migrations
|
|
66
455
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
456
|
+
| Command | Description |
|
|
457
|
+
|---------|-------------|
|
|
458
|
+
| `/efcore` | EF Core orchestrator |
|
|
459
|
+
| `/efcore:migration` | Create/recreate migration |
|
|
460
|
+
| `/efcore:db-status` | Show migration status |
|
|
461
|
+
| `/efcore:db-deploy` | Apply migrations |
|
|
462
|
+
| `/efcore:db-seed` | Seed database |
|
|
463
|
+
| `/efcore:db-reset` | Reset database |
|
|
464
|
+
| `/efcore:scan` | Scan migrations across branches |
|
|
465
|
+
| `/efcore:conflicts` | Detect conflicts |
|
|
466
|
+
| `/efcore:rebase-snapshot` | Rebase ModelSnapshot |
|
|
467
|
+
| `/efcore:squash` | Squash multiple migrations |
|
|
77
468
|
|
|
78
469
|
### Prompts & Tools
|
|
79
470
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
471
|
+
| Command | Description |
|
|
472
|
+
|---------|-------------|
|
|
473
|
+
| `/prompts:create` | Expert prompt creation |
|
|
474
|
+
| `/prompts:agent` | Agent prompt optimization |
|
|
475
|
+
| `/prompts:command` | Command prompt patterns |
|
|
476
|
+
| `/prompts:claude-memory` | CLAUDE.md file management |
|
|
84
477
|
|
|
85
|
-
### Ralph Loop
|
|
478
|
+
### Ralph Loop
|
|
86
479
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
480
|
+
| Command | Description |
|
|
481
|
+
|---------|-------------|
|
|
482
|
+
| `/ralph-loop` | Start autonomous Ralph Loop session |
|
|
483
|
+
| `/ralph-loop:cancel-ralph` | Cancel active Ralph Loop |
|
|
484
|
+
| `/ralph-loop:help` | Ralph Loop documentation |
|
|
90
485
|
|
|
91
486
|
### Quick Search
|
|
92
487
|
|
|
93
|
-
|
|
488
|
+
| Command | Description |
|
|
489
|
+
|---------|-------------|
|
|
490
|
+
| `/quick-search` | Lightning-fast codebase search |
|
|
94
491
|
|
|
95
|
-
|
|
492
|
+
---
|
|
96
493
|
|
|
97
|
-
|
|
98
|
-
# Install commands globally
|
|
99
|
-
smartstack install
|
|
100
|
-
ss install # Short alias
|
|
494
|
+
## VS Code Configuration
|
|
101
495
|
|
|
102
|
-
|
|
103
|
-
|
|
496
|
+
### Recommended settings
|
|
497
|
+
|
|
498
|
+
Add to `.vscode/settings.json`:
|
|
499
|
+
|
|
500
|
+
```json
|
|
501
|
+
{
|
|
502
|
+
"claude-code.enableSmartStack": true,
|
|
503
|
+
"files.associations": {
|
|
504
|
+
"*.md": "markdown"
|
|
505
|
+
},
|
|
506
|
+
"editor.formatOnSave": true
|
|
507
|
+
}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
### Useful keyboard shortcuts
|
|
104
511
|
|
|
105
|
-
|
|
106
|
-
|
|
512
|
+
| Shortcut | Action |
|
|
513
|
+
|----------|--------|
|
|
514
|
+
| `Ctrl+Shift+P` | Command palette |
|
|
515
|
+
| `Ctrl+Shift+C` | Open Claude Code |
|
|
516
|
+
| `Ctrl+ù` | Integrated terminal |
|
|
517
|
+
|
|
518
|
+
---
|
|
519
|
+
|
|
520
|
+
## Troubleshooting
|
|
521
|
+
|
|
522
|
+
### "smartstack" is not recognized
|
|
523
|
+
|
|
524
|
+
**Cause:** npm global is not in PATH.
|
|
525
|
+
|
|
526
|
+
**Solution:**
|
|
527
|
+
```powershell
|
|
528
|
+
# Find npm global path
|
|
529
|
+
npm config get prefix
|
|
530
|
+
|
|
531
|
+
# Add to PATH (replace with your path)
|
|
532
|
+
$env:Path += ";C:\Users\YourName\AppData\Roaming\npm"
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
### Permission error
|
|
536
|
+
|
|
537
|
+
**Solution:** Run PowerShell as administrator, then:
|
|
538
|
+
```powershell
|
|
539
|
+
npm install -g @atlashub/smartstack-cli
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
### Commands don't appear in Claude Code
|
|
543
|
+
|
|
544
|
+
```powershell
|
|
545
|
+
# Reinstall with force
|
|
546
|
+
smartstack install --force
|
|
547
|
+
|
|
548
|
+
# Check status
|
|
107
549
|
smartstack status --verbose
|
|
550
|
+
```
|
|
108
551
|
|
|
109
|
-
|
|
110
|
-
smartstack update
|
|
552
|
+
### "MCP servers missing" error during `smartstack init`
|
|
111
553
|
|
|
554
|
+
**Solution:** Install required MCP servers:
|
|
555
|
+
```powershell
|
|
556
|
+
claude mcp add smartstack
|
|
557
|
+
claude mcp add context7
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
Or skip verification:
|
|
561
|
+
```powershell
|
|
562
|
+
smartstack init MyProject --skip-mcp-check
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
### Complete reinstallation
|
|
566
|
+
|
|
567
|
+
```powershell
|
|
112
568
|
# Uninstall
|
|
113
569
|
smartstack uninstall
|
|
114
|
-
|
|
570
|
+
npm uninstall -g @atlashub/smartstack-cli
|
|
115
571
|
|
|
116
|
-
|
|
572
|
+
# Reinstall
|
|
573
|
+
npm install -g @atlashub/smartstack-cli
|
|
574
|
+
smartstack install
|
|
575
|
+
```
|
|
117
576
|
|
|
118
|
-
|
|
119
|
-
- **License Generator**: New license protection system for commercial features
|
|
120
|
-
- **Documentation Overhaul**: Redesigned BA workflow diagrams, improved SVG rendering
|
|
121
|
-
- **Prompts System**: New prompt creation and optimization tools
|
|
122
|
-
- **Quick Search**: Lightning-fast codebase exploration
|
|
577
|
+
---
|
|
123
578
|
|
|
124
|
-
##
|
|
579
|
+
## Resources
|
|
125
580
|
|
|
126
|
-
|
|
581
|
+
- [Official Website](https://smartstack.app)
|
|
582
|
+
- [SmartStack Documentation](https://docs.smartstack.app)
|
|
127
583
|
- [GitFlow Documentation](.documentation/gitflow.html)
|
|
128
584
|
- [Business Analysis Documentation](.documentation/business-analyse.html)
|
|
129
585
|
|
|
586
|
+
---
|
|
587
|
+
|
|
588
|
+
## About AtlasHub
|
|
589
|
+
|
|
590
|
+
**[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.
|
|
591
|
+
|
|
592
|
+
**Need help?** Contact us at [support@atlashub.ch](mailto:support@atlashub.ch)
|
|
593
|
+
|
|
594
|
+
## Development
|
|
595
|
+
|
|
596
|
+
### Publishing
|
|
597
|
+
|
|
598
|
+
> **INTERDICTION DE PUBLIER MANUELLEMENT SUR NPM**
|
|
599
|
+
>
|
|
600
|
+
> La publication sur npm est **automatique** via Azure Pipelines.
|
|
601
|
+
> Ne jamais exécuter `npm publish` manuellement.
|
|
602
|
+
>
|
|
603
|
+
> **Workflow:**
|
|
604
|
+
> 1. Créer une release avec `/gitflow:10-start release`
|
|
605
|
+
> 2. Finaliser avec `/gitflow:11-finish`
|
|
606
|
+
> 3. Le tag déclenche automatiquement le pipeline de publication
|
|
607
|
+
|
|
130
608
|
## License
|
|
131
609
|
|
|
132
|
-
MIT
|
|
610
|
+
MIT - Free for personal and commercial use.
|