test-planning
Create comprehensive test strategies and test plans for software projects. Use this skill when planning testing for new features, releases, or projects. Activate when: test plan, test strategy, testing approach, QA planning, test coverage, release testing.
What this skill does
# Test Planning **Create comprehensive test strategies that ensure quality and coverage.** ## When to Use - Planning testing for a new feature or release - Creating a test strategy document - Defining test coverage requirements - Estimating testing effort - Setting up QA processes for a new project ## Test Strategy Document Template ```markdown # Test Strategy: [Project/Feature Name] **Version:** 1.0 **Author:** [Name] **Date:** [Date] **Status:** Draft / In Review / Approved ## 1. Introduction ### 1.1 Purpose [Brief description of what this test strategy covers] ### 1.2 Scope **In Scope:** - [Feature/component 1] - [Feature/component 2] **Out of Scope:** - [Explicitly excluded items] ### 1.3 References - PRD: [link] - Technical Design: [link] - API Specs: [link] ## 2. Test Objectives - Verify [functional requirement 1] - Validate [performance requirement] - Ensure [security requirement] - Confirm [compatibility requirement] ## 3. Test Approach ### 3.1 Test Levels | Level | Scope | Owner | Tools | |-------|-------|-------|-------| | Unit | Individual functions | Dev | Jest, pytest | | Integration | API contracts | Dev/QA | Postman, SuperTest | | E2E | User workflows | QA | Playwright, Cypress | | Performance | Load/stress | QA | k6, Artillery | ### 3.2 Test Types - [ ] Functional testing - [ ] Regression testing - [ ] Smoke testing - [ ] Integration testing - [ ] Performance testing - [ ] Security testing - [ ] Accessibility testing - [ ] Compatibility testing ## 4. Test Environment | Environment | Purpose | Data | |-------------|---------|------| | Dev | Unit/Integration | Mocked | | Staging | E2E/Regression | Sanitized prod | | Pre-prod | Performance/Security | Prod-like | ## 5. Test Data ### Requirements - [Data requirement 1] - [Data requirement 2] ### Sources - Test data generators - Sanitized production data - Synthetic data sets ## 6. Entry/Exit Criteria ### Entry Criteria - [ ] Code complete and merged - [ ] Unit tests passing (>80% coverage) - [ ] Environment deployed and stable - [ ] Test data prepared ### Exit Criteria - [ ] All critical test cases passed - [ ] No P0/P1 bugs open - [ ] Performance benchmarks met - [ ] Security scan passed - [ ] Sign-off from stakeholders ## 7. Risk Assessment | Risk | Likelihood | Impact | Mitigation | |------|------------|--------|------------| | [Risk 1] | High/Med/Low | High/Med/Low | [Action] | | [Risk 2] | | | | ## 8. Schedule | Phase | Start | End | Owner | |-------|-------|-----|-------| | Test Planning | | | | | Test Case Design | | | | | Test Execution | | | | | Bug Fixing | | | | | Regression | | | | | Sign-off | | | | ## 9. Deliverables - [ ] Test cases in [TestRail/Xray] - [ ] Automated test suite - [ ] Test execution report - [ ] Bug report summary - [ ] Sign-off document ``` ## Test Coverage Matrix ```markdown ## Feature Coverage Matrix | Feature | Unit | Integration | E2E | Performance | Security | |---------|------|-------------|-----|-------------|----------| | User Login | ✓ | ✓ | ✓ | ✓ | ✓ | | Checkout | ✓ | ✓ | ✓ | ✓ | ✓ | | Search | ✓ | ✓ | ✓ | ✓ | | | Profile | ✓ | ✓ | ✓ | | | ## Risk-Based Priority | Priority | Description | Coverage Target | |----------|-------------|-----------------| | P0 | Critical path, revenue impact | 100% | | P1 | Core functionality | 90% | | P2 | Important features | 70% | | P3 | Nice-to-have | 50% | ``` ## Test Estimation ### Estimation Factors ```markdown | Factor | Multiplier | Notes | |--------|------------|-------| | New feature | 1.5x | More exploration needed | | Complex logic | 1.3x | More test cases | | External integrations | 1.4x | More failure scenarios | | Security-critical | 1.5x | Additional security tests | | Performance-critical | 1.3x | Load testing needed | ``` ### Estimation Template ```markdown ## Test Effort Estimation | Activity | Hours | Notes | |----------|-------|-------| | Test case design | X | | | Test data setup | X | | | Manual execution | X | | | Automation development | X | | | Bug verification | X | | | Regression testing | X | | | **Total** | **X** | | ``` ## Release Testing Checklist ```markdown ## Pre-Release Checklist ### Functional - [ ] All user stories tested - [ ] Acceptance criteria verified - [ ] Edge cases covered - [ ] Error handling verified ### Regression - [ ] Core workflows passing - [ ] No new failures in existing tests - [ ] Cross-browser verification ### Non-Functional - [ ] Performance benchmarks met - [ ] Security scan completed - [ ] Accessibility audit passed ### Documentation - [ ] Release notes prepared - [ ] Known issues documented - [ ] Rollback plan in place ### Sign-off - [ ] QA sign-off - [ ] Product sign-off - [ ] Engineering sign-off ``` ## Best Practices 1. **Risk-based testing** - Focus effort on highest-risk areas 2. **Shift left** - Involve QA early in development 3. **Automate wisely** - Automate stable, repetitive tests 4. **Data independence** - Tests shouldn't depend on specific data 5. **Environment parity** - Test environments should mirror production 6. **Clear criteria** - Define pass/fail criteria upfront 7. **Continuous feedback** - Report status early and often
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.