@iamdevlinph/codex-kit 1.0.22 → 1.0.24

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.
@@ -140,9 +140,32 @@ conditional procedures into validated project skills.
140
140
  implementation. Avoid vague transformation names such as `normalized`,
141
141
  `processed`, `result`, or `data` when a value- or behavior-specific name is
142
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.
143
148
  - Do not reorganize feature directories, shared modules, routes, server
144
149
  boundaries, schemas, or state patterns unless requested and approved.
145
150
 
151
+ ## React And React Native TypeScript Naming
152
+
153
+ - In React, React Native, and Expo projects using TypeScript, use `kebab-case`
154
+ for code-owned file and directory names. Preserve framework-mandated and
155
+ contract-derived names, including Expo Router notation and React Native
156
+ platform suffixes such as `.ios.tsx`, `.android.tsx`, and `.native.tsx`.
157
+ - Use `PascalCase` for components, context providers and consumers, type aliases,
158
+ interfaces, and enums.
159
+ - Use `snake_case` for ordinary variables, props, state values, and code-owned
160
+ object properties. Use `camelCase` for ordinary function names.
161
+ - Name custom hooks as `useThing`, higher-order components as `withThing`, and
162
+ local event-handler functions as `handleThing`. Name code-owned callback props
163
+ in `snake_case` with an `on_` prefix, such as `on_submit`.
164
+ - Prefix boolean props, state, and variables with `is_`, `has_`, or `should_`
165
+ when the prefix accurately describes their meaning.
166
+ - Use `UPPER_SNAKE_CASE` for module-level constants and enum members. Keep
167
+ ordinary local `const` bindings in `snake_case`.
168
+
146
169
  ## Data And Validation
147
170
 
148
171
  - Update schemas first, then generate migrations or derived types. Never edit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iamdevlinph/codex-kit",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Portable Codex subagents and project AGENTS.md defaults.",
5
5
  "type": "module",
6
6
  "bin": {