Kubeshark Installer
kubeshark/kubeshark
Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.
A skill your agent uses when preparing releases or deployment config — runtime.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks.
$ npx skills add j-morgan6/elixir-phoenix-guide --skill deployment-gotchas -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide deployment-gotchas --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/deployment-gotchas .claude/skills/deployment-gotchas && 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 "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .claude/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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/deployment-gotchasType 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 deployment-gotchas -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide deployment-gotchas --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/deployment-gotchas .agents/skills/deployment-gotchas && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .agents/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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 deployment-gotchas -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide deployment-gotchas --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/deployment-gotchas .cursor/skills/deployment-gotchas && 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 "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .cursor/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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/deployment-gotchas--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 deployment-gotchas -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install j-morgan6/elixir-phoenix-guide deployment-gotchas --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/deployment-gotchas .gemini/skills/deployment-gotchas && 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 "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .gemini/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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 deployment-gotchasInstalls 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 deployment-gotchas -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/deployment-gotchas .github/skills/deployment-gotchas && 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 "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .github/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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 deployment-gotchas -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 deployment-gotchas --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/deployment-gotchas .opencode/skills/deployment-gotchas && 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 "deployment-gotchas" agent skill from https://github.com/j-morgan6/elixir-phoenix-guide/tree/main/skills/deployment-gotchas into .opencode/skills/deployment-gotchas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deployment-gotchas", 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.
deployment-gotchasA skill your agent uses when preparing releases or deployment config — runtime.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks.
Deployment Gotchas is an agent skill from j-morgan6/elixir-phoenix-guide. Use when preparing releases or deployment config — runtime.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks.
Its SKILL.md is about 2.6k 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 DevOps & Cloud, covering Deployment. The licence is MIT.
7 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.
Shell commands in SKILL.md call:
sshFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use ssh, which can reach the network depending on how they are called.
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.
Deployment Gotchas loads about 2.6k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 789 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). 789 words, ~2,553 tokens.
.claude/skills/deployment-gotchas/SKILL.md (or your agent's skills folder).Not a deployment guide — these are the 7 things that break every first Phoenix deploy. Every rule maps to a real production incident pattern.
runtime.exs for secrets and URLs — config.exs/prod.exs are compiled into the release and cannot read env vars at bootbin/migrate) — mix is not available in production releasesPHX_HOST and PHX_SERVER=true — without these, URL generation breaks and the server won't startmix assets.deploy before building the release — forgetting this means no CSS/JS in productionSystem.fetch_env!/1 in runtime.exs (the ! crashes on boot if missing, which is what you want)config :logger, level: :info in production — :debug logs query parameters including user dataThe incident: App deploys fine but uses the wrong database URL. DATABASE_URL was set correctly in the environment, but the release ignores it.
Why: config.exs and prod.exs are evaluated at compile time and baked into the release. runtime.exs is evaluated at boot time and can read environment variables.
Bad:
# config/prod.exs — compiled into release, cannot read env vars at boot
config :my_app, MyApp.Repo,
# Evaluated at BUILD time — captures the build machine's env, not the
# runtime env. Silently wrong in a release; use runtime.exs instead.
url: System.get_env("DATABASE_URL")Good:
# config/runtime.exs — evaluated at boot, reads env vars correctly
if config_env() == :prod do
database_url = System.fetch_env!("DATABASE_URL")
config :my_app, MyApp.Repo,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
endRule of thumb: If the value comes from the environment, it goes in runtime.exs. If it's a static setting, it goes in config.exs.
The incident: Deploy succeeds but the app crashes on boot because new columns don't exist. Developer tries mix ecto.migrate on the server — mix: command not found.
Why: Production releases don't include Mix or the Elixir compiler. Migrations must be run via release commands.
Bad:
# mix is not available in production releases
ssh prod-server "cd /app && mix ecto.migrate"Good:
# lib/my_app/release.ex
defmodule MyApp.Release do
@app :my_app
def migrate do
load_app()
for repo <- repos() do
{:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true))
end
end
def rollback(repo, version) do
load_app()
{:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :down, to: version))
end
defp repos do
Application.fetch_env!(@app, :ecto_repos)
end
defp load_app do
Application.ensure_all_started(:ssl)
Application.load(@app)
end
end# Run migrations in production
bin/my_app eval "MyApp.Release.migrate()"
# Or via rel/overlays if configured
bin/migrateThe incident: Deploy succeeds, health check passes, but all URLs in emails and redirects point to localhost:4000. Or worse — the server doesn't start at all.
Why: Without PHX_SERVER=true, the Phoenix endpoint doesn't start its HTTP listener. Without PHX_HOST, URL helpers generate localhost URLs.
Bad:
# config/runtime.exs — missing host and server config
config :my_app, MyAppWeb.Endpoint,
url: [host: "localhost"], # Wrong in production!
http: [port: 4000]
# Server doesn't start without server: trueGood:
# config/runtime.exs
if config_env() == :prod do
host = System.fetch_env!("PHX_HOST")
port = String.to_integer(System.get_env("PORT") || "4000")
config :my_app, MyAppWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
http: [ip: {0, 0, 0, 0}, port: port],
server: true # Or set PHX_SERVER=true env var
endThe incident: App deploys, pages load, but CSS/JS are missing. The page is unstyled raw HTML.
Why: Assets must be compiled and digested before the release is built. The release bundles priv/static — if assets aren't there at build time, they won't be in the release.
Bad:
# Dockerfile — builds release without compiling assets
RUN mix releaseGood:
# Dockerfile — correct order
RUN mix assets.deploy
RUN mix release# Manual build order
mix deps.get --only prod
MIX_ENV=prod mix compile
MIX_ENV=prod mix assets.deploy # Must come before release
MIX_ENV=prod mix releaseWhat mix assets.deploy does:
tailwind and esbuild to compile CSS/JSphx.digest to fingerprint files for cache bustingcache_manifest.json for the endpoint to serveThe incident: Secret key leaks into git history via config/prod.exs. Rotating it requires a new release.
Why: Secrets in compiled config are baked into the release binary and visible in version control.
Bad:
# config/prod.exs — secret in source code
config :my_app, MyAppWeb.Endpoint,
secret_key_base: "actual_secret_key_here_in_git_history"Good:
# config/runtime.exs — read from environment, crash if missing
if config_env() == :prod do
secret_key_base = System.fetch_env!("SECRET_KEY_BASE")
config :my_app, MyAppWeb.Endpoint,
secret_key_base: secret_key_base
endWhy fetch_env! (with bang): If the secret is missing, the app crashes immediately on boot with a clear error. Plain System.get_env/1 returns nil when missing and fails later with a confusing error.
# Generate a secret
mix phx.gen.secret
# Set in environment (never in source)
export SECRET_KEY_BASE="generated_secret_here"The incident: Load balancer reports the app is healthy, but users see 500 errors. The app boots fine but can't connect to the database.
Why: A simple 200 OK endpoint proves the HTTP server started but nothing else. A health check that queries the database proves the full stack works.
Bad:
# Just proves the server started
get "/health", PageController, :health
def health(conn, _params) do
send_resp(conn, 200, "OK")
endLiveness vs readiness: a load balancer liveness probe should return 200 without touching the database — a transient DB blip must not remove the whole fleet. Point deep checks (DB query below) at a readiness probe only.
Good:
# router.ex
get "/health/live", HealthController, :live
get "/health/ready", HealthController, :ready
# lib/my_app_web/controllers/health_controller.ex
defmodule MyAppWeb.HealthController do
use MyAppWeb, :controller
# Liveness: proves the BEAM is up and the endpoint is responding.
# No DB query — a slow/unavailable database must not take down the
# whole fleet just because one instance can't reach it.
def live(conn, _params) do
send_resp(conn, 200, "OK")
end
# Readiness: proves this instance can actually serve traffic.
def ready(conn, _params) do
case Ecto.Adapters.SQL.query(MyApp.Repo, "SELECT 1") do
{:ok, _} ->
json(conn, %{status: "ok", database: "connected"})
{:error, reason} ->
conn
|> put_status(:service_unavailable)
|> json(%{status: "error", database: inspect(reason)})
end
end
endConfigure your load balancer with two probes: liveness at /health/live
(restart the instance if this fails) and readiness at /health/ready (stop
routing traffic to this instance if this fails, but don't restart it — the
rest of the fleet may still be healthy). Collapsing both into one /health
endpoint means a DB blip either gets masked (if it's a shallow check) or
takes healthy instances out of rotation right when the DB needs the load
to drop (if it's a deep check without the liveness/readiness split).
The incident: App runs fine but storage costs spike. Investigation reveals debug logs are writing gigabytes per day, including full SQL queries with user data (emails, addresses).
Why: Ecto logs all queries at :debug level, including query parameters. In production, this means PII in your logs.
Bad:
# config/prod.exs
config :logger, level: :debug # Logs everything including query paramsGood:
# config/prod.exs
config :logger, level: :info
# config/runtime.exs — allow override for debugging
if config_env() == :prod do
log_level =
case System.get_env("LOG_LEVEL") do
"debug" -> :debug
"warning" -> :warning
"error" -> :error
_ -> :info
end
config :logger, level: log_level
endWhat each level includes:
:debug — SQL queries with parameters, internal state, PII risk:info — Request lifecycle, business events (recommended for production):warning — Recoverable problems:error — Failures requiring attentionThis skill does not cover platform-specific deployment:
These are deployment-platform docs, not Phoenix-specific gotchas.
See telemetry-essentials skill for production logging and observability patterns.
See security-essentials skill for secrets management and dependency auditing.
© 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/deployment-gotchas of j-morgan6/elixir-phoenix-guide.
Open the folder on GitHubat commit cdfddac
Deployment Gotchas 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 |
|---|---|---|---|---|---|---|
| Deployment Gotchas this skillj-morgan6/elixir-phoenix-guide | 166 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Kubeshark Installerkubeshark/kubeshark | 12k | — | ~3.6k | Automated safety check: Notes | Apache-2.0 | |
| GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb | 6.7k | — | ~4k | Automated safety check: Notes | Apache-2.0 | |
| KubeSphere ServiceMesh Managerkubesphere/kubesphere | 17k | — | ~2.4k | Automated safety check: Pass | Custom licence | |
| Vercelremotion-dev/remotion | 63k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| AWS Cdk Developmentzxkane/aws-skills | 367 | 2 repos | ~2.5k | Automated safety check: Pass | MIT |
kubeshark/kubeshark
Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.
GreptimeTeam/greptimedb
Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.
kubesphere/kubesphere
Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.
remotion-dev/remotion
Set up a Codex monitor for Vercel deployments and preview URLs.
zxkane/aws-skills
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
maslennikov-ig/claude-code-orchestrator-kit
Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…
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 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.
j-morgan6/elixir-phoenix-guide
A skill your agent uses when writing background jobs with Oban — worker options, return contracts, idempotency, uniqueness, Oban.Testing.
Categories
A skill your agent uses when preparing releases or deployment config — runtime.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks. Deployment Gotchas is an agent skill from j-morgan6/elixir-phoenix-guide.exs vs compile-time config, release migrations, PHXHOST/PHXSERVER, assets, health checks.
Deployment Gotchas fits situations like: preparing releases; deployment config — runtime.exs vs compile-time config; release migrations; PHXHOST/PHXSERVER.
Run `npx skills add j-morgan6/elixir-phoenix-guide --skill deployment-gotchas -a claude-code`. Or copy the skill folder (skills/deployment-gotchas in j-morgan6/elixir-phoenix-guide) into .claude/skills/deployment-gotchas in your project. Claude Code loads it when a task matches its description.
Run `npx skills add j-morgan6/elixir-phoenix-guide --skill deployment-gotchas -a codex`. Or copy the skill folder (skills/deployment-gotchas in j-morgan6/elixir-phoenix-guide) into .agents/skills/deployment-gotchas 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 deployment-gotchas -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deployment-gotchas, .gemini/skills/deployment-gotchas, .github/skills/deployment-gotchas and .opencode/skills/deployment-gotchas in your project.
Going by SKILL.md and its folder, Deployment Gotchas needs the command-line tools its instructions call (ssh). Our summary lists: Docker.
SKILL.md contains no URLs. Its commands use ssh, which can reach the network depending on how they are called. 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.
Deployment Gotchas is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k 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 Deployment Gotchas: Kubeshark Installer (kubeshark/kubeshark, 12k stars), GreptimeDB Dev Docker Image (GreptimeTeam/greptimedb, 6.7k stars), KubeSphere ServiceMesh Manager (kubesphere/kubesphere, 17k stars) and Vercel (remotion-dev/remotion, 63k 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.