Back to Registry View Author Profile
Official Verified
YAML
Write valid YAML that parses predictably across languages and versions.
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/yamlOr
Type Coercion Traps
yes,no,on,off,true,false→ boolean; quote if literal string:"yes"NO(Norway country code) → false in YAML 1.1; always quote country codes1.0→ float,1→ int; quote version numbers:"1.0"010→ octal (8) in YAML 1.1; quote or use0o10explicitlynull,~, empty value → null; quote if literal:"null","~".inf,-.inf,.nan→ special floats; quote if literal strings
Indentation
- Spaces only—tabs are forbidden and cause parse errors
- Consistent indent width required within document—2 spaces conventional
- Sequence items
-count as indentation—nested content aligns after the space
Strings
- Colon followed by space
:triggers key-value—quote strings containing: #starts comment unless quoted—quote strings with#- Leading/trailing spaces stripped from unquoted strings—quote to preserve
- Quote strings starting with
@,`,*,&,!,|,>,{,[,%
Multiline Strings
|literal block preserves newlines;>folded block joins lines with spaces- Trailing newline:
|-and>-strip final newline;|+and>+keep trailing blank lines - Indentation of first content line sets the block indent—be consistent
Structure
- Duplicate keys: YAML spec says last wins, but some parsers error—avoid duplicates
- Anchors
&nameand aliases*namereduce repetition—but aliases can't override anchor values - Document separator
---starts new document;...ends document—useful in streams - Empty documents between
---markers are valid but often unintended
Comments
#only valid at line start or after whitespace—key:value#commenthas no comment- No inline comments after multiline block scalars—comment applies to next line
- No multi-line comment syntax—each line needs
#
Compatibility
- YAML 1.1 vs 1.2: boolean words (
yes/no), octal syntax differ—know which version parser uses - JSON is valid YAML 1.2—but YAML features (anchors, multiline) don't round-trip to JSON
- Some parsers limit nesting depth or file size—test with expected data scale
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-yaml": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
ivangdavila 2190
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
ivangdavila 2190
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
ivangdavila 2190
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
ivangdavila 2190
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.
ivangdavila 2190