AgentSkillsCN

Modules And Docs

测试

SKILL.md
--- frontmatter
lesson_style: summary
title: Modules and Documentation
tags:
  - elixir
  - structure
  - docs
links:
  - target: "[[functions]]"
    rel: prereq
  - target: "[[mix-and-projects]]"
    rel: related
  - target: "[[testing]]"
    rel: related
source_lessons:
  - https://elixirschool.com/en/lessons/basics/modules
  - https://elixirschool.com/en/lessons/basics/documentation
content_origin: Summarized from Elixir School lessons in paraphrased form. Not verbatim text.

Summary of the source lessons: modules provide namespace and API boundaries, while docs make those APIs navigable in teams and tooling. The lessons encourage consistent module shape, explicit public/private separation, and @doc examples that demonstrate expected behavior.

Treat this as the packaging layer for [[functions]], then wire it into broader lifecycle practices through [[mix-and-projects]] and validation with [[testing]].