Creates a new Phoenix project that already satisfies every CodeMySpec harness convention.
$ mix cms.new PATH [--module MODULE] [--app APP]
This is mix phx.new with the CodeMySpec conventions baked into the
templates rather than applied afterwards by an agent. A project generated
here passes all of CodeMySpec.AgentTasks.ProjectSetup's checks on first
sync, with zero model turns:
mix.exscarries the harness deps, theboundary/spexcompilers, andpreferred_envs: [spex: :test]- the Application module is emitted into the web namespace
ConnCase/DataCaselive in the<App>Testnamespace, with__using__shims so stockmix phx.gen.*output still compiles- boundary modules, the
<App>Spex.Casebase case,.credo.exs, and the.code_my_spec/skeleton all exist
AGENTS.md, CLAUDE.md, and .code_my_spec/rules/ are deliberately NOT
emitted here — the harness owns that content and installs it at
cms init, so there is exactly one source of truth for it.
Every flag mix phx.new accepts is accepted here and behaves identically;
see mix help phx.new for the full list.