인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

dash

dash

Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash repository workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: dash description: "Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash repository workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Dash Repo Skill

Dash is Plotly's Python framework for building reactive web applications with Python layouts, React component bundles, and server-side or clientside callbacks. Use this repo skill when a task involves Dash application code, callback routing, Dash server backends, component wrapper generation, the Dash renderer, or Dash repo test/build workflows.

Read first

Quick install and smoke check

For ordinary app use:

python -m pip install dash
python - <<'PY'
import dash
from dash import Dash, html, dcc, Input, Output
print(dash.__version__)
app = Dash(__name__)
app.layout = html.Div([dcc.Input(id="name"), html.Div(id="out")])
@app.callback(Output("out", "children"), Input("name", "value"))
def update(value):
    return value or ""
print(app.layout.to_plotly_json()["type"], len(app.callback_map))
PY

Choose extras only when the workflow needs them:

NeedInstall
Selenium/browser testing fixturespython -m pip install "dash[testing]"
Diskcache background callbackspython -m pip install "dash[diskcache]"
Celery background callbackspython -m pip install "dash[celery]" plus a broker/result backend
FastAPI backend and WebSocket callbackspython -m pip install "dash[fastapi]"
Quart backendpython -m pip install "dash[quart]"
async def callbacks on Flaskpython -m pip install "dash[async]"
Component generation helpersinstall Dash from a checkout with the development dependencies needed by the component package

Route by task

Build or debug a Dash app

Use sub-skills/app-callback-workflows/SKILL.md when the task mentions:

  • Dash(...), layout trees, html, dcc, dash_table, component IDs, assets, URL prefixes, Jupyter display, CSP hashes, or pages.
  • @app.callback, @dash.callback, Input, Output, State, MATCH, ALL, ALLSMALLER, ctx, callback_context, PreventUpdate, no_update, or Patch.
  • Clientside callbacks or window.dash_clientside.

Start with its callbacks and layouts reference, then use its smoke scripts for layout/callback/page checks.

Select backends, async, WebSocket, background callbacks, hooks, or MCP

Use sub-skills/server-backends-and-async/SKILL.md when the task mentions:

  • Flask, FastAPI, Quart, ASGI, backend adapters, custom backends, or route handling.
  • async def callbacks, dash[async], websocket_callbacks, websocket=True, persistent=True, ctx.websocket, set_props, or WebSocket disconnects.
  • background=True, DiskcacheManager, CeleryManager, progress, running, cancel, or callback caching.
  • Dash hooks, WebSocket connection hooks, MCP resources/tools, or configure_mcp_server.

Run its backend inspection script for a safe optional-extra report before promising backend coverage.

Work on custom components, built-in components, resources, or renderer

Use sub-skills/component-renderer-development/SKILL.md when the task mentions:

  • dash-generate-components, dash-update-components, renderer, component metadata, generated Python wrappers, R/Julia wrapper generation, or built-in component packages.
  • Component, to_plotly_json, _children_props, _js_dist, _css_dist, serve_locally, external_url, dev_package_path, or resource fingerprints.
  • dash-renderer, callback queues, setProps, crawlLayout, paths, window.dash_component_api, SharedWorker/WebSocket client, React versions, or JSX runtime problems.

Use its CLI-check scripts before running heavier Node or component builds.

Choose tests, build/lint commands, or repo-maintenance workflow

Use sub-skills/testing-and-maintenance/SKILL.md when the task mentions:

  • pytest, dash_duo, Selenium, ChromeDriver, Percy, renderer tests, component tests, npm run build, npm run lint, Black/flake8/pylint/eslint/prettier, or contribution policy.
  • A patch to Dash source where you need a focused native test plan.

Follow its rule: never run all integration tests by default. Use focused files and preserve enough output to see tracebacks and assertion context.

Important boundaries

  • Do not claim FastAPI, Quart, Diskcache, Celery, browser, renderer, or component build workflows are available until the relevant extra/tool/service is installed and checked.
  • Do not use a CPU import check as proof of browser, Node, Celery broker, or WebSocket runtime behavior.
  • For package-use tasks, prefer public APIs and bundled references/scripts in this skill. For repo-maintenance tasks, the testing sub-skill may tell you how to run focused commands in a current Dash checkout.
  • If the current checkout commit, generated component wrapper state, or package version differs from references/repo-provenance.md, treat this skill as potentially stale and refresh it before relying on maintainer-specific details.
저장한 Skills