@atlashub/smartstack-cli 2.5.2 → 2.6.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.
Files changed (44) hide show
  1. package/.documentation/business-analyse.html +4 -4
  2. package/.documentation/commands.html +2 -2
  3. package/.documentation/index.html +2 -2
  4. package/.documentation/js/app.js +2 -2
  5. package/dist/index.js +5 -5
  6. package/dist/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/templates/mcp-scaffolding/component.tsx.hbs +14 -14
  9. package/templates/mcp-scaffolding/controller.cs.hbs +6 -5
  10. package/templates/skills/_resources/docs-manifest-schema.md +3 -3
  11. package/templates/skills/_resources/mcp-validate-documentation-spec.md +6 -6
  12. package/templates/skills/apex/steps/step-04b-doc-sync.md +4 -4
  13. package/templates/skills/apex/steps/step-05-examine.md +1 -1
  14. package/templates/skills/apex/templates/04b-doc-sync.md +1 -1
  15. package/templates/skills/application/SKILL.md +33 -16
  16. package/templates/skills/application/steps/step-00-init.md +86 -3
  17. package/templates/skills/application/steps/step-01-navigation.md +34 -0
  18. package/templates/skills/application/steps/step-02-permissions.md +37 -0
  19. package/templates/skills/application/steps/step-03-roles.md +23 -2
  20. package/templates/skills/application/steps/step-03b-provider.md +251 -0
  21. package/templates/skills/application/steps/step-04-backend.md +75 -0
  22. package/templates/skills/application/steps/step-05-frontend.md +149 -10
  23. package/templates/skills/application/steps/step-06-migration.md +27 -15
  24. package/templates/skills/application/steps/step-07-tests.md +404 -0
  25. package/templates/skills/application/steps/step-08-documentation.md +137 -0
  26. package/templates/skills/application/templates-frontend.md +133 -26
  27. package/templates/skills/application/templates-seed.md +116 -0
  28. package/templates/skills/business-analyse/SKILL.md +1 -1
  29. package/templates/skills/business-analyse/questionnaire/07-ui.md +15 -0
  30. package/templates/skills/business-analyse/questionnaire/10-documentation.md +2 -2
  31. package/templates/skills/business-analyse/schemas/feature-schema.json +96 -7
  32. package/templates/skills/business-analyse/steps/step-03-specify.md +134 -5
  33. package/templates/skills/business-analyse/steps/step-05-handoff.md +61 -8
  34. package/templates/skills/business-analyse/templates/tpl-frd.md +1 -1
  35. package/templates/skills/business-analyse/templates-frd.md +8 -8
  36. package/templates/skills/business-analyse/templates-react.md +26 -26
  37. package/templates/skills/documentation/SKILL.md +6 -6
  38. package/templates/skills/documentation/data-schema.md +70 -44
  39. package/templates/skills/documentation/templates.md +6 -6
  40. package/templates/skills/ralph-loop/SKILL.md +1 -2
  41. package/templates/skills/ralph-loop/steps/step-01-task.md +1 -1
  42. package/templates/skills/ui-components/SKILL.md +33 -2
  43. package/templates/skills/ui-components/patterns/dashboard-chart.md +327 -0
  44. package/templates/skills/ui-components/style-guide.md +27 -0
@@ -633,7 +633,7 @@ default → step-00 → step-01 (full) →
633
633
  <rect x="0" y="0" width="130" height="80" rx="10" fill="url(#specifyGrad)"/>
634
634
  <text x="65" y="25" text-anchor="middle" fill="white" font-size="10" font-weight="700">STEP 02</text>
635
635
  <text x="65" y="42" text-anchor="middle" fill="white" font-size="13" font-weight="600">Specify</text>
636
- <text x="65" y="60" text-anchor="middle" fill="rgba(255,255,255,0.6)" font-size="9">Use cases, FRD</text>
636
+ <text x="65" y="60" text-anchor="middle" fill="rgba(255,255,255,0.6)" font-size="9">Use cases, Specs</text>
637
637
  <text x="65" y="72" text-anchor="middle" fill="rgba(255,255,255,0.6)" font-size="9">Permissions, Gherkin</text>
