exdoc-config
Configures ExDoc for Elixir projects including mix.exs setup, extras, groups, cheatsheets, and livebooks. Use when setting up or modifying ExDoc documentation generation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anderskev/exdoc-configWhat This Skill Does
The exdoc-config skill is a dedicated developer-tools agent designed to streamline the documentation process for Elixir projects. It provides comprehensive automation and guidance for setting up, configuring, and maintaining the ExDoc documentation generator. The skill handles the complexities of mix.exs integration, enabling users to effortlessly generate professional API references, integration guides, cheatsheets, and livebooks from their codebase. By automating the boilerplate code required for the docs/0 function and dependency management, it ensures that your project documentation remains consistent, professional, and easy to navigate for your end-users.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/anderskev/exdoc-config
Ensure that you are within an active Elixir project directory before invoking the skill, as it will need to interact with your mix.exs configuration file.
Use Cases
- Project Initialization: Quickly bootstrap ExDoc configuration for a new library, including dependency declaration and initial
docs/0function setup. - Documentation Enrichment: Easily add secondary documentation formats such as
.cheatmd(cheatsheets) or.livemd(Livebook) to an existing project. - Configuration Refinement: Update project metadata, such as logo paths, homepage URLs, and output directories, to match updated project requirements.
- Structural Organization: Implement advanced grouping strategies for complex modules or multiple guide categories to improve documentation readability.
Example Prompts
- "Configure my mix.exs file for ExDoc and set up the docs/0 function with the README as the main landing page."
- "I need to organize my modules into groups in the ExDoc output; can you help me update my docs function to include the necessary groups_for_modules logic?"
- "Please add my new guides folder, specifically 'guides/deployment.md' and 'guides/api-reference.md', to my ExDoc extras list."
Tips & Limitations
- File Paths: Always ensure that paths defined in the
extraslist are relative to the project root to prevent path resolution errors. - Version Matching: Keep an eye on the
source_refoption. If you are preparing for a release, ensure this points to your intended tag to provide users with accurate 'View Source' links. - Limitations: While the skill can generate the necessary code, it cannot automatically audit existing complex documentation structures; it works best when you provide the specific configuration needs or module lists.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anderskev-exdoc-config": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
tutorial-docs
Tutorial patterns for documentation - learning-oriented guides that teach through guided doing
fetch-pr-feedback
Fetch review comments from a PR and evaluate with receive-feedback skill
swift-testing-code-review
Reviews Swift Testing code for proper use of
rust-testing-code-review
Reviews Rust test code for unit test patterns, integration test structure, async testing, mocking approaches, and property-based testing. Covers Rust 2024 edition changes including async fn in traits for mocks,
explanation-docs
Explanation documentation patterns for understanding-oriented content - conceptual guides that explain why things work the way they do