assigns

Delegates LiveView assigns audits to the canonical phx:assigns-audit skill.

537|38|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill assigns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assigns
Source: https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/lv/skills/assigns
Command: npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill assigns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill preserves the familiar /lv:assigns command for developers auditing Phoenix LiveView socket assigns, routing the request to the canonical assigns-audit skill so results stay consistent across the plugin.

Core Features & Use Cases

  • Compatibility Alias: Maps the legacy /lv:assigns invocation to the canonical phx:assigns-audit skill without duplicating logic.
  • Explicit Invocation Only: Disabled for automatic model invocation, so it runs only when the user explicitly calls /lv:assigns with a target file path.
  • Use Case: A developer reviewing a LiveView module runs /lv:assigns path/to/live_view.ex and receives the full assigns audit from the canonical skill, catching issues like stale or unused assigns.

Quick Start

Run /lv:assigns with the path to your LiveView module, for example /lv:assigns lib/my_app_web/live/dashboard_live.ex, to audit its socket assigns.

Frequently Asked Questions about assigns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit LiveView assigns in the Elixir Phoenix plugin?

Invoke /lv:assigns followed by the path to your LiveView module, such as /lv:assigns lib/my_app_web/live/dashboard_live.ex. The alias loads the canonical phx:assigns-audit skill, which performs the full assigns analysis.

What is the difference between /lv:assigns and phx:assigns-audit?

/lv:assigns is a compatibility alias that forwards your request to phx:assigns-audit, the canonical skill. The audit logic lives only in phx:assigns-audit, so both entry points produce identical results.

Why does the assigns skill not trigger automatically?

The skill sets disable-model-invocation to true, meaning the model cannot invoke it on its own. You must call it explicitly with /lv:assigns and a target file path.

What arguments does the LiveView assigns audit accept?

It accepts a single argument: the path to the LiveView module you want audited, such as path/to/live_view.ex. The argument is passed through to the canonical phx:assigns-audit skill.