examples/elixir_programming_skills/skills/pattern-matching/SKILL.md
--- lesson_style: summary title: Pattern Matching tags: - elixir - basics - data-shaping links: - target: "[[basics]]" rel: prereq - target: "[[control-structures]]" rel: related - target: "[[functions]]" rel: related source_lessons: - https://elixirschool.com/en/lessons/basics/pattern_matching content_origin: Summarized from Elixir School lessons in paraphrased form. Not verbatim text. --- Summary of the lesson: matching is not assignment in the imperative sense; it is
npx skillsauth add pcharbon70/jido_skillset examples/elixir_programming_skills/skills/pattern-matchingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Summary of the lesson: matching is not assignment in the imperative sense; it is a structural check that either succeeds and binds values or fails loudly. The material highlights destructuring across tuples, lists, and maps, plus guardrails such as the pin operator when preserving an existing binding.
Pattern matching is used directly in [[control-structures]] (case/with) and function clause selection in [[functions]].
Before this topic, solidify collection fundamentals in [[basics]].
testing
--- title: bad tags: [one, two --- Invalid yaml frontmatter.
testing
B links back to [[a]].
testing
A links to [[b]].
testing
--- title: Beta --- Beta body.