checking-changes

作者: streamlit

在提交前通過執行格式、lint、類型和單元測試檢查來驗證所有

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, 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)

來自 streamlit 的更多技能

developing-with-streamlit
streamlit
**[必要]** 適用於所有 Streamlit 任務:建立、編輯、除錯、美化、樣式設定、主題設計或最佳化 Streamlit 應用程式。亦為必要…
official
addressing-pr-review-comments
streamlit
處理當前分支在 streamlit/streamlit 儲存庫中 PR 的所有有效審查意見,涵蓋行內審查意見與一般 PR(議題)…
official
discovering-make-commands
streamlit
列出 Streamlit 開發中可用的 make 指令。用於建置、測試、語法檢查或格式化任務。
official
finalizing-pr
streamlit
完成分支變更以準備合併,包括簡化程式碼、執行檢查、審閱變更,並在必要時建立拉取請求。當準備將變更合併至…時使用。
official
fixing-flaky-e2e-tests
streamlit
診斷並修復不穩定的 Playwright 端到端測試。適用於測試間歇性失敗、出現超時錯誤、快照不匹配或顯示瀏覽器特定問題時…
official
fixing-streamlit-ci
streamlit
分析並修復當前分支/PR 中失敗的 GitHub Actions CI 作業。當 CI 檢查失敗、PR 檢查顯示錯誤,或需要診斷…時使用。
official
generating-changelog
streamlit
在兩個 git 標籤之間生成精煉的網站發行說明,適用於 docs.streamlit.io。在準備新的 Streamlit 版本或審查變更時使用…
official
improving-frontend-coverage
streamlit
執行前端單元測試並產生覆蓋率報告,分析覆蓋率報告,並實作有意義的測試以將覆蓋率提升約0.2%。當您想要…時使用。
official