lint
Run all project linters (ruff, mypy, sqlfluff) and report results. Invoke with /lint.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run all project linters (ruff, mypy, sqlfluff) and report results. Invoke with /lint.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the LangSmith evaluation suite and display pass/fail results
Add a new LangChain tool to the Medox ReAct agent. Use when creating a new tool file, registering it in the graph, and writing its test.
Create a git commit with Medox conventions (co-author, conventional type/scope). Invoke manually with /commit — do NOT trigger automatically.
Audit code changes on the current branch and update docs/ + .claude/rules/ to stay in sync. Run before /pr.
Create or update a GitHub pull request following Medox conventions (author spicode-bot, reviewer spideystreet). Invoke manually with /pr — do NOT trigger automatically.
Fetch and display the full status of the current PR — CI checks, GitHub Actions runs, reviews, and code comments — using GitHub MCP tools. Invoke manually with /pr-status.
| name | lint |
| description | Run all project linters (ruff, mypy, sqlfluff) and report results. Invoke with /lint. |
| disable-model-invocation | true |
| argument-hint | [python|sql|all] |
Run all project linters and report a unified summary.
| Tool | Scope | What it checks |
|---|---|---|
ruff check | src/ scripts/ tests/ | Python lint (E, F, I, UP) |
ruff format --check | src/ scripts/ tests/ | Python formatting |
mypy | src/ | Python type checking |
sqlfluff lint | dbt/models/ dbt/tests/ | SQL style & conventions |
Parse argument (optional)
python → run only ruff + mypysql → run only sqlfluffall or no argument → run everythingRun selected linters — run all applicable commands in parallel:
Python linting (ruff check):
uv run ruff check src/ scripts/ tests/
Python formatting (ruff format):
uv run ruff format --check src/ scripts/ tests/
Python types (mypy):
uv run mypy src/
SQL linting (sqlfluff):
uv run sqlfluff lint dbt/models/ dbt/tests/ --config dbt/.sqlfluff
Auto-fix — if ruff or sqlfluff report fixable violations, ask the user:
"N fixable violations found. Apply auto-fix?"
If yes:
uv run ruff check --fix src/ scripts/ tests/
uv run ruff format src/ scripts/ tests/
uv run sqlfluff fix dbt/models/ dbt/tests/ --config dbt/.sqlfluff
Report summary — print a table like:
Linter Status Issues
ruff check PASS 0
ruff format FAIL 3 files
mypy PASS 0
sqlfluff PASS 0
Use PASS/FAIL per linter. If all pass, end with: All linters passed.