Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bradleygoldenv1.0.1MITIn 1 marketplace
Blocks git commits that have ExDoc warnings, such as broken references or links, by running mix docs --warnings-as-errors first. A PreToolUse hook runs it automatically before every git commit and blocks the commit on failure; projects with a precommit alias are skipped.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
exdoc, documentation-validation, pre-commit, git-hooks, mix-docs, doc-quality, validation, quality
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
ExDoc documentation validation plugin for Claude Code that ensures documentation quality by checking for issues before commits.
This plugin integrates ExDoc's documentation validation into your development workflow by running mix docs --warnings-as-errors before git commits. It prevents commits when documentation issues are detected, helping maintain high documentation quality in your Elixir projects.
/plugin marketplace add github:bradleygolden/claude-marketplace-elixir
/plugin install ex_doc@elixir
Automatically runs before git commit commands to validate documentation quality:
The plugin uses a single PreToolUse hook that:
git commit commands execute{:ex_doc in mix.exs)mix docs --warnings-as-errors to validate documentationNote: Skips if project has a precommit alias (defers to precommit plugin)
When multiple plugins run in parallel during commits, the ExDoc plugin uses atomic directory-based locking to prevent race conditions:
mix docs process runs at a time per projectmkdir to acquire an exclusive lock before generating documentation/tmp with project-specific name (automatically cleaned up)This is necessary because mix docs removes and recreates the doc/ directory, which would conflict if multiple instances ran concurrently.
Unlike other plugins that provide post-edit feedback, the ExDoc plugin only validates at commit time because:
mix docs regenerates entire documentation (10-30+ seconds), which would slow down every file editmix docs manually anytime for immediate feedbackOnce installed, the plugin automatically validates documentation before commits:
# Make changes to your code
# Edit lib/my_module.ex - add functions with @doc
# Attempt to commit
git commit -m "Add new feature"
# If documentation issues found:
# ❌ Commit is BLOCKED
# Error output shows documentation warnings/errors
# Fix the documentation issues
# Edit documentation to resolve issues
# Try commit again
git commit -m "Add new feature"
# If documentation is valid:
# ✅ Commit proceeds normally
The plugin catches common documentation problems:
@doc """
This function calls `NonExistent.function/1` # ⚠️ Warning: undefined reference
"""
def my_function do
# ...
end
@moduledoc """
See [guide](guides/missing.md) for details # ⚠️ Warning: file doesn't exist
"""
# In mix.exs
docs: [
main: "NonExistentPage" # ⚠️ Warning: main page not found
]
The plugin works with your existing ExDoc configuration in mix.exs:
def project do
[
# ... other config
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
source_url: "https://github.com/user/repo",
# Optional: Suppress specific warnings
skip_undefined_reference_warnings_on: [
"CHANGELOG.md",
"DeprecatedModule"
]
]
]
end
{:ex_doc in mix.exs)mix.exs filegit commit)If you need to commit without documentation validation temporarily:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bradleygolden/claude-marketplace-elixir --plugin ex_docPlugins from other owners that cover similar ground