用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/deephaven/deephaven-plugins --skill writing-docs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | writing-docs |
| description | Write documentation. Use when asked to write documentation, update docs, or build plugin docs. |
For plugins that support it (indicated by the presence of a make_docs.py file, e.g. plugins/ui/make_docs.py or plugins/plotly-express/make_docs.py), document functions using the dhautofunction directive rather than building any table or description manually.
The functions themselves should be fully documented with docstrings in the source code. Parameters with multiple lines in their description should use an indented block after the first line.
## API Reference
```{eval-rst}
.. dhautofunction:: deephaven.ui.use_navigate
```
Use the fully qualified Python path to the function as the argument to dhautofunction. This automatically generates the function signature, parameters, return type, and description from the source docstring.
Follow this consistent structure when writing docs for components or hooks:
## Example — a minimal, runnable code example## UI recommendations (components) or ## Recommendations (hooks) — numbered list of best practices and usage guidance## API Reference — always last, using dhautofunctionFor plotly-express chart docs, use ## What are X useful for? with bullet points in place of a recommendations section.
plugins/ui/docs/components/<component_name>.mdplugins/ui/docs/hooks/<hook_name>.mdplugins/plotly-express/docs/<chart_name>.mdDocs use MyST Markdown (.md files with embedded RST directives). Python code blocks support two special annotations:
order=var1,var2,... — controls which variables are shown in Deephaven and in what order. Variables prefixed with _ are hidden (useful for intermediate tables or setup code that shouldn't be displayed).skip-test — excludes the code block from automated testing (use sparingly, e.g. for pseudocode or illustrative snippets).Example:
```python order=line_plot,my_table
import deephaven.plot.express as dx
my_table = dx.data.stocks()
line_plot = dx.line(my_table, x="Timestamp", y="Price")
```
Link to other docs using relative markdown paths:
Consider using [`action_button`](./action_button.md) for task-based actions.
Component screenshots are stored in plugins/ui/docs/_assets/ and named descriptively (e.g. button_basic.png). Reference them with a relative path from the component doc:

基于 SOC 职业分类