Langfuse Codebase Navigator
langfuse/langfuse
Navigate Langfuse repositories, code areas, and agent skills.
A skill your agent uses when extending phx.gen.auth — adding registration fields, custom user attributes, extra migrations alongside generated auth, fixture updates.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customization --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/phoenix-auth-customization .claude/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .claude/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customizationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/phoenix-auth-customization .agents/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .agents/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/phoenix-auth-customization .cursor/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .cursor/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/j-morgan6/elixir-phoenix-guide.git --path skills/phoenix-auth-customization--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/phoenix-auth-customization .gemini/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .gemini/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customizationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/phoenix-auth-customization .github/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .github/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide phoenix-auth-customization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/j-morgan6/elixir-phoenix-guide.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/phoenix-auth-customization .opencode/skills/phoenix-auth-customization && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "phoenix-auth-customization" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/phoenix-auth-customization into .opencode/skills/phoenix-auth-customization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phoenix-auth-customization", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
phoenix-auth-customizationA skill your agent uses when extending phx.gen.auth — adding registration fields, custom user attributes, extra migrations alongside generated auth, fixture updates.
Phoenix Auth Customization is an agent skill from j-morgan6/elixir-phoenix-guide. Use when extending phx.gen.auth — adding registration fields, custom user attributes, extra migrations alongside generated auth, fixture updates.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM observability. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cdfddac. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are elixir and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Phoenix Auth Customization loads about 2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 271 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from j-morgan6/elixir-phoenix-guide at commit cdfddac, republished under its MIT licence (© j-morgan6). 271 words, ~1,963 tokens.
.claude/skills/phoenix-auth-customization/SKILL.md (or your agent's skills folder).registration_changeset to cast and validate new fields — don't create a separate changeset for initial registrationconfirmed_at: DateTime.utc_now(:second) or tests requiring authenticated users will failsave/2 handler — the form must send the field, and the handler must pass it to the contextunique_constraint + database unique index for uniqueness — never validate uniqueness in application code aloneStart with the generator, then extend. Never hand-roll auth.
# Generate auth with LiveView (recommended)
mix phx.gen.auth Accounts User users
# This creates:
# - Migration: priv/repo/migrations/*_create_users_auth_tables.exs
# - Schema: lib/my_app/accounts/user.ex
# - Scope: lib/my_app/accounts/scope.ex
# - Context: lib/my_app/accounts.ex
# - LiveViews: lib/my_app_web/live/user_live/registration.ex, login.ex,
# confirmation.ex, settings.ex
# - Controller: lib/my_app_web/controllers/user_session_controller.ex
# - Plugs: lib/my_app_web/user_auth.ex
# - Tests: test/my_app/accounts_test.exs, test/my_app_web/live/user_live/*_test.exsPhoenix 1.8's phx.gen.auth defaults to magic-link (passwordless) auth — registration has no password field unless you pass options — and generates a MyApp.Accounts.Scope module consumed as @current_scope.
mix ecto.gen.migration add_username_to_usersdefmodule MyApp.Repo.Migrations.AddUsernameToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add :username, :string, null: false
end
create unique_index(:users, [:username])
end
enddefmodule MyApp.Accounts.User do
schema "users" do
field :email, :string
field :username, :string # Add new field
field :password, :string, virtual: true, redact: true
field :hashed_password, :string, redact: true
field :confirmed_at, :utc_datetime
timestamps()
end
# Update registration_changeset to include username
def registration_changeset(user, attrs, opts \\ []) do
user
|> cast(attrs, [:email, :username, :password])
|> validate_required([:username])
|> validate_username()
|> validate_email(opts)
|> validate_password(opts)
end
defp validate_username(changeset) do
changeset
|> validate_required([:username])
|> validate_format(:username, ~r/^[a-zA-Z0-9_]+$/,
message: "only letters, numbers, and underscores"
)
|> validate_length(:username, min: 3, max: 30)
|> unsafe_validate_unique(:username, MyApp.Repo)
|> unique_constraint(:username)
end
end# In lib/my_app_web/live/user_live/registration.ex — update the form
def render(assigns) do
~H"""
<%!-- Phoenix 1.8 removed the old simple-form component; use <.form> --%>
<.form for={@form} id="registration_form" phx-submit="save" phx-change="validate">
<.input field={@form[:email]} type="email" label="Email" required />
<.input field={@form[:username]} type="text" label="Username" required />
<.input field={@form[:password]} type="password" label="Password" required />
<:actions>
<.button phx-disable-with="Creating account..." class="w-full">
Create an account
</.button>
</:actions>
</.form>
"""
end
# Update the save handler to pass username
def handle_event("save", %{"user" => user_params}, socket) do
case Accounts.register_user(user_params) do
{:ok, user} ->
# ... existing logic
{:error, %Ecto.Changeset{} = changeset} ->
{:noreply, assign_form(socket, Map.put(changeset, :action, :validate))}
end
endThis is the most commonly missed step. Every test that creates a user will break if fixtures don't include new required fields.
defmodule MyApp.AccountsFixtures do
def unique_user_email, do: "user#{System.unique_integer()}@example.com"
def unique_user_username, do: "user#{System.unique_integer([:positive])}"
def valid_user_attributes(attrs \\ %{}) do
Enum.into(attrs, %{
email: unique_user_email(),
username: unique_user_username(), # Add new required field
password: "hello world!"
})
end
def user_fixture(attrs \\ %{}) do
{:ok, user} =
attrs
|> valid_user_attributes()
|> MyApp.Accounts.register_user()
# Confirm user for password-based auth
{:ok, user} =
user
|> Ecto.Changeset.change(%{confirmed_at: DateTime.utc_now(:second)})
|> MyApp.Repo.update()
user
end
endWithout confirmed_at, the generated auth code treats the user as unconfirmed. Tests that log in users will silently fail or return unexpected redirects.
# Bad — user is unconfirmed, login tests may fail
def user_fixture(attrs \\ %{}) do
{:ok, user} =
attrs
|> valid_user_attributes()
|> MyApp.Accounts.register_user()
user # Missing confirmation!
end
# Good — user is confirmed and ready for auth tests
def user_fixture(attrs \\ %{}) do
{:ok, user} =
attrs
|> valid_user_attributes()
|> MyApp.Accounts.register_user()
{:ok, user} =
user
|> Ecto.Changeset.change(%{confirmed_at: DateTime.utc_now(:second)})
|> MyApp.Repo.update()
user
endFor non-auth fields (bio, avatar, display name), create a separate profile_changeset:
# In user.ex
def profile_changeset(user, attrs) do
user
|> cast(attrs, [:bio, :display_name, :avatar_url])
|> validate_length(:bio, max: 500)
|> validate_length(:display_name, max: 50)
end
# In accounts.ex
def update_user_profile(user, attrs) do
user
|> User.profile_changeset(attrs)
|> Repo.update()
enddescribe "register_user/1" do
test "requires username" do
{:error, changeset} = Accounts.register_user(%{
email: "test@example.com",
password: "validpassword123"
})
assert "can't be blank" in errors_on(changeset).username
end
test "validates username format" do
{:error, changeset} = Accounts.register_user(%{
email: "test@example.com",
username: "has spaces",
password: "validpassword123"
})
assert "only letters, numbers, and underscores" in errors_on(changeset).username
end
test "enforces unique username" do
%{username: username} = user_fixture()
{:error, changeset} = Accounts.register_user(%{
email: "other@example.com",
username: username,
password: "validpassword123"
})
assert "has already been taken" in errors_on(changeset).username
end
endSee ecto-changeset-patterns skill for advanced changeset composition.
See phoenix-liveview-auth skill for on_mount and auth redirect patterns.
See testing-essentials skill for comprehensive testing patterns.
© j-morgan6, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/phoenix-auth-customization of j-morgan6/elixir-phoenix-guide.
Open the folder on GitHubat commit cdfddac
Phoenix Auth Customization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Phoenix Auth Customization this skillj-morgan6/elixir-phoenix-guide | 166 | — | ~2k | Automated safety check: Pass | MIT | |
| Langfuse Codebase Navigatorlangfuse/langfuse | 36k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| LLM Trace Review Interfaceai-evals-course/evals-skills | 1.5k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Langfuse Integration Pagelangfuse/langfuse-docs | 246 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Langfuselangfuse/skills | 299 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Livetablegurujada/live_table | 211 | — | ~1.9k | Automated safety check: Pass | MIT |
langfuse/langfuse
Navigate Langfuse repositories, code areas, and agent skills.
ai-evals-course/evals-skills
Builds a browser-based annotation page for reviewing LLM traces one at a time with pass/fail labels, notes and saved results, tailored to your data.
langfuse/langfuse-docs
Create a new Langfuse integration page in the langfuse-docs repo.
langfuse/skills
Interact with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications.
gurujada/live_table
A skill your agent uses when building, modifying, or reviewing Phoenix LiveView tables with LiveTable, including schema-backed tables, context-owned data providers, joined queries, filters…
langchain-ai/langsmith-skills
Design, test, create, and attach LangSmith online evaluators for production traces or conversation threads.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when refactoring for duplication, complexity, or dead code — includes the plugin's on-demand analysis scripts.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when preparing releases or deployment config — runtime.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when a resource needs multiple changesets (registration vs update), conditional validation, field transforms, or uniqueness validation — changeset composition.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when defining schemas, writing queries, or creating migrations — schema design, Repo usage, indexes, query composition.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when a form or operation manages parent and child records together — castassoc/castembed, onreplace, Ecto.Multi across tables, FK cascade design.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when writing or refactoring core Elixir — pattern matching, case/cond/with, pipes, {:ok, }/{:error, } contracts.
Categories
A skill your agent uses when extending phx.gen.auth — adding registration fields, custom user attributes, extra migrations alongside generated auth, fixture updates. Phoenix Auth Customization is an agent skill from j-morgan6/elixir-phoenix-guide.auth — adding registration fields, custom user attributes, extra migrations alongside generated auth, fixture updates.
Phoenix Auth Customization fits situations like: extending phx.gen.auth — adding registration fields; custom user attributes; extra migrations alongside generated auth; fixture updates.
Run `npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a claude-code`. Or copy the skill folder (skills/phoenix-auth-customization in j-morgan6/elixir-phoenix-guide) into .claude/skills/phoenix-auth-customization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a codex`. Or copy the skill folder (skills/phoenix-auth-customization in j-morgan6/elixir-phoenix-guide) into .agents/skills/phoenix-auth-customization in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add j-morgan6/elixir-phoenix-guide --skill phoenix-auth-customization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/phoenix-auth-customization, .gemini/skills/phoenix-auth-customization, .github/skills/phoenix-auth-customization and .opencode/skills/phoenix-auth-customization in your project.
SKILL.md names no scripts, command-line tools or credentials: Phoenix Auth Customization is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Phoenix Auth Customization is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Phoenix Auth Customization: Langfuse Codebase Navigator (langfuse/langfuse, 36k stars), LLM Trace Review Interface (ai-evals-course/evals-skills, 1.5k stars), Langfuse Integration Page (langfuse/langfuse-docs, 246 stars) and Langfuse (langfuse/skills, 299 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
j-morgan6 (a GitHub user) maintains it in j-morgan6/elixir-phoenix-guide, which has 166 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on July 6, 2026.
Source: j-morgan6/elixir-phoenix-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.