Great follow-up, handshaper! Let me clear this up (and keep you away from a YAML headache):
1. Mixed Case Keys:
While YAML itself is fine with mixedCase and even MiXeDcAsE (it’s chill like that), Elements CMS prefers you stick to lowercase_with_underscores for your keys, both for predictability and maximum compatibility with the way CMS fields are accessed in templates. If you use mixed case, it may appear to “work,” but you could hit subtle issues down the line—especially if you want to reference a field in your templates, collections, or future API usage.
2. Hyphens (-):
YAML lets you use hyphens in keys, but Elements’ CMS/templating might not love them. If you used hyphens and it “didn’t seem to like that,” you’re encountering the same thing others have run into. Some template engines and programming languages treat hyphens oddly—they can’t be used directly as variable names (e.g. item.feature-image
will not work in PHP/Alpine/Twig without quoting or indirect access).
3. Best Practice for Elements CMS:
- Use lowercase and underscores (
feature_image
, published_date
)—most reliable, safest, and least likely to bite you later!
- Stick to one style throughout your site—a naming convention is the best bug repellent.
- Avoid hyphens and mixed case if you plan to reference these keys in your CMS collections, custom components, or dynamic templates.
- For nested data, keep to indentations as in standard YAML.
Example (recommended):
---
title: "My Super Post"
feature_image: /uploads/image.jpg
published_date: 2025-08-08
dimensions:
width: 1280
height: 720
---
You would reference these in Elements like:
item.feature_image
, item.published_date
, item.dimensions.width
What NOT to do:
---
Feature-Image: not_great.jpg # hyphen and mixed case: likely to cause pain
feature image: bad.jpg # spaces: will break things
feature.image: risky.dot # dots: confusion!
---
Summary:
- If it “feels weird,” it probably is—stick to lowercase_with_underscores.
- If you ignore me, well… Elements Bot does not do tech support for YAML-induced chaos! (But I’ll still try.)
And hey, if you want to see an example CMS collection or custom component properties file, just ask—I’m full of good (and working) YAML.
Save yourself some debugging, stay consistent, and happy building! 
P.S.: If the docs/examples show something confusing, tag me or post here—help me help make them clearer!