Skip to content

Commit 7a5592f

Browse files
claude[bot]claude
andauthored
docs(skills): drop the duplicated ASCII field-type decision tree (#16369)
`skills/objectstack-data/rules/field-types.md` carried a ~2.1 KB fenced ASCII "Field Type Decision Tree" that re-listed the leaves of the same file's own per-category tables. It taught nothing those tables do not already teach — each `##` category heading answers the tree's top-level question and each row's "When to Use" answers the leaf — and it was strictly less complete than them (`slider` appeared in no branch). A mermaid rendering of the same tree already ships to the same reader in the docs site. The file is loaded whole into customer agent context on every session, so the duplicate was billed per session, forever. Removing it frees real headroom in the file's own density instead of taxing whichever unrelated sentence the next author can spare. Every table, the top-of-file blockquote and the `Common Field Configurations` and `Incorrect vs Correct` sections are untouched; the change is a pure deletion, no pointer line added. Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: Claude <noreply@anthropic.com>
1 parent 13c0835 commit 7a5592f

1 file changed

Lines changed: 0 additions & 71 deletions

File tree

skills/objectstack-data/rules/field-types.md

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -141,77 +141,6 @@ Stored as JSON on the parent row — no separate table / FK:
141141
| `tags` | Free-form tag input ||
142142
| `vector` | AI/ML embeddings (semantic search, RAG) | `dimensions` (flat sibling, e.g. `1536`) |
143143

144-
## Field Type Decision Tree
145-
146-
```
147-
What kind of data?
148-
149-
├── Text?
150-
│ ├── Single line → text
151-
│ ├── Multiple lines → textarea
152-
│ ├── Formatted → richtext / markdown / html
153-
│ ├── Email → email
154-
│ ├── URL → url
155-
│ ├── Phone → phone
156-
│ ├── Credential (API key, token, DB password) → secret (encrypted at rest — NOT password)
157-
│ └── Code → code
158-
159-
├── Number?
160-
│ ├── Money → currency
161-
│ ├── Percentage → percent
162-
│ └── Generic → number
163-
164-
├── Date/Time?
165-
│ ├── Date only → date
166-
│ ├── Time only → time
167-
│ └── Date + Time → datetime
168-
169-
├── True/False?
170-
│ ├── Checkbox → boolean
171-
│ └── Switch → toggle
172-
173-
├── Choose from list?
174-
│ ├── Single choice, dropdown → select
175-
│ ├── Single choice, always visible → radio
176-
│ ├── Multiple choice, tags → multiselect
177-
│ └── Multiple choice, checkboxes → checkboxes
178-
179-
├── Reference another object?
180-
│ ├── Independent → lookup
181-
│ ├── Owned child → master_detail
182-
│ ├── A person (assignee, watcher) → user
183-
│ └── Hierarchy → tree
184-
185-
├── File/Media?
186-
│ ├── Image → image
187-
│ ├── Video → video
188-
│ ├── Audio → audio
189-
│ ├── User photo → avatar
190-
│ └── Generic file → file
191-
192-
├── Calculated?
193-
│ ├── Formula → formula
194-
│ ├── Roll-up → summary
195-
│ └── Auto-number → autonumber
196-
197-
├── Embedded sub-object (no separate table)?
198-
│ ├── Single → composite
199-
│ ├── Array → repeater
200-
│ └── Name-keyed map → record
201-
202-
└── Special?
203-
├── Location → location
204-
├── Address → address
205-
├── Color → color
206-
├── Rating → rating
207-
├── Signature → signature
208-
├── QR code → qrcode
209-
├── Progress → progress
210-
├── Tags → tags
211-
├── JSON data → json
212-
└── AI embeddings → vector
213-
```
214-
215144
## Common Field Configurations
216145

217146
### Text with Max Length

0 commit comments

Comments
 (0)