Skip to content

Commit cae9bc5

Browse files
committed
Apply codex-kit v1.1.3
1 parent 22acb58 commit cae9bc5

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

.codex-kit-state.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"version": 1,
33
"template": {
4-
"availableHash": "0510d5c80f92f0815a5aa62ee934a1dc00db21b261e41233fa3fdfe3f1da1c3b",
5-
"availableVersion": "1.1.2",
6-
"appliedHash": "0510d5c80f92f0815a5aa62ee934a1dc00db21b261e41233fa3fdfe3f1da1c3b",
7-
"appliedAt": "2026-08-10T16:56:02.096Z"
4+
"availableHash": "e4bb65fb695d015deea1af3d1171dfe2a3d00a71401230c5ff6da60bf2e56bc4",
5+
"availableVersion": "1.1.3",
6+
"appliedHash": "e4bb65fb695d015deea1af3d1171dfe2a3d00a71401230c5ff6da60bf2e56bc4",
7+
"appliedAt": "2026-08-12T03:41:20.896Z"
88
}
99
}

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Biome is authoritative: use tabs, double quotes, and organized imports. Follow n
2323

2424
Use intent-revealing domain names. A reader should understand what a variable contains or what a helper guarantees at the call site without opening its implementation. Avoid vague transformation names such as `normalized`, `processed`, `result`, or `data` when a value- or behavior-specific name is available.
2525

26+
Replace numeric literals that encode domain rules, limits, durations, units, or protocol values with descriptively named constants. Obvious structural values, such as basic indexes or empty-state values, may remain inline.
27+
28+
Prefer clear structure, and simplify or extract complex logic before relying on comments. Use comments to explain non-obvious purpose, constraints, invariants, tradeoffs, or workarounds, not to narrate statements.
29+
2630
Keep naming conventions consistent within each code-owned object, schema, type, and module. Use `snake_case` for app-owned domain/data record fields and serialized form/store records; use `camelCase` for functions, variables, React/framework props and APIs, state, other code-owned object properties, and ordinary local `const` bindings; use `PascalCase` for types/components; and use `UPPER_SNAKE_CASE` for module-level constants, enum members, and lookup keys. Preserve externally defined names at the boundary, then map them once to the project's internal convention.
2731

2832
Name custom hooks as `useThing`, higher-order components as `withThing`, local event-handler functions as `handleThing`, and code-owned callback props with an `onThing` prefix. Prefix boolean props, state, and variables with `is`, `has`, or `should` when the prefix accurately describes their meaning.

TEMPLATE_AGENTS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ conditional procedures into validated project skills.
9292
- Reuse existing constants, schemas, enums, shared types, and components before
9393
creating duplicates. Add reusable domain values at their existing source of
9494
truth instead of scattering magic strings.
95+
- Replace numeric literals that encode domain rules, limits, durations, units,
96+
or protocol values with descriptively named constants. Universally obvious
97+
structural values, such as basic indexes or empty-state values, may remain
98+
inline.
9599
- Promote repeated closed-set domain values used in production control flow to
96100
feature-owned immutable runtime constants. Where the language supports it,
97101
derive static types from that runtime source; keep incidental presentation,
@@ -184,7 +188,9 @@ conditional procedures into validated project skills.
184188
contains or what a helper guarantees at the call site without opening its
185189
implementation. Avoid vague transformation names such as `normalized`,
186190
`processed`, `result`, or `data` when a value- or behavior-specific name is
187-
available.
191+
available. Prefer clear structure, and simplify or extract complex logic before
192+
relying on comments. Use comments to explain non-obvious purpose, constraints,
193+
invariants, tradeoffs, or workarounds, not to narrate statements.
188194
- Keep naming conventions consistent within each code-owned object, schema,
189195
type, and module. Do not mix identifier casing styles in the same
190196
representation unless required by an external contract or framework.

0 commit comments

Comments
 (0)