lv-assigns SKILL.md skillA

lv-assigns from oliver-kriska/claude-elixir-phoenix is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add oliver-kriska/claude-elixir-phoenix/lv-assigns@git:20260723.d82e8e5

Pins git:20260723.d82e8e5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
oliver-kriska/claude-elixir-phoenix
Path
targets/codex/skills/lv-assigns/SKILL.md
Versions recorded
2
Latest version
git:20260723.d82e8e5, committed Jul 23, 2026
First version recorded
Jul 21, 2026
Size
2,843 bytes
Repository stars
573
License
MIT

Inspect LiveView socket assigns for memory bloat — missing; Use when.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# LiveView Assigns Audit

Analyze LiveView socket assigns for memory efficiency, clarity, and best practices.

## Iron Laws - Never Violate These

1. **Use streams for lists > 100 items** - Never store large lists directly in assigns
2. **Use temporary_assigns for transient data** - Flash messages, temp errors, notifications
3. **Preload only needed fields** - Don't store full Ecto schemas when only needing subset
4. **Initialize all assigns in mount** - Never access assigns that might not exist
5. **NEVER modify assigns or code during audit** — this is a read-only diagnostic; report findings only

## Quick Audit Commands

### Extract All Assigns

Use Grep to find all `assign(` and `assign_new(` calls in the target LiveView file.

### Find Large Data Patterns

Use Grep to find large data patterns: lists stored in assigns (`assign.*\[\]`, `assign.*Repo\.all`) and full schema storage (`assign.*Repo\.get`) in the target file.

## Audit Checklist

### 1. Memory Issues

| Pattern | Problem | Solution |
|---------|---------|----------|
| `assign(:items, Repo.all(...))` | Unbounded list | Use `stream/3` |
| `assign(:user, Repo.get!(...))` | Full schema | Select only needed fields |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add oliver-kriska/claude-elixir-phoenix/lv-assigns@sha256:f2b15980fda342ff

The line at the top of this page pins the label git:20260723.d82e8e5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4m6qyuwkchlcx7ju.svg)](https://markdownregistry.com/a/art_4m6qyuwkchlcx7ju)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 21, 2026 and Jul 23, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260723.d82e8e5 latest2026-07-23 d82e8e5 2,843 BA view · diff
git:20260721.1a431372026-07-21 1a43137 2,931 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2843 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

oliver-kriska/claude-elixir-phoenix · 573 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4m6qyuwkchlcx7ju
GET https://markdownregistry.com/api/v1/resolve?ref=oliver-kriska/claude-elixir-phoenix/lv-assigns
GET https://markdownregistry.com/api/v1/blob/f2b15980fda342ff25021310eaa08ba5eb401fe10dd01f2dec3f25a3ad1d803a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from oliver-kriska/claude-elixir-phoenix

cc-changelog SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/cc-changelog/SKILL.md · CONTRIBUTOR TOOL - Track CC changelog, extract new versions since last check, analyze impact on plugin (breaking…
git:20260611.6992d66 · audit A · 573 stars
codex-ab SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/codex-ab/SKILL.md · Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on…
git:20260710.9a61290 · audit A · 573 stars
docs-check SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/docs-check/SKILL.md · CONTRIBUTOR TOOL - Validate plugin against latest Claude Code documentation. Catches breaking changes, deprecations…
git:20260217.1cf0144 · audit A · 573 stars
plugin-dev-workflow SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/plugin-dev-workflow/SKILL.md · Guide plugin development workflow — editing skills, agents, hooks, or eval framework in this repo. Use when modifying…
git:20261001.8fc26af · audit A · 573 stars
promote SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/promote/SKILL.md · Generate X/Twitter release promotion posts with ASCII tables and CodeSnap rendering. Use when writing release posts…
git:20260403.784ba36 · audit A · 573 stars
release SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/release/SKILL.md · CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on…
git:20260929.978317b · audit A · 573 stars
session-deep-dive SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-deep-dive/SKILL.md · Deep qualitative analysis of high-signal sessions. Spawns subagents with v2 template, synthesizes patterns, compares…
git:20260303.db45ce1 · audit A · 573 stars
session-scan SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-scan/SKILL.md · Compute metrics for Claude Code sessions. Discovers via ccrider, filters trivial, computes…
git:20260303.db45ce1 · audit A · 573 stars
session-trends SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/session-trends/SKILL.md · Analyze trends across session metrics. Computes windowed aggregates, deltas, and compares against MEMORY.md findings…
git:20260508.18aaa0f · audit A · 573 stars
skill-monitor SKILL.md skill
oliver-kriska/claude-elixir-phoenix · .claude/skills/skill-monitor/SKILL.md · Analyze skill effectiveness across sessions. Computes per-skill metrics (action rate, friction, outcomes), identifies…
git:20260508.9272353 · audit A · 573 stars
CLAUDE.md CLAUDE.md file
oliver-kriska/claude-elixir-phoenix · CLAUDE.md
git:20261102.4621ae4 · audit A · 573 stars
lab:autoresearch SKILL.md skill
oliver-kriska/claude-elixir-phoenix · lab/autoresearch/SKILL.md · Self-improving loop for plugin skills. Reads program.md, proposes one mutation per iteration, evaluates against…
git:20260325.91f9837 · audit A · 573 stars

Every file in oliver-kriska/claude-elixir-phoenix

Other files named lv-assigns

lv-assigns SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/amp/skills/lv-assigns/SKILL.md · Inspect LiveView socket assigns for memory bloat — missing temporary_assigns,
git:20260721.df395b3 · audit A · 573 stars
lv-assigns SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/dsh/skills/lv-assigns/SKILL.md · Inspect LiveView socket assigns for memory bloat — missing temporary_assigns,
git:20260827.608d322 · audit A · 573 stars

Browse by kind, by grade A, or by owner.