本文へスキップ
Kitbay
スキル

understanding-streamlit-architecture

Apache-2.02026年11月11日 更新46,309GitHubスター

A contributor skill in the Streamlit repository that gives an agent a map of Streamlit's internals for debugging problems across layers, tracing a feature end to end or planning changes.

スキルの内容

A contributor skill in the Streamlit repository that gives an agent a map of Streamlit's internals for debugging problems across layers, tracing a feature end to end or planning changes. It explains that the Python backend and React frontend talk over a WebSocket with Protocol Buffers, defines terms such as elements, widgets, DeltaGenerator, session state, reruns, fragments, caching and custom components with their file locations, and describes how a script runs again from its first line, how each browser tab gets its own session, how delta paths and element IDs decide placement and state, and the steps to add a new element. Five reference files go deeper into the backend, frontend, protocol, identity and layout.

できること

  • Explain Streamlit's rerun and session model
  • Locate the files behind each Streamlit concept
  • Outline the steps to add a new element