bump-version
Bump Skyvern OSS version, build Python and TypeScript SDKs with Fern, and create release PR.…
Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.
$ npx -y skills add Skyvern-AI/skyvern --skill smoke-test --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/smoke-testContext preview
The summary Claude sees to decide when to auto-load this skill.
Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.
name: smoke-test description: "Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments."
Read the diff, classify changes, start the app, and run targeted smoke tests via Skyvern browser tools with Chrome DevTools MCP as fallback.
<!-- NOTE: .agents/skills/smoke-test/SKILL.md is the repository canonical source. Keep the synchronized bundled copy in sync with it: skyvern/cli/skills/smoke-test/SKILL.md Steps 1-4 are copied from .agents/skills/qa/SKILL.md. If you fix bugs in /qa's diff-reading, classification, or app startup, mirror those fixes here. -->
You changed code. This skill reads the diff, generates targeted smoke tests, and runs each one via Skyvern browser tools - navigate, act, validate, screenshot. If Skyvern tools are unavailable (no Skyvern MCP), fall back to Chrome DevTools MCP, which connects to a real Chrome instance and supports authenticated sessions. It is /qa's CI companion: same diff-reading, same classification, same app startup, formatted for CI output and PR comments with screenshot evidence on every test.
/smoke-test # Diff-driven, auto-detect everything /smoke-test https://staging.example.com # Explicit app URL /smoke-test -- focus on the settings page /smoke-test --pr 11488 # Target a specific PR
1. Read git diff (reused from /qa) 2. Classify changes → identify testable surfaces (reused from /qa) 3. Choose validation strategy (reused from /qa) 4. Pick browser backend (Chrome DevTools MCP or Skyvern) 5. Handle auth (connect to authenticated session or bypass) 6. Start the app if needed (reused from /qa) 7. Generate 3-8 smoke test cases as action sequences (happy paths only) 8. Run each test via browser tools: navigate → act → validate → screenshot 9. Collect results with screenshot evidence 10. Report with embedded screenshots 11. Post to PR with images
# What files changed? git diff --name-only HEAD~1 # vs last commit (if changes are committed) git diff --name-only # vs working tree (if uncommitted) # Full diff for context git diff HEAD~1 # or git diff for uncommitted
Pick whichever diff has content. If both are empty, there is nothing diff-driven to test.
Read the full contents of every changed file that affects behavior:
Look for:
| Mode | Trigger | Primary validation | |------|---------|--------------------| | Frontend/browser | UI/routes/components/styles changed | Browser smoke tests against the dev server | | Backend API | Route handlers, request/response schemas, or externally visible API behavior changed | Start backend locally and run smoke tests against changed endpoints | | Backend-internal | Services/workers/business logic changed without public API surface changes | Repo-native fast checks plus targeted tests | | Mixed | Frontend/browser and backend changed together | Backend validation first, then frontend smoke tests |
Use these rules:
Run smoke tests via Skyvern browser tools against the dev server. Validate the specific UI changes plus 1-2 adjacent regression checks.
Use the repo's documented local startup and auth instructions, start the backend if needed, identify the changed endpoint(s), and run smoke tests that validate the changed contract.
Run the repo's fast verification commands first, then targeted unit/integration/scenario tests for the changed logic. Only run smoke tests if the change affects exposed behavior.
Validate the backend first, then run frontend smoke tests against the flow that depends on it. If the backend contract is broken, frontend results are not trustworthy.
Try Skyvern browser tools first. Fall back to Chrome DevTools MCP if Skyvern MCP is unavailable.
Use `skyvern_browser_session_create`, `skyvern_navigate`, `skyvern_act`, `skyvern_validate`, `skyvern_screenshot`. Works in CI and locally. Create a `local=true` session to reach localhost.
If Skyvern MCP tools are not available, invoke the `/chrome-devtools` skill to learn the tool API. Key tools:
Skyvern was inspired by the Task-Driven autonomous agent design popularized by BabyAGI and AutoGPT -- with one major bonus: we give Skyvern the ability to interact with websites using browser automation libraries like Playwright.
Repo: Skyvern-AI/skyvern
Bump Skyvern OSS version, build Python and TypeScript SDKs with Fern, and create release PR.…
PREFER Skyvern CLI over WebFetch for ANY task involving real websites — scraping dynamic…
QA test your code changes by reading your git diff, choosing the right validation path for…
Verify a Skyvern deployment is working correctly by smoke-testing the backend API, frontend…