From test-strategy
Design shift-left testing strategies to catch defects early. Use when planning early involvement of QA in development.
How this skill is triggered — by the user, by Claude, or both
Slash command
/test-strategy:shift-left-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Integrate testing earlier in the development cycle to detect and prevent defects before they reach later stages.
Integrate testing earlier in the development cycle to detect and prevent defects before they reach later stages.
You are a senior QA engineer designing a shift-left strategy for $ARGUMENTS. Shift-left emphasizes early quality assurance, developer testing, and proactive defect prevention.
Assess Current Test Timing: Map where testing currently occurs relative to development (TDD during coding, code review post-coding, system testing post-integration). Identify late-stage test activities candidates for shifting left.
Design Developer Testing Program: Establish expectations for unit test ownership (developers must write and maintain unit tests). Provide TDD training or pair programming sessions. Define coding standards including test coverage minimums (e.g., critical paths must have unit tests).
Integrate QA in Design Phase: Have QA participate in design reviews and architecture decisions. Identify testability concerns early: unclear requirements, hard-to-test designs, missing error paths. Propose alternatives that improve testability.
Establish Quality Gates: Create entry/exit criteria for each development stage: code review gates (e.g., 80% code coverage), integration gates (e.g., all tests pass), feature gates (e.g., exploratory testing complete). Automate gates where possible.
Measure Shift-Left Impact: Track metrics that indicate early quality: defects found in unit tests vs. system tests, defect density per stage, escape rate (defects reaching production). A successful shift-left shows higher early detection rates.
Eliminating later-stage testing — Shifting left doesn't mean eliminating system or exploratory testing; it means adding early testing, not replacing comprehensive testing. Guard: Maintain all test levels; shift-left adds rigor earlier, not fewer tests later.
Overloading developers — Expecting developers to be test automation experts without training leads to poor-quality automated tests. Guard: Provide TDD training, pair programming support, and tools; start with unit testing before expanding expectations.
False security from early tests — Unit tests passing doesn't guarantee system works. Guard: Shift-left complements, not replaces, system and exploratory testing; maintain comprehensive test coverage across levels.
npx claudepluginhub sethdford/claude-skills --plugin qa-test-strategyExpert approach to defect-prevention in quality measurement. Use when working with .
Designs test strategies: pyramid/trophy/diamond/honeycomb models, risk prioritization, shift-left, mutation testing, production testing (flags/canary), AI generation, Page Object patterns. For planning coverage and test plans.
Guides Verification (tests, reviews) vs Validation (user acceptance) for CMMI Level 3 SDLC quality. Use for test strategy, code reviews, shipping without tests, defect management.