Skip to content

Commit bf3e569

Browse files
committed
docs(skills): drop the duplicated ASCII field-type decision tree
`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. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
1 parent a87163c commit bf3e569

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
@@ -144,77 +144,6 @@ Stored as JSON on the parent row — no separate table / FK:
144144
| `tags` | Free-form tag input ||
145145
| `vector` | AI/ML embeddings (semantic search, RAG) | `dimensions` (flat sibling, e.g. `1536`) |
146146

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

220149
### Text with Max Length

0 commit comments

Comments
 (0)