narrow-bare-rescue SKILL.md skillA

narrow-bare-rescue 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/narrow-bare-rescue@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/narrow-bare-rescue/SKILL.md
Versions recorded
2
Latest version
git:20260723.d82e8e5, committed Jul 23, 2026
First version recorded
Jul 21, 2026
Size
5,343 bytes
Repository stars
573
License
MIT

Narrow bare rescue in Elixir so real errors like KeyError and typos;.

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

# Narrow Bare Rescue

Turn `rescue _ -> fallback` into `rescue _ in [ExceptionType1, ExceptionType2] -> fallback`
so programmer bugs propagate while known failure modes stay handled.

## Why this matters

Bare rescues (`rescue _ ->`, `rescue e ->` — any form without an `in` clause) swallow
**every** exception, including `UndefinedFunctionError` from typos, `KeyError` from
misspelled map keys, and `CompileError` from bad HEEx templates. The symptom isn't a stack
trace — it's a silent `{:error, :generic}` or a `nil` fallback. Bugs that should surface
in tests or error reporters become quiet degradations.

The Erlang [Secure Coding Guide](https://www.erlang.org/doc/system/secure_coding.html) makes
the same case at the BEAM level — rule **LNG-002** ("Do Not Use `catch`") warns that the
legacy catch-all form conflates normal returns, throws, and errors. Bare `rescue` in Elixir
is the direct analogue.

## Iron Laws

1. **Never leave `rescue _ ->` or `rescue e ->` without an `in` clause.** Every rescue must
   list exact exception types. The Credo check enforces this after cleanup lands.
2. **Cover every exception the code path can actually raise.** Narrowing that drops a real
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add oliver-kriska/claude-elixir-phoenix/narrow-bare-rescue@sha256:eedf91822102b6ae

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_m3srapbfc74hpxfb.svg)](https://markdownregistry.com/a/art_m3srapbfc74hpxfb)

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 5,343 BA view · diff
git:20260721.1a431372026-07-21 1a43137 5,380 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 (5343 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_m3srapbfc74hpxfb
GET https://markdownregistry.com/api/v1/resolve?ref=oliver-kriska/claude-elixir-phoenix/narrow-bare-rescue
GET https://markdownregistry.com/api/v1/blob/eedf91822102b6ae1466e4ebc37fedfdf9e9d4a8bf01da8e841917dbe9514f26

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 narrow-bare-rescue

narrow-bare-rescue SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/dsh/skills/narrow-bare-rescue/SKILL.md · Narrow bare rescue in Elixir so real errors like KeyError and typos propagate
git:20260827.608d322 · audit A · 573 stars
narrow-bare-rescue SKILL.md skill
oliver-kriska/claude-elixir-phoenix · plugins/elixir-phoenix/skills/narrow-bare-rescue/SKILL.md · Narrow bare rescue in Elixir so real errors like KeyError and typos propagate instead of being swallowed. Use to audit…
git:20260703.22397cb · audit A · 573 stars
narrow-bare-rescue SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/amp/skills/narrow-bare-rescue/SKILL.md · Narrow bare rescue in Elixir so real errors like KeyError and typos propagate
git:20260721.df395b3 · audit A · 573 stars

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