Skip to main content
在 Manus 中运行任何 Skill
一键导入

docstrings

星标11
分支3
更新时间2026年5月22日 03:45

Add or normalise Julia docstrings on public symbols (exported types, functions, and constants) so the package's public API is fully self-documenting and the Documenter.jl docs build passes its checkdocs check. After writing docstrings, also updates docs/src/API/ pages so every exported symbol appears exactly once, organised into logical categories, with stale entries removed. Invoke this skill whenever the user mentions: docstring, missing doc, undocumented symbol, API doc, checkdocs warning, docs/src/API, @docs block, or asks to document a type or function, sync the API pages, or keep the API index up to date. Also use it when the user asks to "write docs for" or "add docs to" source files, or when a CI failure mentions missing or incomplete docstrings. In RandomFeatures.jl, the 2026-05-20 audit resolved all bare stubs; common failure modes to watch for are inaccurate return-type claims, getter prose copy-pasted across dispatches, and jldoctests using `using PackageName` for symbols that live only in a submo

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly