examples/elixir_programming_skills/skills/typespecs-and-behaviours/SKILL.md
--- lesson_style: summary title: Typespecs and Behaviours tags: - elixir - contracts - architecture links: - target: "[[modules-and-docs]]" rel: prereq - target: "[[otp-supervision]]" rel: related - target: "[[testing]]" rel: related source_lessons: - https://elixirschool.com/en/lessons/advanced/typespec - https://elixirschool.com/en/lessons/advanced/behaviours content_origin: Summarized from Elixir School lessons in paraphrased form. Not verbatim text. --- Summary of
npx skillsauth add pcharbon70/jido_skillset examples/elixir_programming_skills/skills/typespecs-and-behavioursInstall 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 source lessons: typespecs document expectations and improve analysis tooling, while behaviours formalize callback contracts for interchangeable modules. Together they support safer extension points and clearer API communication across teams.
Document these contracts where modules are defined in [[modules-and-docs]], apply them to long-lived service boundaries in [[otp-supervision]], and verify contract adherence in [[testing]].
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.