liveview-code-review

Community

Review LiveView code for best practices.

Authorjavierhbr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the review of Phoenix LiveView code, identifying common anti-patterns, security vulnerabilities, and areas for performance optimization, ensuring code quality and maintainability.

Core Features & Use Cases

  • Lifecycle Pattern Analysis: Checks for correct usage of mount, handle_params, handle_event, and handle_async.
  • Assigns vs. Streams: Verifies appropriate use of assigns and streams for data management.
  • Component Best Practices: Reviews LiveComponent and Function Component implementation, including slot usage.
  • Security Audits: Identifies potential security risks like unvalidated inputs and sensitive data exposure.
  • Use Case: A developer submits a new LiveView module for a real-time dashboard. This Skill analyzes the code, flagging an instance where sensitive user data was accidentally included in assigns and suggesting the use of streams for a large, paginated list.

Quick Start

Use the liveview-code-review skill to analyze the file '/path/to/your/liveview_module.ex'.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: liveview-code-review
Download link: https://github.com/javierhbr/random-poc/archive/main.zip#liveview-code-review

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.