638
638
  </g>
639
639
 
@@ -788,10 +788,10 @@ default &rarr; step-00 &rarr; step-01 (full) &rarr;
788
788
  </div>
789
789
  <div class="command-body">
790
790
  <p data-lang="fr">
791
- <strong>Mission :</strong> Decouverte fusionnee + analyse metier (BRD). Exploration du codebase, questionnaire progressif, regles metier, entites, suggestions proactives.
791
+ <strong>Mission :</strong> Decouverte fusionnee + analyse metier. Exploration du codebase, questionnaire progressif, regles metier, entites, suggestions proactives.
792
792
  </p>
793
793
  <p data-lang="en">
794
- <strong>Mission:</strong> Merged discovery + business analysis (BRD). Codebase exploration, progressive questionnaire, business rules, entities, proactive suggestions.
794
+ <strong>Mission:</strong> Merged discovery + business analysis. Codebase exploration, progressive questionnaire, business rules, entities, proactive suggestions.
795
795
  </p>
796
796
 
797
797
  <h4 data-lang="fr">Detection du type de feature</h4>
@@ -980,7 +980,7 @@ default &rarr; step-00 &rarr; step-01 (full) &rarr;
980
980
  <div class="command-header">
981
981
  <code class="command-name">step-02-specify</code>
982
982
  <span class="badge badge-purple">Sonnet</span>
983
- <span class="badge badge-teal">FRD</span>
983
+ <span class="badge badge-teal">Spec</span>
984
984
  </div>
985
985
  <div class="command-body">
986
986
  <p data-lang="fr">
@@ -358,8 +358,8 @@
358
358
  <td><code>/business-analyse 4-specify</code></td>
359
359
  <td><span class="badge badge-purple">ULTRATHINK</span></td>
360
360
  <td>
361
- <span data-lang="fr">Specification fonctionnelle (FRD)</span>
362
- <span data-lang="en">Functional Requirements Document (FRD)</span>
361
+ <span data-lang="fr">Specification fonctionnelle</span>
362
+ <span data-lang="en">Functional Specification</span>
363
363
  </td>
364
364
  <td><a href="business-analyse.html#phase-4">BA</a></td>
365
365
  </tr>
@@ -192,8 +192,8 @@
192
192
  </div>
193
193
  </div>
194
194
  <div class="card-body">
195
- <p data-lang="fr">Workflow de specification fonctionnelle et technique en 6 phases. Questions adaptatives, BRD/FRD, prompts autonomes pour developpeurs.</p>
196
- <p data-lang="en">Functional and technical specification workflow in 6 phases. Adaptive questions, BRD/FRD, autonomous prompts for developers.</p>
195
+ <p data-lang="fr">Workflow de specification fonctionnelle et technique en 6 phases. Questions adaptatives, exigences metier, prompts autonomes pour developpeurs.</p>
196
+ <p data-lang="en">Functional and technical specification workflow in 6 phases. Adaptive questions, business requirements, autonomous prompts for developers.</p>
197
197
  <span class="tag tag-workflow">7 commands</span>
198
198
  </div>
199
199
  </a>
@@ -442,11 +442,11 @@ function initSearch() {
442
442
 
443
443
  // Business Analyse
444
444
  { page: 'business-analyse.html', icon: '📊', title: { fr: 'Business Analyse', en: 'Business Analyse' }, section: '', anchor: '',
445
- keywords: 'business analyse analysis specification brd frd requirements exigences babok' },
445
+ keywords: 'business analyse analysis specification requirements exigences babok' },
446
446
  { page: 'business-analyse.html', icon: '📊', title: { fr: 'Business Analyse', en: 'Business Analyse' }, section: { fr: 'Discovery', en: 'Discovery' }, anchor: 'phase-2',
447
447
  keywords: 'discover discovery questionnaire questions adaptatives ultrathink elicitation' },
