checking-changes

bởi streamlit

Xác thực tất cả các thay đổi mã nguồn trước khi commit bằng cách chạy các kiểm tra định dạng, lint, kiểu và kiểm thử đơn vị. Sử dụng sau khi thực hiện thay đổi backend (Python) hoặc frontend (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)

Thêm skills từ 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
Tạo và tùy chỉnh giao diện Streamlit. Sử dụng khi thay đổi màu sắc, phông chữ hoặc giao diện ứng dụng, hoặc điều chỉnh ứng dụng theo hướng dẫn thương hiệu. Bao gồm config.toml…
developing-with-streamlit
streamlit
**[BẮT BUỘC]** Sử dụng cho TẤT CẢ các tác vụ Streamlit: tạo, chỉnh sửa, gỡ lỗi, làm đẹp, tạo kiểu, tạo chủ đề hoặc tối ưu hóa ứng dụng Streamlit. Cũng bắt buộc…
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
Kết nối ứng dụng Streamlit với Snowflake. Sử dụng khi thiết lập kết nối cơ sở dữ liệu, quản lý bí mật hoặc truy vấn Snowflake từ ứng dụng Streamlit.
creating-streamlit-themes
streamlit
Tạo và tùy chỉnh giao diện Streamlit. Sử dụng khi thay đổi màu sắc, phông chữ hoặc giao diện của ứng dụng, hoặc điều chỉnh ứng dụng theo hướng dẫn thương hiệu. Bao gồm config.toml…
optimizing-streamlit-performance
streamlit
Tối ưu hiệu suất ứng dụng Streamlit. Sử dụng khi ứng dụng chạy chậm, chạy lại quá thường xuyên hoặc tải nội dung nặng. Bao gồm caching, fragments, và tĩnh so với động…
organizing-streamlit-code
streamlit
Sắp xếp mã Streamlit để dễ bảo trì. Sử dụng khi cấu trúc ứng dụng với các mô-đun và tiện ích riêng biệt. Bao gồm việc phân tách các mối quan tâm, giữ mã giao diện người dùng…