Agent Skills
› sediman-agent/OpenSkynet
› run-smoke-tests
run-smoke-tests
GitHub用于执行端到端冒烟测试、调试失败原因并验证修复方案。涵盖构建前置条件、运行测试套件、分析日志隔离根因及应用最小化修复,旨在确保代码变更前后的系统稳定性。
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


