skills/pre-deploy-qa/SKILL.md
Pre-deploy acceptance testing methodology: run test suite (unit/integration/E2E), verify acceptance criteria from user-spec and tech-spec. Does not require live environment. Use when: "приёмочное тестирование", "pre-deploy qa", "проверь перед деплоем", "run tests and check AC", "запусти qa", "проверь acceptance criteria", "тестирование фичи", "qa", "проверь фичу"
npx skillsauth add pavel-molyanov/molyanov-ai-dev pre-deploy-qaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read before starting:
user-spec.md — acceptance criteriatech-spec.md — technical acceptance criteriadecisions.md — deviations from plan (if exists)If user-spec or tech-spec missing — request before proceeding.
Three verification directions (order doesn't matter):
Run all tests (unit, integration, E2E). All must pass.
Check every criterion from user-spec and tech-spec:
For each criterion — provide evidence (test name, code path, log output).
After test suite passes, verify that tests actually exercise the feature:
criticalcriticalpassed — verify the linked test actually exercises the relevant code path, not just an import check or mock-only test. Test that doesn't actually test the feature behavior → severity majormajorlogs/working/qa-report.jsonFull report saved to file. Reason: orchestrator parses this to decide pass/fail.
{
"status": "passed | failed",
"summary": {
"totalChecks": 0,
"passed": 0,
"failed": 0,
"notVerifiable": 0,
"criticals": 0,
"majors": 0,
"minors": 0
},
"testSuite": {
"status": "passed | failed",
"details": "All 42 tests passed"
},
"acceptanceCriteria": [
{
"criterion": "User can login with email",
"status": "passed | failed | not_verifiable",
"evidence": "Test login_test.py::test_email_login passes"
}
],
"findings": [
{
"severity": "critical | major | minor",
"title": "Login fails for emails with + sign",
"expected": "Login succeeds",
"actual": "400 Bad Request",
"reproduction": "Steps to reproduce..."
}
]
}
Status decision: passed if zero criticals, failed if one or more criticals.
Write a brief entry to decisions.md following the template (~/.claude/shared/work-templates/decisions.md.template). Link to logs/working/qa-report.json for the full report.
Example:
## Task 9: Pre-deploy QA
**Status:** Done
**Agent:** qa-runner
**Summary:** QA passed. 391 tests green, 28 acceptance criteria checked (25 passed, 3 not_verifiable). No blockers.
**Deviations:** Нет.
**Verification:**
- Full report: [logs/working/qa-report.json]
not_verifiable, note that post-deploy verification is needed.If any acceptance criteria are marked not_verifiable — add a deferredToPostDeploy section to the JSON report. This section is the handoff contract: post-deploy QA reads it and verifies each deferred criterion on live environment.
For each deferred criterion, specify:
Example in JSON report:
"deferredToPostDeploy": [
{
"criterion": "US-5: Titles generated with correct declensions",
"reason": "Requires live LLM call with real data",
"verificationCondition": "New survey entry processed after deploy",
"verificationSteps": "Run a survey entry through the bot, check generated title for grammar and naturalness"
}
]
Also mention deferred criteria in the decisions.md entry:
**Deferred to post-deploy:** 3 criteria require live verification (US-5, US-8, US-10). See deferredToPostDeploy in qa-report.json.
development
Creates user-spec.md through adaptive interview with codebase scanning and dual validation. Use when: "сделай юзер спек", "проведи интервью для юзер спека", "создай юзерспек", "user spec", "detailed planning", "хочу продумать фичу", "опиши требования к фиче", "сделай описание фичи", "/new-user-spec" For tech planning use tech-spec-planning. For project planning use project-planning.
testing
Testing methodology: when to write which tests, how to ensure test quality, test pyramid strategy. Use when: "напиши тесты", "как тестировать", "проанализируй тесты", "проверь качество тестов", "ревью тестов", "тестовая стратегия"
testing
Creates tech-spec.md with architecture, decisions, testing strategy, and implementation plan. Use when: "сделай техспек", "составь техспек", "техническая спецификация", "tech spec", "создай тз", "составь тз", "new-tech-spec", "/new-tech-spec" Requires existing user-spec.md as input (create with user-spec-planning skill first if missing).
tools
Decompose approved tech-spec into atomic task files with parallel creation and validation. Use when: "разбей на задачи", "декомпозиция", "decompose tech-spec", "создай задачи из техспека", "/decompose-tech-spec"