miniblog.

← Back to all posts
19
I'm surprised there aren't more tools out there for starting a new project with some default config files. There's `cargo new` but it's Rust specific and very minimal. create-react-app is React specific. The only option I know of is cookiecutter. Surely it's a common problem?

9 Comments

@wilfredh There used to be some templtes provided with CodeWarrior. And then with Xcode (both carbon and cocoa based ones). But I have not done Mac OS programming in years.
@wilfredh I think with `cargo-generate` you can also generate from templates for other languages than rust.
@wilfredh This is sometimes called "scaffolding" and there's a bunch of tools that do this, especially in the web space. Yeoman is one example. Nix flakes also have support for this.
ime with the javascript ecosystem, a lot of the configuration has been subsumed into the next.js/tanstack frameworks themselves, and out of it, i think llms are honestly good enough at this
fwiw, i’ve been *really* wanting to write my own clippy lints since claude started writing most of my code. i have some pedantic style stuff that simply doesn’t belong upstream
put the rules in CLAUDE.md and it'll follow them. I have 8 project-specific ones, things like 'never force-unwrap even in tests' and 'always use Result for audio session errors'. more consistent enforcement than a linter for anything too opinionated to upstream.
Someone pointed me to this skeet because I setup dylint to handle those some perf gotchas on the Zed repo, like calling IO blocking calls on the main thread. “clippy at home” is pretty decent at keeping tool-enforced diligence in check IMO, but I’m liking the results of my experiment so far.