@atlashub/smartstack-cli 3.7.0 → 3.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.
Files changed (133) hide show
  1. package/dist/index.js +365 -2
  2. package/dist/index.js.map +1 -1
  3. package/package.json +4 -2
  4. package/templates/agents/action.md +1 -0
  5. package/templates/agents/ba-writer.md +33 -0
  6. package/templates/agents/explore-codebase.md +1 -0
  7. package/templates/agents/explore-docs.md +1 -0
  8. package/templates/agents/fix-grammar.md +1 -0
  9. package/templates/agents/snipper.md +1 -0
  10. package/templates/skills/admin/SKILL.md +6 -0
  11. package/templates/skills/ai-prompt/SKILL.md +32 -136
  12. package/templates/skills/ai-prompt/steps/step-01-implementation.md +122 -0
  13. package/templates/skills/apex/SKILL.md +120 -0
  14. package/templates/skills/apex/_shared.md +86 -0
  15. package/templates/skills/apex/references/agent-teams-protocol.md +164 -0
  16. package/templates/skills/apex/references/smartstack-layers.md +173 -0
  17. package/templates/skills/apex/steps/step-00-init.md +156 -0
  18. package/templates/skills/apex/steps/step-01-analyze.md +169 -0
  19. package/templates/skills/apex/steps/step-02-plan.md +160 -0
  20. package/templates/skills/apex/steps/step-03-execute.md +166 -0
  21. package/templates/skills/apex/steps/step-04-validate.md +138 -0
  22. package/templates/skills/apex/steps/step-05-examine.md +124 -0
  23. package/templates/skills/apex/steps/step-06-resolve.md +105 -0
  24. package/templates/skills/apex/steps/step-07-tests.md +130 -0
  25. package/templates/skills/apex/steps/step-08-run-tests.md +115 -0
  26. package/templates/skills/application/SKILL.md +10 -0
  27. package/templates/skills/application/references/backend-controller-hierarchy.md +58 -0
  28. package/templates/skills/application/references/backend-entity-seeding.md +72 -0
  29. package/templates/skills/application/references/backend-verification.md +88 -0
  30. package/templates/skills/application/references/frontend-verification.md +111 -0
  31. package/templates/skills/application/references/nav-fallback-procedure.md +200 -0
  32. package/templates/skills/application/references/provider-template.md +134 -0
  33. package/templates/skills/application/references/test-frontend.md +73 -0
  34. package/templates/skills/application/references/test-prerequisites.md +72 -0
  35. package/templates/skills/application/steps/step-01-navigation.md +7 -198
  36. package/templates/skills/application/steps/step-03b-provider.md +4 -128
  37. package/templates/skills/application/steps/step-04-backend.md +20 -350
  38. package/templates/skills/application/steps/step-05-frontend.md +12 -101
  39. package/templates/skills/application/steps/step-07-tests.md +12 -132
  40. package/templates/skills/business-analyse/SKILL.md +11 -2
  41. package/templates/skills/business-analyse/html/ba-interactive.html +3214 -2246
  42. package/templates/skills/business-analyse/html/build-html.js +77 -0
  43. package/templates/skills/business-analyse/html/src/scripts/01-data-init.js +130 -0
  44. package/templates/skills/business-analyse/html/src/scripts/02-navigation.js +22 -0
  45. package/templates/skills/business-analyse/html/src/scripts/03-render-cadrage.js +208 -0
  46. package/templates/skills/business-analyse/html/src/scripts/04-render-modules.js +211 -0
  47. package/templates/skills/business-analyse/html/src/scripts/05-render-specs.js +554 -0
  48. package/templates/skills/business-analyse/html/src/scripts/06-render-consolidation.js +110 -0
  49. package/templates/skills/business-analyse/html/src/scripts/07-render-handoff.js +90 -0
  50. package/templates/skills/business-analyse/html/src/scripts/08-editing.js +45 -0
  51. package/templates/skills/business-analyse/html/src/scripts/09-export.js +168 -0
  52. package/templates/skills/business-analyse/html/src/scripts/10-comments.js +171 -0
  53. package/templates/skills/business-analyse/html/src/scripts/11-review-panel.js +161 -0
  54. package/templates/skills/business-analyse/html/src/styles/01-variables.css +38 -0
  55. package/templates/skills/business-analyse/html/src/styles/02-layout.css +101 -0
  56. package/templates/skills/business-analyse/html/src/styles/03-navigation.css +62 -0
  57. package/templates/skills/business-analyse/html/src/styles/04-cards.css +196 -0
  58. package/templates/skills/business-analyse/html/src/styles/05-modules.css +325 -0
  59. package/templates/skills/business-analyse/html/src/styles/06-wireframes.css +230 -0
  60. package/templates/skills/business-analyse/html/src/styles/07-comments.css +184 -0
  61. package/templates/skills/business-analyse/html/src/styles/08-review-panel.css +241 -0
  62. package/templates/skills/business-analyse/html/src/template.html +623 -0
  63. package/templates/skills/business-analyse/references/cadrage-structure-cards.md +78 -0
  64. package/templates/skills/business-analyse/references/cadrage-vibe-coding.md +97 -0
  65. package/templates/skills/business-analyse/references/consolidation-structural-checks.md +92 -0
  66. package/templates/skills/business-analyse/references/deploy-data-build.md +121 -0
  67. package/templates/skills/business-analyse/references/deploy-modes.md +49 -0
  68. package/templates/skills/business-analyse/references/handoff-file-templates.md +119 -0
  69. package/templates/skills/business-analyse/references/handoff-mappings.md +81 -0
  70. package/templates/skills/business-analyse/references/html-data-mapping.md +10 -2
  71. package/templates/skills/business-analyse/references/init-schema-deployment.md +65 -0
  72. package/templates/skills/business-analyse/references/review-data-mapping.md +363 -0
  73. package/templates/skills/business-analyse/references/spec-auto-inference.md +57 -0
  74. package/templates/skills/business-analyse/references/ui-dashboard-spec.md +85 -0
  75. package/templates/skills/business-analyse/references/ui-resource-cards.md +110 -0
  76. package/templates/skills/business-analyse/references/validate-incremental-html.md +55 -0
  77. package/templates/skills/business-analyse/steps/step-00-init.md +35 -68
  78. package/templates/skills/business-analyse/steps/step-01-cadrage.md +5 -194
  79. package/templates/skills/business-analyse/steps/step-03a-data.md +6 -49
  80. package/templates/skills/business-analyse/steps/step-03b-ui.md +12 -178
  81. package/templates/skills/business-analyse/steps/step-03d-validate.md +3 -48
  82. package/templates/skills/business-analyse/steps/step-04-consolidation.md +9 -104
  83. package/templates/skills/business-analyse/steps/step-05a-handoff.md +25 -441
  84. package/templates/skills/business-analyse/steps/step-05b-deploy.md +19 -187
  85. package/templates/skills/business-analyse/steps/step-06-review.md +277 -0
  86. package/templates/skills/cc-agent/references/agent-behavior-patterns.md +95 -0
  87. package/templates/skills/cc-agent/steps/step-02-generate.md +5 -78
  88. package/templates/skills/check-version/SKILL.md +7 -0
  89. package/templates/skills/controller/references/controller-code-templates.md +159 -0
  90. package/templates/skills/controller/references/permission-sync-templates.md +152 -0
  91. package/templates/skills/controller/steps/step-03-generate.md +6 -158
  92. package/templates/skills/controller/steps/step-04-perms.md +5 -144
  93. package/templates/skills/debug/SKILL.md +7 -0
  94. package/templates/skills/explore/SKILL.md +6 -0
  95. package/templates/skills/feature-full/SKILL.md +39 -142
  96. package/templates/skills/feature-full/steps/step-01-implementation.md +120 -0
  97. package/templates/skills/gitflow/references/init-config-template.md +135 -0
  98. package/templates/skills/gitflow/references/init-name-normalization.md +103 -0
  99. package/templates/skills/gitflow/references/plan-template.md +69 -0
  100. package/templates/skills/gitflow/references/start-efcore-preflight.md +70 -0
  101. package/templates/skills/gitflow/references/start-local-config.md +110 -0
  102. package/templates/skills/gitflow/steps/step-init.md +18 -289
  103. package/templates/skills/gitflow/steps/step-plan.md +6 -63
  104. package/templates/skills/gitflow/steps/step-start.md +16 -126
  105. package/templates/skills/mcp/SKILL.md +9 -213
  106. package/templates/skills/mcp/steps/step-01-healthcheck.md +108 -0
  107. package/templates/skills/mcp/steps/step-02-tools.md +73 -0
  108. package/templates/skills/notification/SKILL.md +7 -0
  109. package/templates/skills/quick-search/SKILL.md +5 -0
  110. package/templates/skills/ralph-loop/SKILL.md +99 -381
  111. package/templates/skills/ralph-loop/references/category-rules.md +259 -0
  112. package/templates/skills/ralph-loop/references/compact-loop.md +182 -0
  113. package/templates/skills/ralph-loop/references/task-transform-legacy.md +259 -0
  114. package/templates/skills/ralph-loop/references/team-orchestration.md +189 -0
  115. package/templates/skills/ralph-loop/steps/step-00-init.md +111 -383
  116. package/templates/skills/ralph-loop/steps/step-01-task.md +79 -896
  117. package/templates/skills/ralph-loop/steps/step-02-execute.md +68 -680
  118. package/templates/skills/ralph-loop/steps/step-03-commit.md +47 -277
  119. package/templates/skills/ralph-loop/steps/step-04-check.md +124 -607
  120. package/templates/skills/ralph-loop/steps/step-05-report.md +68 -367
  121. package/templates/skills/refactor/SKILL.md +12 -176
  122. package/templates/skills/refactor/steps/step-01-discover.md +60 -0
  123. package/templates/skills/refactor/steps/step-02-execute.md +67 -0
  124. package/templates/skills/review-code/SKILL.md +19 -257
  125. package/templates/skills/review-code/steps/step-01-smartstack.md +96 -0
  126. package/templates/skills/review-code/steps/step-02-detailed-review.md +80 -0
  127. package/templates/skills/review-code/steps/step-03-react.md +44 -0
  128. package/templates/skills/ui-components/SKILL.md +7 -0
  129. package/templates/skills/utils/SKILL.md +6 -0
  130. package/templates/skills/validate/SKILL.md +6 -0
  131. package/templates/skills/validate-feature/SKILL.md +8 -0
  132. package/templates/skills/workflow/SKILL.md +40 -118
  133. package/templates/skills/workflow/steps/step-01-implementation.md +84 -0
