targets/amp/skills/phx-help/SKILL.md
Recommend the right phx-* command for planning, review, debug, deploy, or test tasks. Use when "which command", "what should I use", or "how do I". NOT for /help.
npx skillsauth add oliver-kriska/claude-elixir-phoenix phx-helpInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Helps users find the right command, skill, or agent for their situation.
phx-help # Analyze context, suggest commands
phx-help how do I debug this? # Route to phx-investigate
phx-help add a new feature # Route to phx-plan -> phx-work
$ARGUMENTS — optional description of what the user wants to doIf $ARGUMENTS is non-empty, use it as primary signal.
Always gather ambient context (run in parallel):
.claude/plans/*/plan.md — active work in progress?.claude/solutions/**/*.md — prior knowledge?Read references/tool-catalog.md for the full routing table.
Map the user's situation to one of these categories:
| Category | Signals | Primary Commands |
|----------|---------|-----------------|
| Starting out | No plans, new to plugin | phx-intro |
| Ideation | "explore", "brainstorm", "not sure", "how to approach", "vague idea" | phx-brainstorm |
| New feature | "add", "build", "implement", multi-file | phx-plan → phx-work |
| Quick change | Single file, <50 lines, "fix typo" | phx-quick |
| Bug | Error, stack trace, "broken", "failing" | phx-investigate |
| Review | "check", "review", PR ready | phx-review |
| Performance | "slow", "N+1", "memory" | phx-perf, ecto-n1-check, lv-assigns |
| Research | "how to", "best practice", "evaluate lib" | phx-research |
| Resume work | Existing plan with unchecked tasks | phx-work --continue |
| Post-fix | "that worked", solved a hard bug | phx-compound |
| Full cycle | Large feature, new domain area | phx-full |
| Project health | "audit", "tech debt", "overall quality" | phx-audit, phx-techdebt |
| Dep update audit | "audit deps", "supply chain", "post-mix deps.update", "review mix.lock PR" | phx-deps-audit |
| Manual dep vetting | "vet this package", "approve dep", "trust ledger", "after phx-deps-audit findings" | phx-deps-vet |
| Deployment | "deploy", "release", "production" | phx-verify then deploy skill |
| Permissions | "too many prompts", "allow", "permission fatigue" | phx-permissions |
| Returning after time off | "what did I miss", "back from vacation", "catch up", "what changed while I was out" | /catchup (companion plugin, separate install) |
If high confidence (clear match to one category): Present the recommendation with:
If medium confidence (2-3 possible matches):
Use AskUserQuestion with the top options, each with a one-line explanation.
If low confidence (vague or no signal): Ask ONE focused clarifying question. Examples:
Then recommend based on the answer.
After recommending, always add:
phx-help anytime to get routing advice"phx-intro for a full plugin walkthrough"phx-plan Add user notifications not just "use the plan command"intent-detection (auto-trigger) with explicit invocationphx-intro for onboardingtools
Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.
development
Trace Elixir call trees from entry points via mix xref. Use when debugging data flow, planning signature changes, or understanding how a bug reaches code.
tools
Compatibility alias for the Elixir/Phoenix plugin's N+1 query checker. Invoke explicitly with /ecto:n1-check.
tools
Compatibility alias for the Elixir/Phoenix plugin's Ecto constraint debugger. Invoke explicitly with /ecto:constraint-debug.