checking-changes

โดย streamlit

ตรวจสอบการเปลี่ยนแปลงโค้ดทั้งหมดก่อนคอมมิต โดยการรันการตรวจสอบรูปแบบโค้ด การตรวจสอบไวยากรณ์ การตรวจสอบชนิดข้อมูล และการทดสอบหน่วย ใช้หลังจากทำการเปลี่ยนแปลงแบ็กเอนด์ (Python) หรือฟรอนต์เอนด์ (TypeScript)…

npx skills add https://github.com/streamlit/streamlit --skill checking-changes

Checking Changes

Run at the end of a work session or after completing a set of changes — not after every small edit.

make check

This runs formatting, linting, type checking, Knip unused-export and unused-dependency analysis, and unit tests on all uncommitted files (staged, unstaged, and untracked).

Workflow

  1. Run make check
  2. If issues are found:
    • Fix the reported errors
    • Re-run make check
    • Repeat until all checks pass
  3. Only consider work complete when make check succeeds

Notes

  • E2E tests are not included by default; use E2E_CHECK=true make check to also run changed e2e tests
  • E2E snapshot mismatches can be ignored (they require manual updates)

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...