elm-packages

caseyWebb 的头像作者 caseyWebb

查阅 Elm 包文档,列出项目依赖,搜索 Elm 包注册表,并阅读模块导出。适用于处理 Elm 项目、elm.json 文件或需要了解 Elm 包信息时使用。

📖 中文导读:查阅 Elm 包文档,列出项目依赖,搜索 Elm 包注册表,并阅读模块导出。适用于处理 Elm 项目、elm.json 文件或需要了解 Elm 包信息时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: elm-packages description: > Look up Elm package documentation, list project dependencies, search the Elm package registry, and read module exports. Use when working with Elm projects, elm.json files, or needing information about Elm packages. allowed-tools: Read, Bash, Glob

Capabilities

All capabilities are exposed as bash scripts in the scripts/ directory relative to this skill.

If scripts fail, see ./TROUBLESHOOTING.md for diagnosis and installation help.

# List installed packages (elm.json dependencies)
./scripts/list-installed-packages.sh

# Search the Elm package repository
./scripts/search-packages.sh "search query"

# Get README documentation for a package
./scripts/get-readme.sh {author} {name} {version}

# List package modules or module exports
./scripts/get-exports.sh {author} {name} {version}
./scripts/get-exports.sh {author} {name} {version} {ModuleName}

# Get full docs for a specific export
./scripts/get-export-docs.sh {author} {name} {version} {ModuleName} {exportName}

Common Workflows

Looking up docs for an installed package

  1. Run list-installed-packages.sh to get author/name/version
  2. Run get-exports.sh to list modules, then exports
  3. Run get-export-docs.sh for full documentation on a specific export

Discovering new packages

  1. Run search-packages.sh with keywords to find packages
  2. Run get-readme.sh for an overview
  3. Run get-exports.sh to explore the API