@@ -0,0 +1,184 @@
1
+ /* ============================================
2
+ INLINE COMMENTS
3
+ ============================================ */
4
+ .comment-btn-container {
5
+ margin-top: 0.75rem;
6
+ padding-top: 0.5rem;
7
+ border-top: 1px solid var(--border);
8
+ }
9
+
10
+ .comment-toggle-btn {
11
+ display: inline-flex;
12
+ align-items: center;
13
+ gap: 0.4rem;
14
+ padding: 0.3rem 0.7rem;
15
+ border: 1px solid var(--border);
16
+ border-radius: 6px;
17
+ background: transparent;
18
+ color: var(--text-muted);
19
+ font-size: 0.75rem;
20
+ cursor: pointer;
21
+ transition: all var(--transition-fast);
22
+ font-family: inherit;
23
+ }
24
+ .comment-toggle-btn:hover {
25
+ border-color: var(--primary);
26
+ color: var(--primary-light);
27
+ background: rgba(99,102,241,0.05);
28
+ }
29
+ .comment-toggle-btn .comment-count {
30
+ background: var(--primary);
31
+ color: #fff;
32
+ padding: 0.05rem 0.35rem;
33
+ border-radius: 8px;
34
+ font-size: 0.65rem;
35
+ font-weight: 700;
36
+ min-width: 16px;
37
+ text-align: center;
38
+ }
39
+ .comment-toggle-btn .comment-count.empty {
40
+ background: var(--bg-hover);
41
+ color: var(--text-muted);
42
+ }
43
+
44
+ /* Comment thread under a card */
45
+ .comment-thread {
46
+ margin-top: 0.5rem;
47
+ display: none;
48
+ }
49
+ .comment-thread.visible { display: block; }
50
+
51
+ .comment-item {
52
+ display: flex;
53
+ gap: 0.75rem;
54
+ padding: 0.6rem 0.75rem;
55
+ background: var(--bg-input);
56
+ border: 1px solid var(--border);
57
+ border-radius: 8px;
58
+ margin-bottom: 0.4rem;
59
+ font-size: 0.8rem;
60
+ align-items: flex-start;
61
+ }
62
+
63
+ .comment-avatar {
64
+ width: 28px; height: 28px;
65
+ border-radius: 50%;
66
+ background: var(--primary);
67
+ display: flex; align-items: center; justify-content: center;
68
+ color: #fff; font-size: 0.65rem; font-weight: 700;
69
+ flex-shrink: 0;
70
+ }
71
+
72
+ .comment-body { flex: 1; min-width: 0; }
73
+
74
+ .comment-meta {
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 0.5rem;
78
+ margin-bottom: 0.2rem;
79
+ }
80
+
81
+ .comment-author {
82
+ font-weight: 600;
83
+ color: var(--text-bright);
84
+ font-size: 0.75rem;
85
+ }
86
+
87
+ .comment-date {
88
+ font-size: 0.65rem;
89
+ color: var(--text-muted);
90
+ }
91
+
92
+ .comment-category {
93
+ font-size: 0.6rem;
94
+ text-transform: uppercase;
95
+ letter-spacing: 0.05em;
96
+ padding: 0.1rem 0.35rem;
97
+ border-radius: 4px;
98
+ font-weight: 600;
99
+ }
100
+ .comment-category-clarification { background: rgba(59,130,246,0.15); color: var(--info); }
101
+ .comment-category-correction { background: rgba(239,68,68,0.15); color: #f87171; }
102
+ .comment-category-suggestion { background: rgba(34,197,94,0.15); color: #4ade80; }
103
+
104
+ .comment-status {
105
+ font-size: 0.6rem;
106
+ padding: 0.1rem 0.35rem;
107
+ border-radius: 4px;
108
+ font-weight: 600;
109
+ margin-left: auto;
110
+ }
111
+ .comment-status-to-review { background: rgba(234,179,8,0.15); color: #facc15; }
112
+ .comment-status-validated { background: rgba(34,197,94,0.15); color: #4ade80; }
113
+
114
+ .comment-text {
115
+ color: var(--text);
116
+ line-height: 1.5;
117
+ word-wrap: break-word;
118
+ }
119
+
120
+ .comment-actions {
121
+ display: flex;
122
+ gap: 0.3rem;
123
+ margin-top: 0.3rem;
124
+ }
125
+
126
+ .comment-action-btn {
127
+ padding: 0.15rem 0.4rem;
128
+ border: none;
129
+ background: none;
130
+ color: var(--text-muted);
131
+ font-size: 0.7rem;
132
+ cursor: pointer;
133
+ border-radius: 4px;
134
+ font-family: inherit;
135
+ }
136
+ .comment-action-btn:hover { background: var(--bg-hover); color: var(--text-bright); }
137
+
138
+ /* Add comment form */
139
+ .comment-add-form {
140
+ display: flex;
141
+ gap: 0.5rem;
142
+ margin-top: 0.4rem;
143
+ align-items: flex-start;
144
+ }
145
+
146
+ .comment-add-form textarea {
147
+ flex: 1;
148
+ padding: 0.4rem 0.6rem;
149
+ background: var(--bg-input);
150
+ border: 1px solid var(--border);
151
+ border-radius: 6px;
152
+ color: var(--text);
153
+ font-size: 0.8rem;
154
+ font-family: inherit;
155
+ min-height: 36px;
156
+ resize: vertical;
157
+ }
158
+ .comment-add-form textarea:focus {
159
+ outline: none;
160
+ border-color: var(--primary);
161
+ }
162
+
163
+ .comment-add-form select {
164
+ padding: 0.4rem 0.5rem;
165
+ background: var(--bg-input);
166
+ border: 1px solid var(--border);
167
+ border-radius: 6px;
168
+ color: var(--text);
169
+ font-size: 0.75rem;
170
+ font-family: inherit;
171
+ }
172
+
173
+ .comment-add-form button {
174
+ padding: 0.4rem 0.7rem;
175
+ background: var(--primary);
176
+ border: none;
177
+ border-radius: 6px;
178
+ color: #fff;
179
+ font-size: 0.75rem;
180
+ cursor: pointer;
181
+ font-family: inherit;
182
+ white-space: nowrap;
183
+ }
184
+ .comment-add-form button:hover { background: var(--primary-dark); }
@@ -0,0 +1,241 @@
1
+ /* ============================================
2
+ REVIEW PANEL - Right sidebar
3
+ ============================================ */
4
+
5
+ /* Toggle button in header */
6
+ .review-toggle-btn {
7
+ position: relative;
8
+ padding: 0.4rem 0.9rem;
9
+ border-radius: 6px;
10
+ border: 1px solid var(--border);
11
+ background: var(--bg-hover);
12
+ color: var(--text);
13
+ font-size: 0.8rem;
14
+ cursor: pointer;
15
+ transition: all var(--transition-fast);
16
+ font-family: inherit;
17
+ }
18
+ .review-toggle-btn:hover { border-color: var(--primary); color: var(--text-bright); }
19
+ .review-toggle-btn.active {
20
+ background: var(--primary);
21
+ border-color: var(--primary);
22
+ color: #fff;
23
+ }
24
+
25
+ .review-badge {
26
+ position: absolute;
27
+ top: -6px; right: -6px;
28
+ background: var(--error);
29
+ color: #fff;
30
+ font-size: 0.6rem;
31
+ font-weight: 700;
32
+ padding: 0.1rem 0.35rem;
33
+ border-radius: 8px;
34
+ min-width: 16px;
35
+ text-align: center;
36
+ }
37
+ .review-badge.hidden { display: none; }
38
+
39
+ /* Layout adaptation when panel is open */
40
+ .body.review-open {
41
+ display: grid;
42
+ grid-template-columns: var(--sidebar-width) 1fr 340px;
43
+ }
44
+
45
+ .body.review-open .main {
46
+ overflow-y: auto;
47
+ }
48
+
49
+ /* Panel itself */
50
+ .review-panel {
51
+ display: none;
52
+ width: 340px;
53
+ background: var(--bg-card);
54
+ border-left: 1px solid var(--border);
55
+ height: calc(100vh - var(--header-height));
56
+ position: sticky;
57
+ top: var(--header-height);
58
+ overflow-y: auto;
59
+ flex-shrink: 0;
60
+ }
61
+
62
+ .review-panel.visible { display: flex; flex-direction: column; }
63
+
64
+ .review-panel-header {
65
+ padding: 1rem;
66
+ border-bottom: 1px solid var(--border);
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: space-between;
70
+ }
71
+
72
+ .review-panel-title {
73
+ font-size: 0.9rem;
74
+ font-weight: 600;
75
+ color: var(--text-bright);
76
+ }
77
+
78
+ .review-panel-close {
79
+ background: none;
80
+ border: none;
81
+ color: var(--text-muted);
82
+ cursor: pointer;
83
+ font-size: 1.1rem;
84
+ padding: 0.2rem;
85
+ }
86
+ .review-panel-close:hover { color: var(--text-bright); }
87
+
88
+ /* Filters */
89
+ .review-filters {
90
+ display: flex;
91
+ gap: 0.3rem;
92
+ padding: 0.75rem 1rem;
93
+ border-bottom: 1px solid var(--border);
94
+ }
95
+
96
+ .review-filter-btn {
97
+ padding: 0.25rem 0.6rem;
98
+ border: 1px solid var(--border);
99
+ border-radius: 12px;
100
+ background: transparent;
101
+ color: var(--text-muted);
102
+ font-size: 0.7rem;
103
+ cursor: pointer;
104
+ font-family: inherit;
105
+ transition: all var(--transition-fast);
106
+ }
107
+ .review-filter-btn:hover { border-color: var(--primary); color: var(--text-bright); }
108
+ .review-filter-btn.active {
109
+ background: rgba(99,102,241,0.15);
110
+ border-color: var(--primary);
111
+ color: var(--primary-light);
112
+ font-weight: 500;
113
+ }
114
+
115
+ /* Comment list in panel */
116
+ .review-comments {
117
+ flex: 1;
118
+ overflow-y: auto;
119
+ padding: 0.75rem;
120
+ }
121
+
122
+ .review-comment-item {
123
+ padding: 0.75rem;
124
+ background: var(--bg-dark);
125
+ border: 1px solid var(--border);
126
+ border-radius: 8px;
127
+ margin-bottom: 0.5rem;
128
+ cursor: pointer;
129
+ transition: all var(--transition-fast);
130
+ }
131
+ .review-comment-item:hover { border-color: var(--primary); }
132
+
133
+ .review-comment-section {
134
+ font-size: 0.65rem;
135
+ color: var(--accent);
136
+ text-transform: uppercase;
137
+ letter-spacing: 0.05em;
138
+ margin-bottom: 0.3rem;
139
+ }
140
+
141
+ .review-comment-text {
142
+ font-size: 0.8rem;
143
+ color: var(--text);
144
+ margin-bottom: 0.4rem;
145
+ line-height: 1.4;
146
+ display: -webkit-box;
147
+ -webkit-line-clamp: 3;
148
+ -webkit-box-orient: vertical;
149
+ overflow: hidden;
150
+ }
151
+
152
+ .review-comment-footer {
153
+ display: flex;
154
+ align-items: center;
155
+ justify-content: space-between;
156
+ gap: 0.5rem;
157
+ }
158
+
159
+ .review-comment-author {
160
+ font-size: 0.7rem;
161
+ color: var(--text-muted);
162
+ }
163
+
164
+ .review-comment-actions {
165
+ display: flex;
166
+ gap: 0.2rem;
167
+ }
168
+
169
+ .review-action-btn {
170
+ padding: 0.2rem 0.4rem;
171
+ border: 1px solid var(--border);
172
+ border-radius: 4px;
173
+ background: transparent;
174
+ color: var(--text-muted);
175
+ font-size: 0.65rem;
176
+ cursor: pointer;
177
+ font-family: inherit;
178
+ transition: all var(--transition-fast);
179
+ }
180
+ .review-action-btn:hover { border-color: var(--primary); color: var(--text-bright); }
181
+ .review-action-btn.validate { border-color: rgba(34,197,94,0.3); color: var(--success); }
182
+ .review-action-btn.validate:hover { background: rgba(34,197,94,0.1); }
183
+ .review-action-btn.reject { border-color: rgba(234,179,8,0.3); color: var(--warning); }
184
+ .review-action-btn.reject:hover { background: rgba(234,179,8,0.1); }
185
+ .review-action-btn.delete { border-color: rgba(239,68,68,0.3); color: var(--error); }
186
+ .review-action-btn.delete:hover { background: rgba(239,68,68,0.1); }
187
+
188
+ /* Empty state */
189
+ .review-empty {
190
+ text-align: center;
191
+ padding: 2rem 1rem;
192
+ color: var(--text-muted);
193
+ font-size: 0.85rem;
194
+ }
195
+
196
+ /* Stats summary */
197
+ .review-stats {
198
+ padding: 0.75rem 1rem;
199
+ border-top: 1px solid var(--border);
200
+ display: flex;
201
+ justify-content: space-around;
202
+ font-size: 0.75rem;
203
+ }
204
+
205
+ .review-stat {
206
+ text-align: center;
207
+ }
208
+ .review-stat-value {
209
+ font-weight: 700;
210
+ color: var(--text-bright);
211
+ font-size: 1.1rem;
212
+ }
213
+ .review-stat-label {
214
+ color: var(--text-muted);
215
+ font-size: 0.65rem;
216
+ }
217
+
218
+ /* Review save button */
219
+ .btn-review {
220
+ background: var(--success);
221
+ color: #fff;
222
+ border-color: var(--success);
223
+ font-weight: 600;
224
+ }
225
+ .btn-review:hover {
226
+ background: #16a34a;
227
+ border-color: #16a34a;
228
+ }
229
+
230
+ @media (max-width: 768px) {
231
+ .body.review-open {
232
+ grid-template-columns: 1fr;
233
+ }
234
+ .review-panel {
235
+ position: fixed;
236
+ right: 0;
237
+ top: var(--header-height);
238
+ z-index: 90;
239
+ box-shadow: -4px 0 20px rgba(0,0,0,0.3);
240
+ }
241
+ }