@iamdevlinph/codex-kit 1.0.21 → 1.0.23
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.
|
@@ -92,6 +92,10 @@ conditional procedures into validated project skills.
|
|
|
92
92
|
- Reuse existing constants, schemas, enums, shared types, and components before
|
|
93
93
|
creating duplicates. Add reusable domain values at their existing source of
|
|
94
94
|
truth instead of scattering magic strings.
|
|
95
|
+
- Promote repeated closed-set domain values used in production control flow to
|
|
96
|
+
feature-owned immutable runtime constants. Where the language supports it,
|
|
97
|
+
derive static types from that runtime source; keep incidental presentation,
|
|
98
|
+
browser, protocol, route, environment, and test-contract strings inline.
|
|
95
99
|
|
|
96
100
|
## Project Discovery
|
|
97
101
|
|
|
@@ -136,6 +140,11 @@ conditional procedures into validated project skills.
|
|
|
136
140
|
implementation. Avoid vague transformation names such as `normalized`,
|
|
137
141
|
`processed`, `result`, or `data` when a value- or behavior-specific name is
|
|
138
142
|
available.
|
|
143
|
+
- Keep naming conventions consistent within each code-owned object, schema,
|
|
144
|
+
type, and module. Do not mix identifier casing styles in the same
|
|
145
|
+
representation unless required by an external contract or framework.
|
|
146
|
+
Preserve externally defined names at the boundary, then map them once to the
|
|
147
|
+
project's internal convention.
|
|
139
148
|
- Do not reorganize feature directories, shared modules, routes, server
|
|
140
149
|
boundaries, schemas, or state patterns unless requested and approved.
|
|
141
150
|
|