@atlashub/smartstack-cli 2.9.0 → 3.0.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/business-analyse.html +81 -17
- package/dist/mcp-entry.mjs +1302 -223
- package/dist/mcp-entry.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/agents/efcore/db-deploy.md +1 -1
- package/templates/agents/efcore/migration.md +26 -10
- package/templates/agents/efcore/rebase-snapshot.md +24 -7
- package/templates/agents/efcore/squash.md +73 -57
- package/templates/agents/gitflow/commit.md +138 -18
- package/templates/agents/gitflow/exec.md +1 -1
- package/templates/agents/gitflow/finish.md +79 -62
- package/templates/agents/gitflow/init-clone.md +186 -0
- package/templates/agents/gitflow/init-detect.md +137 -0
- package/templates/agents/gitflow/init-validate.md +210 -0
- package/templates/agents/gitflow/init.md +231 -74
- package/templates/agents/gitflow/merge.md +65 -33
- package/templates/agents/gitflow/pr.md +93 -49
- package/templates/agents/gitflow/start.md +76 -33
- package/templates/agents/gitflow/status.md +41 -71
- package/templates/hooks/appsettings-guard.sh +76 -0
- package/templates/hooks/ef-migration-check.md +1 -1
- package/templates/hooks/hooks.json +9 -0
- package/templates/project/test-frontend/msw/handlers.ts +58 -0
- package/templates/project/test-frontend/msw/server.ts +25 -0
- package/templates/project/test-frontend/setup.ts +16 -0
- package/templates/project/test-frontend/test-utils.tsx +59 -0
- package/templates/project/test-frontend/vitest.config.ts +31 -0
- package/templates/skills/_resources/config-safety.md +61 -0
- package/templates/skills/_resources/formatting-guide.md +2 -2
- package/templates/skills/application/SKILL.md +12 -3
- package/templates/skills/application/steps/step-04-backend.md +21 -0
- package/templates/skills/application/steps/step-07-tests.md +259 -120
- package/templates/skills/business-analyse/SKILL.md +57 -28
- package/templates/skills/business-analyse/_shared.md +70 -39
- package/templates/skills/business-analyse/html/ba-interactive.html +2622 -0
- package/templates/skills/business-analyse/questionnaire/00-application.md +123 -131
- package/templates/skills/business-analyse/questionnaire/01-context.md +173 -24
- package/templates/skills/business-analyse/questionnaire/02-stakeholders.md +170 -50
- package/templates/skills/business-analyse/questionnaire/03-scope.md +154 -48
- package/templates/skills/business-analyse/questionnaire/10-documentation.md +1 -1
- package/templates/skills/business-analyse/questionnaire/14-risk-assumptions.md +135 -0
- package/templates/skills/business-analyse/questionnaire/15-success-metrics.md +136 -0
- package/templates/skills/business-analyse/questionnaire.md +55 -46
- package/templates/skills/business-analyse/steps/step-00-init.md +24 -2
- package/templates/skills/business-analyse/steps/step-01-cadrage.md +31 -20
- package/templates/skills/business-analyse/steps/step-03-specify.md +1 -0
- package/templates/skills/business-analyse/steps/step-05-handoff.md +103 -1
- package/templates/skills/business-analyse/steps/step-06-extract.md +518 -0
- package/templates/skills/check-version/SKILL.md +1 -1
- package/templates/skills/efcore/steps/db/step-deploy.md +22 -3
- package/templates/skills/efcore/steps/db/step-reset.md +27 -4
- package/templates/skills/efcore/steps/db/step-seed.md +46 -2
- package/templates/skills/efcore/steps/db/step-status.md +14 -0
- package/templates/skills/efcore/steps/migration/step-01-check.md +31 -5
- package/templates/skills/efcore/steps/migration/step-02-create.md +20 -4
- package/templates/skills/efcore/steps/rebase-snapshot/step-03-create.md +60 -0
- package/templates/skills/efcore/steps/shared/step-00-init.md +47 -8
- package/templates/skills/efcore/steps/squash/step-03-create.md +27 -5
- package/templates/skills/gitflow/SKILL.md +91 -29
- package/templates/skills/gitflow/_shared.md +144 -2
- package/templates/skills/gitflow/phases/status.md +11 -1
- package/templates/skills/gitflow/steps/step-commit.md +1 -1
- package/templates/skills/gitflow/steps/step-init.md +202 -39
- package/templates/skills/gitflow/templates/config.json +10 -1
- package/templates/skills/ralph-loop/steps/step-03-commit.md +2 -2
- package/templates/skills/validate-feature/SKILL.md +83 -0
- package/templates/skills/validate-feature/steps/step-01-compile.md +38 -0
- package/templates/skills/validate-feature/steps/step-02-unit-tests.md +45 -0
- package/templates/skills/validate-feature/steps/step-03-integration-tests.md +53 -0
- package/templates/skills/validate-feature/steps/step-04-api-smoke.md +157 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<header class="global-header">
|
|
13
13
|
<div class="logo">SS</div>
|
|
14
14
|
<span class="site-title">SmartStack CLI</span>
|
|
15
|
-
<span class="version-badge">
|
|
15
|
+
<span class="version-badge">v6.0.0</span>
|
|
16
16
|
<div class="header-divider"></div>
|
|
17
17
|
<span class="page-title">Business Analyse</span>
|
|
18
18
|
<nav class="breadcrumb">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<span data-lang="fr">Workflows</span>
|
|
25
25
|
<span data-lang="en">Workflows</span>
|
|
26
26
|
<span class="breadcrumb-separator">›</span>
|
|
27
|
-
<span class="breadcrumb-current">Business Analyse
|
|
27
|
+
<span class="breadcrumb-current">Business Analyse v6.0</span>
|
|
28
28
|
</nav>
|
|
29
29
|
<!-- Language Select -->
|
|
30
30
|
<select class="lang-select" id="lang-select" onchange="setLanguage(this.value); localStorage.setItem('doc-language', this.value);">
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
</a>
|
|
100
100
|
<a href="#quick-start" class="sidebar-toc-link">Quick Start</a>
|
|
101
101
|
<a href="#use-cases" class="sidebar-toc-link">
|
|
102
|
-
<span data-lang="fr">
|
|
103
|
-
<span data-lang="en">
|
|
102
|
+
<span data-lang="fr">5 Cas d'usage</span>
|
|
103
|
+
<span data-lang="en">5 Use Cases</span>
|
|
104
104
|
</a>
|
|
105
105
|
<a href="#flags" class="sidebar-toc-link">
|
|
106
106
|
<span data-lang="fr">Flags & Modes</span>
|
|
@@ -169,14 +169,14 @@
|
|
|
169
169
|
<section id="introduction">
|
|
170
170
|
<h2>Introduction</h2>
|
|
171
171
|
<p data-lang="fr">
|
|
172
|
-
Le skill <strong>Business Analyse
|
|
172
|
+
Le skill <strong>Business Analyse v6.0</strong> est un workflow en <strong>7 etapes</strong> qui transforme un besoin utilisateur en specification fonctionnelle complete avec support iteratif multi-module. La v6.0 ajoute un document HTML interactif pour la revue client et un pipeline d'extraction (<code>-x</code>) pour re-importer les modifications.
|
|
173
173
|
</p>
|
|
174
174
|
<p data-lang="en">
|
|
175
|
-
The <strong>Business Analyse
|
|
175
|
+
The <strong>Business Analyse v6.0</strong> skill is a <strong>7-step</strong> workflow that transforms a user need into a complete functional specification with iterative multi-module support. v6.0 adds an interactive HTML document for client review and an extraction pipeline (<code>-x</code>) to re-import modifications.
|
|
176
176
|
</p>
|
|
177
177
|
|
|
178
|
-
<h4 data-lang="fr">
|
|
179
|
-
<h4 data-lang="en">
|
|
178
|
+
<h4 data-lang="fr">7 Etapes du workflow</h4>
|
|
179
|
+
<h4 data-lang="en">7 Workflow Steps</h4>
|
|
180
180
|
<ol class="steps-list">
|
|
181
181
|
<li>
|
|
182
182
|
<strong>Init</strong> - Detecte le mode (application vs module), cree feature.json initial
|
|
@@ -194,7 +194,10 @@
|
|
|
194
194
|
<strong>Consolidation</strong> - Validation cross-module, coherence des permissions et entites partagees
|
|
195
195
|
</li>
|
|
196
196
|
<li>
|
|
197
|
-
<strong>Handoff</strong> - Mapping des fichiers par module, extraction programmatique prd.json via <code>ss derive-prd</code
|
|
197
|
+
<strong>Handoff</strong> - Mapping des fichiers par module, extraction programmatique prd.json via <code>ss derive-prd</code>, deploiement HTML interactif
|
|
198
|
+
</li>
|
|
199
|
+
<li>
|
|
200
|
+
<strong>Extract</strong> - Import depuis l'export JSON du HTML interactif (<code>-x</code>), mapping vers feature.json
|
|
198
201
|
</li>
|
|
199
202
|
</ol>
|
|
200
203
|
|
|
@@ -267,10 +270,10 @@ Exemple:
|
|
|
267
270
|
</h2>
|
|
268
271
|
|
|
269
272
|
<p data-lang="fr">
|
|
270
|
-
La
|
|
273
|
+
La v6.0 utilise une hierarchie 5 niveaux pour naviguer les applications multi-modules. Deux fichiers JSON (master application + per-module) garantissent la tracabilite et la coherence cross-module.
|
|
271
274
|
</p>
|
|
272
275
|
<p data-lang="en">
|
|
273
|
-
|
|
276
|
+
v6.0 uses a 5-level hierarchy to navigate multi-module applications. Two JSON files (master application + per-module) ensure traceability and cross-module coherence.
|
|
274
277
|
</p>
|
|
275
278
|
|
|
276
279
|
<h4 data-lang="fr">Structure de repertoires</h4>
|
|
@@ -411,7 +414,10 @@ Exemple:
|
|
|
411
414
|
/business-analyse -r FEAT-001 "Add return management module"
|
|
412
415
|
|
|
413
416
|
# Micro-feature (analyse minimale)
|
|
414
|
-
/business-analyse -m Add a status field to orders
|
|
417
|
+
/business-analyse -m Add a status field to orders
|
|
418
|
+
|
|
419
|
+
# Extract depuis HTML interactif
|
|
420
|
+
/business-analyse -x ./docs/business/MyApp/ba-export.json</code></pre>
|
|
415
421
|
</div>
|
|
416
422
|
</div>
|
|
417
423
|
</div>
|
|
@@ -422,8 +428,8 @@ Exemple:
|
|
|
422
428
|
<!-- ============================================ -->
|
|
423
429
|
<section id="use-cases">
|
|
424
430
|
<h2>
|
|
425
|
-
<span data-lang="fr">
|
|
426
|
-
<span data-lang="en">
|
|
431
|
+
<span data-lang="fr">5 Cas d'usage</span>
|
|
432
|
+
<span data-lang="en">5 Use Cases</span>
|
|
427
433
|
</h2>
|
|
428
434
|
|
|
429
435
|
<div class="table-container">
|
|
@@ -470,6 +476,12 @@ Exemple:
|
|
|
470
476
|
<td><span data-lang="fr">module simple</span><span data-lang="en">simple module</span></td>
|
|
471
477
|
<td>00 (micro) → 01 (lite) → 02 (skip) → 03 (minimal) → 04 (auto) → 05</td>
|
|
472
478
|
</tr>
|
|
479
|
+
<tr>
|
|
480
|
+
<td><strong>Extract</strong></td>
|
|
481
|
+
<td><code>-x</code></td>
|
|
482
|
+
<td><span data-lang="fr">import HTML interactif</span><span data-lang="en">interactive HTML import</span></td>
|
|
483
|
+
<td>00 → 06 (extract) → <span data-lang="fr">choix</span><span data-lang="en">choice</span> (01 | 05 | EXIT)</td>
|
|
484
|
+
</tr>
|
|
473
485
|
</tbody>
|
|
474
486
|
</table>
|
|
475
487
|
</div>
|
|
@@ -521,6 +533,14 @@ Exemple:
|
|
|
521
533
|
</td>
|
|
522
534
|
<td>false</td>
|
|
523
535
|
</tr>
|
|
536
|
+
<tr>
|
|
537
|
+
<td><code>-x, --extract</code></td>
|
|
538
|
+
<td>
|
|
539
|
+
<span data-lang="fr">Importer depuis l'export JSON du HTML interactif</span>
|
|
540
|
+
<span data-lang="en">Import from interactive HTML JSON export</span>
|
|
541
|
+
</td>
|
|
542
|
+
<td>false</td>
|
|
543
|
+
</tr>
|
|
524
544
|
<tr>
|
|
525
545
|
<td><code>--economy-mode</code></td>
|
|
526
546
|
<td>
|
|
@@ -546,13 +566,13 @@ Exemple:
|
|
|
546
566
|
<!-- WORKFLOW (6 STEPS) -->
|
|
547
567
|
<!-- ============================================ -->
|
|
548
568
|
<section id="workflow">
|
|
549
|
-
<h2>Workflow (
|
|
569
|
+
<h2>Workflow (7 Etapes)</h2>
|
|
550
570
|
|
|
551
571
|
<p data-lang="fr">
|
|
552
|
-
Le workflow
|
|
572
|
+
Le workflow v6.0 combine decouverte, decomposition, specification iterative et consolidation cross-module. Chaque etape enrichit progressivement le feature.json.
|
|
553
573
|
</p>
|
|
554
574
|
<p data-lang="en">
|
|
555
|
-
The
|
|
575
|
+
The v6.0 workflow combines discovery, decomposition, iterative specification and cross-module consolidation. Each step progressively enriches the feature.json.
|
|
556
576
|
</p>
|
|
557
577
|
</section>
|
|
558
578
|
|
|
@@ -849,6 +869,16 @@ Exemple:
|
|
|
849
869
|
}</code></pre>
|
|
850
870
|
</div>
|
|
851
871
|
|
|
872
|
+
<h4 data-lang="fr">Document HTML interactif</h4>
|
|
873
|
+
<h4 data-lang="en">Interactive HTML Document</h4>
|
|
874
|
+
|
|
875
|
+
<p data-lang="fr">
|
|
876
|
+
A l'etape de handoff, un document HTML interactif (<code>ba-interactive.html</code>) est deploye dans le repertoire du projet. Ce document permet au client de consulter, modifier et enrichir l'analyse metier directement dans son navigateur, sans serveur. Les modifications peuvent etre re-importees via <code>/business-analyse -x <json-path></code>.
|
|
877
|
+
</p>
|
|
878
|
+
<p data-lang="en">
|
|
879
|
+
At the handoff step, an interactive HTML document (<code>ba-interactive.html</code>) is deployed to the project directory. This document allows the client to review, edit and enrich the business analysis directly in their browser, without a server. Modifications can be re-imported via <code>/business-analyse -x <json-path></code>.
|
|
880
|
+
</p>
|
|
881
|
+
|
|
852
882
|
<h4 data-lang="fr">Verification post-handoff</h4>
|
|
853
883
|
<h4 data-lang="en">Post-Handoff Verification</h4>
|
|
854
884
|
|
|
@@ -861,9 +891,42 @@ Exemple:
|
|
|
861
891
|
<li data-lang="en">Extract prd.json via <code>ss derive-prd</code></li>
|
|
862
892
|
<li data-lang="fr">Generer progress.txt tracker</li>
|
|
863
893
|
<li data-lang="en">Generate progress.txt tracker</li>
|
|
894
|
+
<li data-lang="fr">Deployer ba-interactive.html avec placeholders remplaces</li>
|
|
895
|
+
<li data-lang="en">Deploy ba-interactive.html with placeholders replaced</li>
|
|
864
896
|
</ul>
|
|
865
897
|
</section>
|
|
866
898
|
|
|
899
|
+
<!-- ============================================ -->
|
|
900
|
+
<!-- STEP 06 - EXTRACT -->
|
|
901
|
+
<!-- ============================================ -->
|
|
902
|
+
<section id="step-06">
|
|
903
|
+
<h3>06. Extract</h3>
|
|
904
|
+
|
|
905
|
+
<p data-lang="fr">
|
|
906
|
+
Importe les donnees depuis l'export JSON du document HTML interactif (<code>ba-interactive.html</code>) et les transforme en feature.json. Cette etape est declenchee par le flag <code>-x</code>.
|
|
907
|
+
</p>
|
|
908
|
+
<p data-lang="en">
|
|
909
|
+
Imports data from the interactive HTML document's JSON export (<code>ba-interactive.html</code>) and transforms it into feature.json. This step is triggered by the <code>-x</code> flag.
|
|
910
|
+
</p>
|
|
911
|
+
|
|
912
|
+
<h4 data-lang="fr">Principe</h4>
|
|
913
|
+
<h4 data-lang="en">Principle</h4>
|
|
914
|
+
|
|
915
|
+
<ul>
|
|
916
|
+
<li data-lang="fr">Zero perte d'information : chaque champ du JSON exporte est mappe vers feature.json</li>
|
|
917
|
+
<li data-lang="en">Zero information loss: every field from the exported JSON is mapped to feature.json</li>
|
|
918
|
+
<li data-lang="fr">Mapping deterministe : cadrage, modules, specifications, consolidation</li>
|
|
919
|
+
<li data-lang="en">Deterministic mapping: cadrage, modules, specifications, consolidation</li>
|
|
920
|
+
<li data-lang="fr">Post-extraction : choix entre enrichir (step-01), handoff (step-05), ou terminer</li>
|
|
921
|
+
<li data-lang="en">Post-extraction: choice between enrichment (step-01), handoff (step-05), or terminate</li>
|
|
922
|
+
</ul>
|
|
923
|
+
|
|
924
|
+
<div class="code-block">
|
|
925
|
+
<button class="copy-btn">Copy</button>
|
|
926
|
+
<pre><code>/business-analyse -x ./docs/business/MyApp/ba-export.json</code></pre>
|
|
927
|
+
</div>
|
|
928
|
+
</section>
|
|
929
|
+
|
|
867
930
|
<!-- ============================================ -->
|
|
868
931
|
<!-- SCHEMAS -->
|
|
869
932
|
<!-- ============================================ -->
|
|
@@ -1065,6 +1128,7 @@ Module: "Checkout"
|
|
|
1065
1128
|
<pre><code>docs/business/{app}/business-analyse/
|
|
1066
1129
|
├── v1.0/
|
|
1067
1130
|
│ ├── feature.json ← Master application spec
|
|
1131
|
+
│ ├── ba-interactive.html ← Interactive client review document
|
|
1068
1132
|
│ └── README.md ← Overview
|
|
1069
1133
|
├── checkout/v1.0/
|
|
1070
1134
|
│ ├── feature.json ← Module spec
|