원클릭으로
writing-docs
Write documentation. Use when asked to write documentation, update docs, or build plugin docs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write documentation. Use when asked to write documentation, update docs, or build plugin docs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build and install Python plugins using plugin_builder.py. Use when asked to build, install, or reinstall a plugin.
Run Playwright end-to-end tests in Docker. Use when asked to run e2e tests, integration tests, Playwright tests, or browser tests.
Run JavaScript/TypeScript Jest unit tests. Use when asked to run JS tests, Jest tests, or frontend unit tests.
Run Python plugin tests using tox. Use when asked to run Python tests, unit tests for a plugin, or tox commands.
| 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:
