Phx:Trace
ListedPhx:Trace analyzes code execution traces to pinpoint performance bottlenecks and errors, boosting debugging efficiency.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
phx-trace, not the name it is listed under, so the command below uses that name.- 1
Run this in your project
terminal$ npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-trace --full-depth -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
oliver-kriska
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
About this skill
What it does
The phx:trace skill allows you to inspect the state of your Phoenix LiveView application during runtime. It provides detailed information about events, contexts, and assigns at each stage of a LiveView's lifecycle. This is invaluable for debugging complex interactions and understanding data flow within your application.
When to use it
- Debugging LiveView issues: Identify unexpected behavior or incorrect data being passed between the server and client.
- Understanding event handling: Trace the execution path of events, from initial dispatch to final processing.
- Analyzing context and assign updates: Inspect how context and assigns change throughout a LiveView's lifecycle.
- Performance profiling: Gain insights into which parts of your LiveView are taking the most time to execute.
Key capabilities
- Detailed event tracing
- Context inspection
- Assign tracking
- Lifecycle stage visibility
Example prompts
- "Trace all events in my
MyLiveViewcomponent." - "Show me the context and assigns for the
handle_eventfunction inMyLiveView." - "Debug why my assign isn't updating correctly in
MyLiveView."
Tips & gotchas
This skill is designed specifically for Phoenix LiveView applications. Ensure your environment is set up to support LiveView debugging before using this skill.