genesis-stack 1.4.2 → 1.4.3
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/package.json +1 -1
- package/stacks/pieces/jskit.md +23 -0
package/package.json
CHANGED
package/stacks/pieces/jskit.md
CHANGED
|
@@ -27,6 +27,18 @@ https://mobily-enterprises.github.io/jskit-ai/
|
|
|
27
27
|
foundation, clone the whole framework repository, inspect unrelated package
|
|
28
28
|
internals, or delegate research unless a concrete failure requires one exact
|
|
29
29
|
investigation.
|
|
30
|
+
- Before writing or reviewing JSKIT server code (a feature, provider, action,
|
|
31
|
+
service, repository, route, error or test), read the typed features guide at
|
|
32
|
+
`https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features`.
|
|
33
|
+
`npm run lint` checks its rules through `@jskit-ai/config-eslint`, and each
|
|
34
|
+
finding links the section that explains it. Fix a finding in the code; excuse
|
|
35
|
+
one only with the guide's `readable-check: allow` comment and reason prefix.
|
|
36
|
+
Do not add project rules that repeat or contradict the guide.
|
|
37
|
+
- Before writing or reviewing JSKIT client code (a Vue component, composable or
|
|
38
|
+
client provider), read the client features guide at
|
|
39
|
+
`https://mobily-enterprises.github.io/jskit-ai/guide/framework/client-features`.
|
|
40
|
+
Client code listed in `clientFeaturesConfig` is held to its rules as lint
|
|
41
|
+
errors, the same way the typed features rules hold server code.
|
|
30
42
|
- When local authentication is selected, ask whether the relevant application
|
|
31
43
|
surfaces are public or login-required and expose
|
|
32
44
|
`AUTH_LOCAL_SESSION_SECRET` as a required environment name in the project's
|
|
@@ -149,6 +161,12 @@ https://mobily-enterprises.github.io/jskit-ai/
|
|
|
149
161
|
locators, and retired tool manifests as migration evidence only. Translate
|
|
150
162
|
live facts into current source/Stack and report remaining port work; do not
|
|
151
163
|
add compatibility readers or claim adoption performed the port.
|
|
164
|
+
- Compare the application's `eslint.config.mjs` with the foundation pattern's:
|
|
165
|
+
`typedFeaturesConfig` over the server and shared code of each converted
|
|
166
|
+
package, `sizeLimitsConfig` over all hand-written code and `formatterConfig`.
|
|
167
|
+
Report the packages not yet listed, and the findings that keep them out, as
|
|
168
|
+
remaining port work; never lower a rule to `warn` or excuse findings in bulk
|
|
169
|
+
to make lint pass.
|
|
152
170
|
- Review the proposed `## Resource estimates` section (a host-owned opaque
|
|
153
171
|
section whose grammar belongs to the consuming host) against the application's
|
|
154
172
|
actual Outputs target ids and Workspace setup. Its initial Node development
|
|
@@ -247,6 +265,11 @@ https://mobily-enterprises.github.io/jskit-ai/
|
|
|
247
265
|
and execute its audit.
|
|
248
266
|
- Use JSKIT patterns, packages, resources, composables, screens, and placement
|
|
249
267
|
seams instead of parallel framework plumbing.
|
|
268
|
+
- For affected JSKIT server code, apply the typed features guide at
|
|
269
|
+
`https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features`
|
|
270
|
+
and leave `npm run lint` without findings: collaborators required and typed,
|
|
271
|
+
actions one line from `create<Name>Actions`, refusals with their own code,
|
|
272
|
+
the environment from the caller, files under 750 lines.
|
|
250
273
|
- Treat copied pattern source as app-owned and customizable. Adapt routes,
|
|
251
274
|
placements, and infrastructure tests coherently; when replacing a foundation
|
|
252
275
|
route, update its baseline browser coverage instead of deleting it.
|