AGENT SKILL
yaml
Data serialization.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- yaml
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Data serialization.
03 SKILL.md 正文
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.
04 同仓库更多 Skills
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16
test-regression
Verify no new bugs introduced since last release. Run full test suite against changes. Use when checking for regressions or before releases.
★ 16