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

ai-image-generator

AI 图片与视频异步生成技能,调用 AI Artist API 根据文本提示词生成图片或视频,自动轮询直到任务完成。 ⚠️ 使用前必须设置环境变量 AI_ARTIST_TOKEN 为你自己的 API Key! 获取 API Key:访问 https://staging.kocgo.vip/index 注册登录后创建。 支持图片模型:SEEDREAM5_0(默认高质量图片)、NANO_BANANA_2(轻量快速)。 支持视频模型:SEEDANCE_1_5_PRO(文生视频,支持音频)、SORA2(文生视频或首尾帧图生视频,支持 firstImageUrl/lastImageUrl)。 触发场景: - 用户要求生成图片,如"生成一匹狼"、"画一只猫"、"风景画"、"帮我画"等。 - 用户要求生成视频,如"生成视频"、"用 SORA2 生成"、"文生视频"、"图生视频"、"生成一段...的视频"等。 - 用户指定模型:SEEDREAM5_0、NANO_BANANA_2、SEEDANCE_1_5_PRO、SORA2。

Archived SourceRecently Updated
General

fosun-skills-setup-guide

复星财富 OpenAPI 技能集(fosun-skills)的安装引导与安全提示说明。当用户首次安装 fosun-skills、或对 ClawHub 安装过程中的安全风险提示有疑问时使用。

Archived SourceRecently Updated
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