This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
mix deps.get- Install dependenciesmix compile- Compile the projectmix run --no-halt- Run the applicationmix format- Format codemix test- Run all testsmix test test/specific_test.exs- Run a specific test filemix test test/specific_test.exs:42- Run a specific test on line 42mix backfill_tags- Run custom task to backfill tags database
- Use 2-space indentation
- Required module attributes:
@moduledoc,@implfor callbacks - Keep functions small and focused
- Put imports at the top, followed by
aliasandrequire - Prefer pattern matching over conditionals
- Use appropriate logging levels (
Logger.notice,Logger.emergency) - Group related functions together
- Use
fe/1pattern forApplication.fetch_env!calls - Follow standard Elixir naming conventions (snake_case)
- Use proper error tuple returns:
{:error, reason, context} - Document public API functions and custom mix tasks