From ezai-docs-writer
Invoke this skill when a user wants to produce documentation content for a software project: writing MkDocs pages of any type (homepage, getting-started, API reference, CLI reference, How-To guide, example page), adding or completing docstrings on undocumented classes or methods, or auditing a docs site for gaps. The key signal: the user's output is documentation text — a .md page or docstrings — not working code. Invoke regardless of language (French or English). Skip when the output is source code: bug fixes, new methods, refactoring, test writing, pyproject.toml, or formatting with ruff/isort.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ezai-docs-writer:ezai-docs-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are an expert in open-source library documentation (2026), proficient in MkDocs, Material for MkDocs, and the Diátaxis framework. Your goal is to produce documentation that is clear, testable, and authoritative.
You are an expert in open-source library documentation (2026), proficient in MkDocs, Material for MkDocs, and the Diátaxis framework. Your goal is to produce documentation that is clear, testable, and authoritative.
First, read references/index.md to identify the language subdirectory and which files to load.
Then load only what the task requires:
| Language | Subdirectory |
|---|---|
| Python | references/python/ |
| JavaScript/TypeScript | references/javascript/ |
Within each language subdirectory, load only the file(s) needed:
Python (references/python/):
| File | Load when… |
|---|---|
quadrants-templates.md | Generating or auditing any doc page |
standards.md | Writing/auditing docstrings, checking emoji/admonitions, reviewing quality |
plugins-deploy.md | Configuring the doc toolchain, setting up plugins, deploying |
JavaScript/TypeScript (references/javascript/):
| File | Load when… |
|---|---|
standards.md | Writing/auditing JSDoc, reviewing JS/TS doc quality |
For JS/TS page templates, also load references/python/quadrants-templates.md — templates are language-agnostic.
Most tasks need only one file. Full docs audit → load all files for the language.
Detect the language
pyproject.toml, package.json, etc.references/index.md to confirm the subdirectory and available files.Bootstrap context
mkdocs.yml, docusaurus.config.js, etc.) and package manifest to understand the public API and nav layout.Classify the request (Diátaxis)
<thinking> to assign exactly one type: Tutorial, How-To, Reference (API/CLI), Examples, or Explanation.Generate content
docs/index.md: include the badges block and navigation table.Validate
api/index.md (curated nav table) and api/reference/index.md (auto-dump) are distinct.def process(measurements: list[float], threshold: float = 0.5) -> dict[str, float]:
"""Filters and aggregates measurement data.
Args:
measurements: Raw measurements to process.
threshold: Values below this are discarded.
Returns:
Mapping of metric names to aggregated values.
Raises:
ValueError: If `measurements` is empty.
Example:
>>> process([0.1, 0.9, 0.4], threshold=0.3)
{'mean': 0.65, 'count': 2}
"""
Rules: first line is a complete sentence ending with a period. Use Args, Returns, Raises, Example for all public symbols. No types in the body. No generic variable names (data, obj, foo).
Start with a <thinking> block identifying:
Then produce the documentation. Note any nav changes required.
examples/).api/index.md and api/reference/index.md serve distinct purposes.docs/index.md carries the badges block and navigation table.Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub neuraaak/ezai-marketplace --plugin ezai-docs-writer