When an application needs to store config, data, cache, or state files. When designing where user-specific files should live. When code writes to ~/.appname or hardcoded home paths. When implementing
community/jamie-bitflight-claude-skills/xdg-base-directory/SKILL.md(main)