elixir-no-placeholders

Enforce fail-fast error signaling in Elixir code and configuration.

10|2|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/mkreyman/bmad-elixir --skill elixir-no-placeholders
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir-no-placeholders
Source: https://github.com/mkreyman/bmad-elixir/tree/main/priv/skills/elixir-no-placeholders
Command: npx skills add https://github.com/mkreyman/bmad-elixir --skill elixir-no-placeholders

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces that you never ship placeholder code or silent defaults for required data. It promotes explicit errors and immediate feedback so you can catch problems early and avoid debugging nightmares.

Core Features & Use Cases

  • No Placeholder Code: Prohibits TODOs or dummy returns; enforces raising clear errors.
  • No Silent Defaults: Prevents masking missing data with default values that hide bugs.
  • Guided Debugging: Provides examples showing proper error signaling and crash-worthy patterns.

Quick Start

When implementing a new function, write a failing test first, then replace the placeholder with a real implementation that raises a clear error if not yet completed.

Frequently Asked Questions about elixir-no-placeholders

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

FAQPage Schema
How do I eliminate placeholder code and silent failures in Elixir?

Eliminate placeholder code by replacing dummy returns and TODOs with explicit error signaling using raise or not_implemented patterns. This enforces fail-fast behavior so errors surface immediately during development and testing rather than silently masking bugs with defaults.

Why should I avoid silent defaults for required data in Elixir functions?

Silent defaults hide missing or invalid data, making bugs harder to detect and debug. Explicit validation and error raising on unexpected inputs ensures you catch problems early and understand exactly where data validation failed.

How do I write tests first to prevent placeholder implementations?

Write a failing test for the function behavior you need, then replace the placeholder with an implementation that raises a clear error if incomplete. This guarantees the function fails loudly if requirements aren't met, preventing silent failures in production.

Can I apply fail-fast patterns to Elixir data schemas and configuration?

Yes, fail-fast applies to function implementations, data schemas, and configuration paths across development, testing, and CI workflows. Enforce explicit validation and error signaling at schema and config levels to catch issues before they propagate.

What's the best way to handle pattern matching without silent fallbacks in Elixir?

Avoid catch-all patterns that silently mask unexpected inputs. Use deterministic crashes with explicit error handling so unmatched cases fail loudly, making it clear when your function receives data it cannot handle.

How do I integrate fail-fast checks into Elixir CI workflows?

Enforce fail-fast patterns through automated testing and validation in your CI pipeline to catch placeholder code, silent defaults, and unhandled edge cases before deployment, ensuring explicit error signaling throughout the build process.