This workflow synchronizes and standardizes the YAML frontmatter of Markdown notes within the Obsidian Vault directory: /Users/keira/Documents/GitHub/Obsidian Vault Mac/.
/Users/keira/Documents/GitHub/Obsidian Vault Mac/10_Projects/, 20_Areas/, 30_Resources/).Map each folder path to its designated YAML frontmatter schema:
- 10_Projects/Consultancy/Wedding/T&J:
yaml
category: consultancy
field: "wedding"
project: "tj"
tags:
- consultancy
type: note
- 10_Projects/Consultancy/Others/ANMA:
yaml
category: consultancy
field: "wellness"
project: "anma"
tags:
- consultancy
type: note
- 10_Projects/Personal_Projects/VWG:
yaml
category: personal-project
field: "wedding"
project: "vwg"
tags:
- personal_project
type: note
- 20_Areas/Spiritual:
yaml
category: spiritual
tags:
- astrology
- profile
type: note
- 20_Areas/Tech_Learning:
yaml
category: learning
tags:
- tech
- ba
type: note
bash
python3 "/Users/keira/Documents/GitHub/Obsidian Vault Mac/update_yaml.py"Created: and merge the missing keys carefully to prevent data loss.