logoalt Hacker News

sergiotapia • today at 5:56 AM • 1 reply • view on HN

Have faith, you can be the change you want to see.

At my new job we needed a robust platform for executives and ops people to vibe code in. I created the project using latest Phoenix and everything works flawlessly. We get so much for free, hosting is peanuts, and iterating is easy for the AIs.

I even have tons of really strong deterministic guardrails for people vibecoding:

    Before you commit, run mix precommit and make sure it's green.
And mix precommit is:

    precommit: [
      "compile --warnings-as-errors",
      "deps.unlock --unused",
      "format",
      "credo --strict",
      "ex_dna",
      "reach.check --arch",
      "dialyzer",
      "test"
    ]
Credo has https://github.com/elixir-vibe/ex_slop added to it.

It's really great, try it out.


Replies

cpursley • today at 6:30 AM

Yeah, I’ve got a “mix quality” task that includes that one and the dup one and skill that points at it, keeps the codebase cleaner that I could manually even before llm era. I’ve thought about building something that can detect if helper functions in a module are generic enough to consider refactoring out to an app-wide helper module, that continues to be an annoyance.