448
448
  { page: 'business-analyse.html', icon: '📊', title: { fr: 'Business Analyse', en: 'Business Analyse' }, section: { fr: 'Specification', en: 'Specification' }, anchor: 'phase-4',
449
- keywords: 'specify specification frd use cases wireframes gherkin acceptance criteria' },
449
+ keywords: 'specify specification use cases wireframes gherkin acceptance criteria' },
450
450
  { page: 'business-analyse.html', icon: '📊', title: { fr: 'Business Analyse', en: 'Business Analyse' }, section: { fr: 'Handoff', en: 'Handoff' }, anchor: 'phase-6',
451
451
  keywords: 'handoff dev prompt developer implementation autonome autonomous' },
452
452
 
package/dist/index.js CHANGED
@@ -112490,14 +112490,14 @@ var REQUIRED_MCP_SERVERS = [
112490
112490
  description: "Library documentation and code examples",
112491
112491
  command: "npx",
112492
112492
  args: ["-y", "@upstash/context7-mcp"],
112493
- installCommand: "claude mcp add context7 -- npx -y @upstash/context7-mcp"
112493
+ installCommand: "claude mcp add --scope user context7 -- npx -y @upstash/context7-mcp"
112494
112494
  },
112495
112495
  {
112496
112496
  name: "smartstack",
112497
112497
  description: "SmartStack validation and scaffolding (bundled)",
112498
112498
  command: "npx",
112499
112499
  args: ["-y", "-p", "@atlashub/smartstack-cli", "smartstack-mcp"],
112500
- installCommand: "claude mcp add smartstack -- npx -y -p @atlashub/smartstack-cli smartstack-mcp"
112500
+ installCommand: "claude mcp add --scope user smartstack -- npx -y -p @atlashub/smartstack-cli smartstack-mcp"
112501
112501
  }
112502
112502
  ];
112503
112503
  function getInstalledMcpServers() {
@@ -112784,7 +112784,7 @@ async function registerMcpServer() {
112784
112784
  if (!hasSmartstack || mcpList.includes("@atlashub/smartstack-mcp")) {
112785
112785
  const addResult = (0, import_child_process2.spawnSync)(
112786
112786
  "claude",
112787
- ["mcp", "add", "smartstack", "--", "npx", "-y", "-p", "@atlashub/smartstack-cli", "smartstack-mcp"],
112787
+ ["mcp", "add", "--scope", "user", "smartstack", "--", "npx", "-y", "-p", "@atlashub/smartstack-cli", "smartstack-mcp"],
112788
112788
  {
112789
112789
  encoding: "utf-8",
112790
112790
  shell: true,
@@ -112794,7 +112794,7 @@ async function registerMcpServer() {
112794
112794
  if (addResult.status === 0) {
112795
112795
  logger.success("Registered SmartStack MCP server (bundled)");
112796
112796
  } else {
112797
- logger.warning("Failed to register MCP server - register manually: claude mcp add smartstack -- npx -y -p @atlashub/smartstack-cli smartstack-mcp");
112797
+ logger.warning("Failed to register MCP server - register manually: claude mcp add --scope user smartstack -- npx -y -p @atlashub/smartstack-cli smartstack-mcp");
112798
112798
  }
112799
112799
  } else {
112800
112800
  logger.info("SmartStack MCP server already registered");
@@ -126055,7 +126055,7 @@ mcpCommand.command("install").description("Register MCP servers in Claude Code C
126055
126055
  const spinner = logger.spinner(`Registering ${server.name} in CLI...`);
126056
126056
  const result = (0, import_child_process9.spawnSync)(
126057
126057
  "claude",
126058
- ["mcp", "add", server.name, "--", server.command, ...server.args],
126058
+ ["mcp", "add", "--scope", "user", server.name, "--", server.command, ...server.args],
126059
126059
  { encoding: "utf-8", shell: true, timeout: 15e3 }
126060
126060
  );
126061
126061
  if (result.status === 0) {