用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill run-integration-tests命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | run-integration-tests |
| description | Run integration-level suites. Auto-detects runner (pytest markers, Jest, E2E). |
| argument-hint | [scope] |
| disable-model-invocation | true |
Runs integration-level validation only. Auto-detects the test runner from project files.
/run-integration-tests [scope]
/run-integration-tests backend
/run-integration-tests e2e
/run-integration-tests all
| Scope | Behavior |
|---|---|
backend | Run backend integration tests only |
e2e | Run E2E / browser integration tests only |
all (default) | Run both when available |
# Run tests marked as integration
pytest tests/ -v -m integration 2>&1
# If no integration marker exists, check for an integration test directory
pytest tests/integration/ -v 2>&1
If the project uses uv, prefix with uv run.
Check pyproject.toml for [tool.pytest.ini_options] markers -- the project may use different marker names (e.g., slow, db, e2e).
# Backend integration
npm run jest:integration --if-present
npm run test:integration --if-present
Detect by checking for playwright.config.* or cypress.config.* in any workspace (root, frontend/, e2e/, etc.).
npm script convention — projects define what "safe E2E" means via scripts:
# Prefer safe (read-only) E2E tests — avoids mutations against live services
npm run test:e2e:safe --if-present
# Fall back to full E2E
npm run test:e2e --if-present
npm run e2e --if-present
Direct fallback — if no npm script matches but a Playwright/Cypress config exists:
# Playwright (detected via playwright.config.*)
npx playwright test --reporter=line 2>&1
# Cypress (detected via cypress.config.*)
npx cypress run 2>&1
Run E2E from the directory containing the config file (e.g., cd frontend && npx playwright test).
test:e2e:safe over test:e2e — projects use this convention to exclude destructive/mutation tests from automated runs.