When creating configuration files and build tasks, prioritize cross-platform compatibility by avoiding shell-specific syntax and considering how tools discover their configuration files across different environments.
Key considerations:
Example from mise configuration:
[tasks."check:codespell"]
description = "Check code for common misspellings"
tools.uv = ""
# Good: Uses tool that auto-discovers config, works cross-platform
run = "uv run codespell"
# Avoid: Shell-specific syntax that breaks on Windows
# run = "jj file list | xargs mise run codespell"
This approach ensures your development environment works consistently for all team members regardless of their operating system, reducing setup friction and debugging time spent on platform-specific issues.
Enter the URL of a public GitHub repository