Claude-elixir-phoenix phx:help
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.
install
source · Clone the upstream repo
git clone https://github.com/oliver-kriska/claude-elixir-phoenix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/oliver-kriska/claude-elixir-phoenix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/elixir-phoenix/skills/help" ~/.claude/skills/oliver-kriska-claude-elixir-phoenix-phx-help && rm -rf "$T"
manifest:
plugins/elixir-phoenix/skills/help/SKILL.mdsource content
Plugin Help — Interactive Command Advisor
Helps users find the right command, skill, or agent for their situation.
Usage
/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 do$ARGUMENTS- Empty = analyze current context (git status, existing plans, file patterns)
Execution Flow
Step 1: Gather Context
If
$ARGUMENTS is non-empty, use it as primary signal.
Always gather ambient context (run in parallel):
- Check for existing plans: use Glob on
— active work in progress?.claude/plans/*/plan.md - Check git status: uncommitted changes? which files?
- Check for solution docs: use Glob on
— prior knowledge?.claude/solutions/**/*.md
Step 2: Classify Intent
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 | |
| Ideation | "explore", "brainstorm", "not sure", "how to approach", "vague idea" | |
| New feature | "add", "build", "implement", multi-file | → |
| Quick change | Single file, <50 lines, "fix typo" | |
| Bug | Error, stack trace, "broken", "failing" | |
| Review | "check", "review", PR ready | |
| Performance | "slow", "N+1", "memory" | , , |
| Research | "how to", "best practice", "evaluate lib" | |
| Resume work | Existing plan with unchecked tasks | |
| Post-fix | "that worked", solved a hard bug | |
| Full cycle | Large feature, new domain area | |
| Project health | "audit", "tech debt", "overall quality" | , |
| Deployment | "deploy", "release", "production" | then deploy skill |
| Permissions | "too many prompts", "allow", "permission fatigue" | |
Step 3: Respond or Clarify
If high confidence (clear match to one category): Present the recommendation with:
- The command to run (with exact syntax)
- One-line explanation of what it does
- What artifacts it creates (if any)
- Suggested next step after it completes
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:
- "Are you starting something new or continuing existing work?"
- "Is this a bug fix or a new feature?"
- "How many files do you expect to change?"
Then recommend based on the answer.
Step 4: Offer Follow-up
After recommending, always add:
- "Run
anytime to get routing advice"/phx:help - If they seem new: "Try
for a full plugin walkthrough"/phx:intro
Iron Laws
- ONE recommendation — don't dump the full catalog, pick the best match
- MAX ONE clarifying question — don't interrogate, make your best guess
- Show exact syntax —
not just "use the plan command"/phx:plan Add user notifications - Context over keywords — existing plans + git state matter more than word matching
- Never block — if user already knows what they want, don't redirect
Integration
- Complements
(auto-trigger) with explicit invocationintent-detection - References same routing logic but adds interactive clarification
- Can recommend
for onboarding/phx:intro