This is inspired by dirs-dev/dirs-rs#19.
History has proven time and time again that people can't be bothered or relied on to implement these things correctly if they aren't given a straight-forward API that does everything for them.
So it would be nice if WASI had an API that followed the individual platforms' standards instead of forcing people to poorly reinvent things on their own.
I currently tend to think offering a mid-level abstraction like https://github.com/soc/directories-rs#projectdirs would be preferable to a low-level abstraction like https://github.com/soc/dirs-rs, but I think this would be a matter of consideration and debate.
I think timing is crucial, otherwise this ecosystem just turns into a mess similar to the situation on Linux/macOS/Windows.