Agent Skills
› sediman-agent/OpenSkynet
› run-smoke-tests
run-smoke-tests
GitHub用于在代码变更前后执行端到端冒烟测试,验证应用稳定性。流程包括构建环境、运行测试套件,并在失败时通过日志分析定位根因、应用修复并复测直至稳定,同时提供结果摘要和flake风险评估。
Trigger Scenarios
需要变更前后的端到端冒烟验证
测试失败需排查根因并修复
Install
npx skills add sediman-agent/OpenSkynet --skill run-smoke-tests -g -y
SKILL.md
Frontmatter
{
"name": "run-smoke-tests",
"description": "Run Playwright smoke tests, debug failures, and verify fixes"
}
Run smoke tests
Trigger
Need end-to-end smoke verification before or after changes.
Workflow
- Build prerequisites for the target app.
- Run the relevant smoke suite or a focused test file.
- If failing, inspect traces/logs and isolate the root cause.
- Apply a minimal fix and rerun until stable.
Example Commands
# Run full smoke suite
npm run smoketest
# Run a specific smoke test file
npm run smoketest -- path/to/test.spec.ts
# Faster iteration when build artifacts are ready
npm run smoketest-no-compile -- path/to/test.spec.ts
Guardrails
- Prefer deterministic waits and assertions over brittle timeouts.
- Re-run passing fixes to reduce flaky false positives.
- Quarantine tests only when explicitly requested and documented.
Output
- Test results summary
- Root cause and fix
- Remaining flake risk (if any)
Version History
- c9d8953 Current 2026-07-05 19:52


