litestar-docs

litestar-docs is a skill for Claude Code from litestar-org/litestar-skills. It costs 54 tokens per session (3,223 once invoked), scanned A, original, MIT.

A documentation workflow for Litestar and related Python projects using Sphinx or Zensical. Sphinx and Zensical are tools that build documentation websites, including API reference pages from source code.

In plain words
What is it for?
Use it when editing documentation configuration, building Python API references, linking documentation across repositories, or working with tools such as autodoc, Griffe, and mkdocstrings.
Why use it?
Projects using different documentation engines need consistent configuration, markup, themes, and API links. This provides guidance for matching the repository's existing setup rather than treating all documentation systems alike.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Inherited execution methods are documented on [`AsyncDriverAdapterBase`](../driver/async.md)..

Part of the litestar plugin — 20 skills, 1 agent shipped together

Good fit Use it when editing documentation configuration, building Python API references, linking documentation across repositories, or working with tools such as autodoc, Griffe, and mkdocstrings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/litestar-org/litestar-skills
agentmods
npx agentmods add skills/litestar-org/litestar-skills/litestar-docs

Made for: Claude Code.

Or install litestar, the plugin that ships this one along with the rest of its 20 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for litestar-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-docs/github.svg)](https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-docs)
Your own site
<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-docs"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for litestar-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-docs"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.03223
Opus 5.5 $0.00022 $0.01289
Sonnet 5.5 $0.00011 $0.00645
Haiku 4.5 $0.00005 $0.00322

Measured today against content hash 8c719d71a182, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

litestar-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/litestar-docs/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

litestar-docs

Dual-engine documentation architecture for litestar-org and ecosystem repositories, supporting both Sphinx (docs/conf.py + shibuya / litestar-sphinx-theme + autodoc / napoleon) and Zensical (zensical.toml + mkdocstrings-python / Griffe static AST). Match the repository's chosen documentation engine and apply shared quality invariants across both.

Documentation Engine Matrix

Aspect Sphinx (docs/conf.py) Zensical (zensical.toml)
Primary Config docs/conf.py zensical.toml
Markup Formats .rst (reStructuredText) + .md (myst-parser) .md (Python Markdown + pymdown-extensions)
Theme & Styling shibuya or litestar-sphinx-theme (docs/_static/custom.css) variant = "modern" (docs/stylesheets/extra.css)
Python API Extraction sphinx.ext.autodoc + sphinx.ext.napoleon mkdocstrings-python (Griffe static AST, optional griffe-fieldz)
Cross-Repo Linking sphinx.ext.intersphinx (objects.inv) mkdocstrings (enable_inventory = true, objects.inv)
UI Components & Tabs sphinx-design (.. grid::, .. tab-set::), auto-pytabs pymdownx.tabbed (content.tabs.link), pymdownx.details
Code Inclusion .. literalinclude:: pymdownx.snippets (--8<--, check_paths = true)
CLI & Config Tables sphinx-click (.. click::) tools/docs/generate_cli_docs.py + AST-only generate_config_tables.py
Diagrams sphinxcontrib-mermaid (.. mermaid::) pymdownx.superfences (```mermaid)

Code Style Rules

  • Match the repository's existing documentation engine. Reason: Inspect docs/conf.py vs zensical.toml before making edits.
  • Enforce a 68–75ch (46rem) reading column with persistent left and right sidebars. Reason: Uncapped prose columns and hidden right-hand "On this page" outlines hurt scannability.
  • Cap guide pages at <= 12 viewports (~80–200 lines) and Reference pages at <= 120 KB HTML (<= 14 TOC items). Reason: Monolithic module dumps bury primary constructors.
  • Disable inherited members on leaf classes and show base classes (show_bases = true / :show-inheritance:). Reason: Base driver or repository methods belong once on the base class Reference page.
  • Document every public TypedDict and msgspec.Struct field with a PEP 257 inline docstring immediately below the field. Reason: Sphinx renders zero fields without inline docstrings, and Griffe / griffe-fieldz require them for parameter tables.
  • Never write docstrings on @overload stubs or leak internal compiler notes (mypyc, PyCapsule) into public docstrings. Reason: Both engines render overload docstrings ahead of the implementation docstring.
  • Execute standalone docs/examples/**/*.py modules in pytest. Reason: Standalone modules checked by ruff, pyright, and pytest prevent snippet drift.
  • Use body:not([data-md-color-scheme="slate"]) / [data-md-color-scheme] CSS selectors (not <picture><source media="(prefers-color-scheme: dark)"> and not :root:not(...)) for light/dark hero banners on Zensical pages. Reason: Zensical sets data-md-color-scheme on <body> when toggling its theme switcher; :root and OS media queries do not track the toggle.
  • Keep headings unnumbered and free of inline `code` pills, reserve bordered code pills for clickable links (a > code), keep tab labels short (white-space: nowrap), and never write \| inside backticked code in Markdown tables. Reason: Python-Markdown splits table cells on | before backticks are parsed, and code spans in headings wrap awkwardly in the right-hand TOC.

Read the full file on GitHub · 161 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -40 lines 8c719d71a182
  2. 13d ago Changed c775f5b93ccc
  3. 23d ago Changed 6856191d074e
  4. 1mo ago First seen · 201 lines · 54 tokens per session scan A a655884939ed

Subscribe to this mod's changes

litestar-docs is a skill published in the GitHub repository litestar-org/litestar-skills (19 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 3,223 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.

Related

litestar-docs compared with skills from other repositories

litestar-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
litestar-docslitestar-org/litestar-skillsSkill19todayMITA54Claude Code
python-backend-expertmathisk2095/jko-claude-pluginsSkill31mo agoMITA183Claude Code
python-programmerPyroxin/opinionated-claude-skillsSkill118d agoEPL-2.0A61Claude Code
milp-modeling-gurobihajibabaie/combinatorial-optimization-skillsSkill235mo agoMITA141Claude Code
numpy-vectorization-for-optimizationhajibabaie/combinatorial-optimization-skillsSkill235mo agoMITB125Claude Code
yoinktheogbrand/yoinkSkill388mo agoMITA10Claude Code
qector-architectureGuillaumeLessard/qector-claude-pluginSkill17d agononeA80Claude Code