prompts: undo experiment, update system

This commit is contained in:
can1357
2026-06-04 17:27:27 +02:00
parent 7124dbae93
commit c8b4bf09c7
139 changed files with 1238 additions and 1712 deletions
@@ -5,9 +5,9 @@ scope: "tool:edit(**/*.{ts,tsx}), tool:write(**/*.{ts,tsx})"
interruptMode: never
---
Use `Record<K, V>` / `Record<K, true>` for small static string-keyed lookup tables.
Use `Record<K, V>` / `Record<K, true>` for small, static string-keyed lookup tables.
Use `Set` / `Map` when keys dynamic, non-string, inserted or deleted at runtime, or code needs `.size`, `.clear()`, stable insertion order, or iterator APIs.
Use `Set` / `Map` when keys are dynamic, non-string, inserted or deleted at runtime, or when code needs `.size`, `.clear()`, stable insertion order, or iterator APIs.
```typescript
// Static literal → Record