hex-docs-search

Hex Documentation Search

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hex-docs-search" with this command: npx skills add bradleygolden/claude-marketplace-elixir/bradleygolden-claude-marketplace-elixir-hex-docs-search

Hex Documentation Search

Search Elixir package documentation. Prioritize local sources, fetch if needed.

Search Locations (in order)

  • Project deps: deps/<package>/lib/ (source with @moduledoc/@doc), deps/<package>/doc/ (HTML if generated)

  • Fetched docs cache: .hex-docs/docs/hexpm/<package>/<version>/

  • Fetched source cache: .hex-packages/<package>-<version>/

  • HexDocs API: Programmatic search (see below)

  • Web search: Last resort with site:hexdocs.pm

Fetching Locally

Determine version from mix.lock , mix.exs , or prompt user if ambiguous.

Fetch documentation (stores in .hex-docs/)

HEX_HOME=.hex-docs mix hex.docs fetch <package> <version>

Fetch source code (if docs insufficient or unavailable)

mix hex.package fetch <package> <version> --unpack --output .hex-packages/<package>-<version>

Mention adding .hex-docs/ and .hex-packages/ to .gitignore once per session when fetching occurs.

HexDocs Search API

Powered by Typesense at search.hexdocs.pm .

Search within a specific package

curl -s "https://search.hexdocs.pm/?q=&#x3C;query>&#x26;filter_by=package:=[&#x3C;package>-&#x3C;version>]"
| jq '.hits[].document | {title, doc, url}'

Search across all packages

curl -s "https://search.hexdocs.pm/?q=&#x3C;query>"
| jq '.hits[].document | {package, title, doc}'

Response fields:

  • package : Package name

  • title : Module/function name

  • doc : Documentation text

  • url : Path to append to https://hexdocs.pm

Version Resolution

From mix.lock

grep '"<package>"' mix.lock | grep -oE '[0-9]+.[0-9]+.[0-9]+'

Latest from hex.pm

curl -s "https://hex.pm/api/packages/&#x3C;package>" | jq -r '.releases[0].version'

Key Behaviors

  • Prefer local/cached results (version matches project)

  • Show real usage examples from project codebase when relevant

  • Include file:line references for source code

  • Prompt user before fetching external packages

  • Source code @moduledoc/@doc often has more detail than HTML docs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

media-compress

Compress and convert images and videos using ffmpeg. Use when the user wants to reduce file size, change format, resize, or optimize media files. Handles common formats like JPG, PNG, WebP, MP4, MOV, WebM. Triggers on phrases like "compress image", "compress video", "reduce file size", "convert to webp/mp4", "resize image", "make image smaller", "batch compress", "optimize media".

Archived SourceRecently Updated
General

humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Archived SourceRecently Updated
General

Drawing

Generate children's drawings and coloring pages with modular prompts, style packs, and print-ready constraints across image models.

Archived SourceRecently Updated
General

ht-skills

管理灏天文库文集和文档,支持新建文集、新建文档、查询文集/文档、更新文档、修改文档归属、管理文档层级。适用于 OpenClaw 自主写文章并上传、文集创建、文档入库、文档移动等场景。

Archived SourceRecently Updated