Pular para o conteúdo
Kitbay
Skill

understanding-streamlit-architecture

Apache-2.0Atualizado em 11 de nov. de 202646.309Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

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