developing-with-streamlit

โดย streamlit

สกิลการกำหนดเส้นทางสำหรับงานพัฒนา Streamlit ทั้งหมด: การสร้างแอป การแก้ไข การดีบัก การจัดสไตล์ การเพิ่มประสิทธิภาพ และการปรับใช้ กำหนดเส้นทางไปยังสกิลย่อยเฉพาะตามประเภทงาน: การเพิ่มประสิทธิภาพ การสร้างแดชบอร์ด การปรับปรุงการออกแบบ การเลือกวิดเจ็ต การกำหนดธีม เลย์เอาต์ การแสดงข้อมูล แอปหลายหน้า สถานะเซสชัน UI แชท คอมโพเนนต์ที่กำหนดเอง และการรวม Snowflake รวมถึงเวิร์กโฟลว์สำหรับค้นหาไฟล์ต้นฉบับ Streamlit ระบุจุดเริ่มต้น (streamlit_app.py, app.py) และ...

npx skills add https://github.com/streamlit/agent-skills --skill developing-with-streamlit

Developing with Streamlit

Streamlit (>=1.57) ships detailed reference documentation for building Streamlit apps inside its pip package. The bundled skill is a routing SKILL.md plus a references/ folder of topic-specific reference docs (dashboards, themes, layouts, session state, custom components, etc.).

Usage

Run the discovery script with the user's project directory:

python <SKILL_DIR>/scripts/discover.py --project-dir <USER_PROJECT_DIR>

The script prints either:

  • A path on stdout (exit 0) — the bundled SKILL.md. Read it; it points into references/.
  • An ERROR: block on stderr (non-zero exit). Follow the printed instructions and re-run.

<SKILL_DIR> is the directory containing this file; <USER_PROJECT_DIR> is the absolute path to the user's project. Passing --project-dir matters because the script resolves .venv, ../.venv, Pipfile, poetry.lock, pdm.lock, and uv.lock relative to it.

Skills เพิ่มเติมจาก streamlit

building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
creating-streamlit-themes
streamlit
การสร้างและปรับแต่งธีมของ Streamlit ใช้เมื่อต้องการเปลี่ยนสี แบบอักษร หรือรูปลักษณ์ของแอป หรือปรับให้แอปสอดคล้องกับแนวทางของแบรนด์ ครอบคลุม config.toml…
developing-with-streamlit
streamlit
**[จำเป็น]** ใช้สำหรับงาน Streamlit ทั้งหมด: การสร้าง, แก้ไข, ดีบัก, ตกแต่ง, จัดสไตล์, ปรับธีม, หรือเพิ่มประสิทธิภาพแอปพลิเคชัน Streamlit นอกจากนี้ยังจำเป็น…
building-streamlit-custom-components-v2
streamlit
Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged…
connecting-streamlit-to-snowflake
streamlit
การเชื่อมต่อแอป Streamlit กับ Snowflake ใช้เมื่อตั้งค่าการเชื่อมต่อฐานข้อมูล จัดการความลับ หรือสอบถามข้อมูลจาก Snowflake ผ่านแอป Streamlit
creating-streamlit-themes
streamlit
การสร้างและปรับแต่งธีมของ Streamlit ใช้เมื่อต้องการเปลี่ยนสี แบบอักษร หรือรูปลักษณ์ของแอป หรือปรับให้แอปสอดคล้องกับแนวทางของแบรนด์ ครอบคลุมถึง config.toml…
optimizing-streamlit-performance
streamlit
การปรับปรุงประสิทธิภาพของแอป Streamlit ใช้เมื่อแอปทำงานช้า รันซ้ำบ่อยเกินไป หรือโหลดเนื้อหาที่หนัก ครอบคลุมการแคช เฟรกเมนต์ และเนื้อหาแบบคงที่เทียบกับแบบไดนามิก…
organizing-streamlit-code
streamlit
การจัดระเบียบโค้ด Streamlit เพื่อการบำรุงรักษา ใช้เมื่อจัดโครงสร้างแอปพลิเคชันด้วยโมดูลและยูทิลิตี้แยกกัน ครอบคลุมการแยกส่วนความรับผิดชอบ การรักษาโค้ด UI...