Skip to main content

checking-changes

Validates all code changes before committing by running format, lint, type, and unit test checks. Use after making backend (Python) or frontend (TypeScript) changes, before committing or finishing a work session.

来源信息

仓库
streamlit/streamlit
最近来源活动
2026年8月21日 16:49
检测到的 SKILL.md 语言
英语
星标
46,005
分支
4,424

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
checking-changes
description
Validates all code changes before committing by running format, lint, type, and unit test checks. Use after making backend (Python) or frontend (TypeScript) changes, before committing or finishing a work session.
# Checking Changes **Run at the end of a work session** or after completing a set of changes — not after every small edit. ```bash 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)
在 GitHub 查看