@iamdevlinph/codex-kit 1.0.23 → 1.0.25

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.
@@ -148,6 +148,24 @@ conditional procedures into validated project skills.
148
148
  - Do not reorganize feature directories, shared modules, routes, server
149
149
  boundaries, schemas, or state patterns unless requested and approved.
150
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 `camelCase` for functions, variables, props, state, and code-owned object
160
+ properties.
161
+ - Name custom hooks as `useThing`, higher-order components as `withThing`, and
162
+ local event-handler functions as `handleThing`. Name callback props with `on`,
163
+ such as `onSubmit`.
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 `camelCase`.
168
+
151
169
  ## Data And Validation
152
170
 
153
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.23",
3
+ "version": "1.0.25",
4
4
  "description": "Portable Codex subagents and project AGENTS.md defaults.",
5
5
  "type": "module",
6
6
  "bin": {