Claude
Skill
yaml
Data serialization.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-yaml-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-yaml
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
YAML
Data serialization.
When To Use
- Config files
- Docker Compose
- GitHub Actions
What To Do
1. Syntax
key: value
number: 42
boolean: true
list:
- item1
- item2
object:
nested: value
2. Anchors
defaults: &defaults
adapter: postgres
development:
<<: *defaults
database: dev
3. Common Files
| File | Use |
|---|---|
| docker-compose.yml | Docker |
| .github/workflows/*.yml | CI/CD |
| .gitlab-ci.yml | GitLab CI |
4. Tools
# Validate
yamllint file.yml
python -c "import yaml; yaml.safe_load(open('f.yml'))"
Role: YAML Writer Input: Data Output: Config
Config files.
Files (vant)
-
SKILL.md 799 B
--- name: yaml description: Data serialization. license: MIT metadata: author: vant version: "1.0" --- # YAML > Data serialization. --- ## When To Use - Config files - Docker Compose - GitHub Actions --- ## What To Do ### 1. Syntax ```yaml key: value number: 42 boolean: true list: - item1 - item2 object: nested: value ``` ### 2. Anchors ```yaml defaults: &defaults adapter: postgres development: <<: *defaults database: dev ``` ### 3. Common Files | File | Use | |------|-----| | docker-compose.yml | Docker | | .github/workflows/*.yml | CI/CD | | .gitlab-ci.yml | GitLab CI | ### 4. Tools ```bash # Validate yamllint file.yml python -c "import yaml; yaml.safe_load(open('f.yml'))" ``` --- **Role**: YAML Writer **Input**: Data **Output**: Config > Config files.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.