quality-smoke-testing
Use when the user asks about smoke tests, build verification tests (BVT), post-deploy health checks, sanity tests or canary verification after release…
от j4flmao★ 47 звёзд на GitHub
Установить quality-smoke-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Smoke Testing
Purpose
Validate that the most critical functionality of an application works after a deployment, build, or environment change. Smoke tests provide fast, reliable feedback that the system is stable enough for further testing or production release. This skill covers smoke suite design, CI/CD gate integration, rollback automation, and environment-specific strategies.
Agent Protocol
Trigger
User mentions smoke test, BVT, build verification, deployment health check, canary test, sanity check, or asks "is the build stable?"
Input Context
- Deployment target (staging, production, canary)
- Changes included in the build
- Critical user journeys for the application
- Health endpoint specifications
- CI/CD pipeline stage and rollback capabilities
Output Artifact
- Smoke test suite definition with pass/fail thresholds
- Deployment health report
- Rollback recommendation if critical failures found
- CI/CD pipeline configuration with smoke stage
Response Format
Structured report with:
- Build/version under test and environment details
- Test results per smoke scenario (pass/fail/skip)
- Overall verdict: PASS / FAIL / PARTIAL
- Rollback recommendation and trigger if applicable
- Execution time and threshold compliance
Completion Criteria
- All smoke tests executed within time budget
- Results recorded with evidence (logs, screenshots)
- Verdict communicated to deployment pipeline
- Rollback triggered automatically if pass rate < threshold
Workflow
- Define smoke suite: Identify critical-path tests (infrastructure health, core services, critical user journeys). Keep under 25 tests
- Classify criticality: Mark tests as critical (100% pass required) or non-critical (95% threshold). Critical failures trigger rollback
- Configure thresholds: Set critical threshold to 100%, non-critical to 95%. Infrastructure failures stop the pipeline
- Execute on deploy: Run automatically as first CI/CD stage after deployment. Complete in under 5 minutes
- Evaluate results: Critical failure → automatic rollback. Non-critical failure below 95% → block promotion. All pass → continue
- Monitor post-deployment: Continue health checks for 15-30 minutes after deployment. Auto-rollback on sustained degradation
- Maintain suite: Review smoke tests monthly. Add tests for new critical paths. Remove obsolete tests. Verify determinism
Architecture / Decision Trees
Test Inclusion Decision Tree
Is this a critical business path?
├── YES → Can the system function without it?
│ ├── NO → Include as critical smoke test
│ └── YES → Include as non-critical smoke test
└── NO → Move to regression suite
Can it run in under 30 seconds?
├── YES → Keep in smoke suite
└── NO → Can it be split/optimized?
├── YES → Optimize and keep
└── NO → Move to regression suite
Is it 100% deterministic?
├── YES → Keep in smoke suite
└── NO → Fix flakiness or remove
Environment Configuration Decision Tree
Deployment target?
├── Staging → Full smoke suite (write operations OK)
│ ├── Threshold: 100% critical, 95% non-critical
│ └── Rollback: Automatic
├── Canary → Core smoke (read-only + limited write)
│ ├── Threshold: 100% all tests
│ └── Rollback: Canary drain
└── Production → Read-only smoke suite
├── Threshold: 100% all tests
└── Rollback: Automatic full rollback
Common Pitfalls
- Suite bloat: More than 25 tests becomes slow. Prune aggressively — smoke tests are gates, not comprehensive validators
- Non-deterministic tests: Zero tolerance for flakiness. Fix or remove immediately
- Complex test data: Smoke tests requiring complex setup are fragile. Use defaults or existing seed data
- Environment-specific failures: Tests passing in staging but failing in production have configuration issues
- No rollback automation: Smoke failures must trigger automatic rollback, not manual review
- Write operations in production: Production smoke tests must be read-only — never modify production data
- Stale credentials: Expired smoke test credentials cause false failures. Rotate regularly
- Overlapping coverage: Multiple tests verifying the same path waste time. Deduplicate
- Missing production verification: Deploying to production without running smoke tests is risky
- No monitoring integration: Smoke test results must feed into metrics and alerting systems
Best Practices
- Keep smoke suite small: 10-25 tests, under 5 minutes, focused on critical paths
- Every smoke test must be 100% deterministic — non-deterministic tests erode trust
- Classify tests as critical (100% pass required) or non-critical (95% threshold)
- Run full smoke suite in staging, read-only smoke in production
- Connect smoke results to automatic rollback and alerting systems
- Use dedicated smoke test service accounts with limited permissions
- Review and update smoke suite monthly to reflect current criti
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/bvt-strategy.md
- references/canary-testing.md
- references/deployment-health.md
- references/health-check-patterns.md
- references/smoke-automation.md
- references/smoke-testing-advanced.md
- references/smoke-testing-architecture.md
- references/smoke-testing-fundamentals.md
- references/smoke-testing-strategies.md
- references/smoke-testing-strategy.md
FAQ
Что делает скилл quality-smoke-testing?
Use when the user asks about smoke tests, build verification tests (BVT), post-deploy health checks, sanity tests or canary verification after release. Produces a fast smoke suite and deployment gate. Not for full regression (use quality-regression-testing) or canary rollout strategy (use devops-progressive-delivery).
Как установить скилл quality-smoke-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл quality-smoke-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…