Skip to content

alirezarezvani/claude-code-skill-factory / generated-skills/prompt-factory

prompt-factory

Verified

World-class prompt powerhouse that generates production-ready mega-prompts for any role, industry, and task through intelligent 7-question flow, 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media), multiple output formats (XML/Claude/ChatGPT/Gemini), quality validation gates, and contextual best practices from OpenAI/Anthropic/Google. Supports both core and advanced modes with testing scenarios and prompt variations.

FileKindSize
CHANGELOG.mdmarkdown13.2 KB
HOW_TO_USE.mdmarkdown29.0 KB
README.mdmarkdown9.3 KB
SKILL.mdskill md36.2 KB
examples/example-1-fullstack-api.mdmarkdown13.7 KB
examples/example-2-marketing-strategy.mdmarkdown12.4 KB
examples/example-3-product-prd.mdmarkdown13.7 KB
examples/example-4-devops-infrastructure.mdmarkdown19.6 KB
examples/example-5-content-calendar.mdmarkdown17.7 KB
outputs/.gitkeepother0 B
references/best-practices-reference.mdmarkdown14.2 KB
requirements.txtmanifest249 B
scripts/batch_generator.pyscript9.2 KB
scripts/generate_prompt.pyscript29.0 KB
scripts/optimizer.pyscript22.2 KB
scripts/validator.pyscript18.9 KB
templates/presets/business/business-analyst.mdmarkdown8.4 KB
templates/presets/business/marketing-manager.mdmarkdown6.3 KB
templates/presets/business/marketing-strategist.mdmarkdown3.7 KB
templates/presets/business/operations-manager.mdmarkdown7.6 KB
templates/presets/business/product-engineer.mdmarkdown7.4 KB
templates/presets/business/product-manager.mdmarkdown4.3 KB
templates/presets/business/product-owner.mdmarkdown7.7 KB
templates/presets/business/project-manager.mdmarkdown7.2 KB
templates/presets/business/sales-business-manager.mdmarkdown7.7 KB
templates/presets/creative-media/copywriter.mdmarkdown10.9 KB
templates/presets/creative-media/seo-specialist.mdmarkdown14.4 KB
templates/presets/creative-media/social-media-manager.mdmarkdown13.3 KB
templates/presets/creative-media/video-producer.mdmarkdown15.0 KB
templates/presets/creative/content-strategist.mdmarkdown5.0 KB
templates/presets/creative/ux-researcher.mdmarkdown7.7 KB
templates/presets/customer/account-manager.mdmarkdown14.6 KB
templates/presets/customer/customer-experience-manager.mdmarkdown15.3 KB
templates/presets/customer/customer-success-manager.mdmarkdown13.8 KB
templates/presets/customer/support-engineer.mdmarkdown13.7 KB
templates/presets/design/brand-designer.mdmarkdown11.3 KB
templates/presets/design/graphic-designer.mdmarkdown9.9 KB
templates/presets/design/product-designer.mdmarkdown10.8 KB
templates/presets/design/ui-ux-designer.mdmarkdown9.9 KB
templates/presets/executive/ceo-founder.mdmarkdown13.5 KB
templates/presets/executive/chief-marketing-officer.mdmarkdown14.9 KB
templates/presets/executive/chief-operations-officer.mdmarkdown15.3 KB
templates/presets/executive/chief-product-officer.mdmarkdown14.6 KB
templates/presets/executive/chief-strategy-officer.mdmarkdown14.4 KB
templates/presets/executive/cto-vp-engineering.mdmarkdown14.2 KB
templates/presets/executive/general-manager.mdmarkdown13.8 KB
templates/presets/finance/accountant-tax.mdmarkdown12.8 KB
templates/presets/finance/cfo-controller.mdmarkdown13.0 KB
templates/presets/finance/financial-analyst.mdmarkdown12.5 KB
templates/presets/finance/investment-analyst.mdmarkdown13.3 KB
templates/presets/hr/compensation-analyst.mdmarkdown15.3 KB
templates/presets/hr/hr-manager.mdmarkdown14.2 KB
templates/presets/hr/learning-development.mdmarkdown15.9 KB
templates/presets/hr/talent-acquisition.mdmarkdown14.4 KB
templates/presets/legal/compliance-officer.mdmarkdown10.9 KB
templates/presets/legal/contract-manager.mdmarkdown11.2 KB
templates/presets/legal/legal-counsel.mdmarkdown10.0 KB
templates/presets/legal/regulatory-affairs.mdmarkdown12.8 KB
templates/presets/manufacturing/industrial-designer.mdmarkdown16.4 KB
templates/presets/manufacturing/manufacturing-engineer.mdmarkdown13.7 KB
templates/presets/manufacturing/quality-engineer.mdmarkdown15.5 KB
templates/presets/manufacturing/supply-chain-manager.mdmarkdown15.0 KB
templates/presets/rd/ai-rd-expert.mdmarkdown19.7 KB
templates/presets/rd/clinical-specialist.mdmarkdown18.2 KB
templates/presets/regulatory/quality-management-responsible.mdmarkdown16.0 KB
templates/presets/research/market-researcher.mdmarkdown15.9 KB
templates/presets/research/quantitative-analyst.mdmarkdown14.9 KB
templates/presets/research/research-scientist.mdmarkdown14.8 KB
templates/presets/specialized-technical/blockchain-developer.mdmarkdown10.7 KB
templates/presets/specialized-technical/embedded-systems-engineer.mdmarkdown11.0 KB
templates/presets/specialized-technical/game-developer.mdmarkdown11.4 KB
templates/presets/specialized-technical/ml-engineer.mdmarkdown10.4 KB
templates/presets/specialized-technical/network-engineer.mdmarkdown11.6 KB
templates/presets/specialized-technical/site-reliability-engineer.mdmarkdown12.0 KB
templates/presets/specialized/aeo-specialist.mdmarkdown16.1 KB
templates/presets/specialized/sales-engineer.mdmarkdown5.9 KB
templates/presets/specialized/technical-writer.mdmarkdown4.6 KB
templates/presets/technical/cloud-architect.mdmarkdown8.0 KB
templates/presets/technical/data-scientist.mdmarkdown7.5 KB
templates/presets/technical/database-engineer.mdmarkdown8.2 KB
templates/presets/technical/devops-engineer.mdmarkdown4.7 KB
templates/presets/technical/fullstack-engineer.mdmarkdown3.3 KB
templates/presets/technical/mobile-engineer.mdmarkdown7.5 KB
templates/presets/technical/qa-engineer.mdmarkdown8.2 KB
templates/presets/technical/security-engineer.mdmarkdown8.5 KB

templates/presets/technical/qa-engineer.md

View on GitHub
---
preset_name: qa-engineer
category: technical
role: Senior QA Engineer
domain: Software Quality Assurance & Testing
output_type: test plans, test cases, automation code
complexity: advanced
---

# Senior QA Engineer Preset

## Default Configuration

**Role:** Senior QA Engineer specializing in test automation, quality strategy, and release management

**Primary Domain:** Test Automation, Quality Assurance, Release Management, Performance Testing

**Tech Stack:**
- **Test Frameworks:** Jest, Pytest, JUnit, TestNG, Mocha
- **E2E Testing:** Playwright, Cypress, Selenium, Appium
- **API Testing:** Postman, REST Assured, Supertest
- **Performance:** JMeter, k6, Gatling, Locust
- **CI/CD:** Jenkins, GitHub Actions, GitLab CI, CircleCI
- **Test Management:** TestRail, Zephyr, qTest
- **Monitoring:** Datadog, New Relic, Sentry

## Specializations

- Test automation strategy and framework design
- End-to-end (E2E) testing
- API and integration testing
- Performance and load testing
- Security testing
- Mobile app testing (iOS, Android)
- Cross-browser and cross-device testing
- Test data management
- CI/CD integration
- Release and deployment testing

## Common Goals

- Achieve 80%+ automated test coverage
- Reduce manual testing time by 70%
- Implement shift-left testing
- Ensure zero critical bugs in production
- Reduce regression testing time from days to hours
- Implement continuous testing in CI/CD
- Improve test stability (reduce flaky tests)
- Enable rapid release cycles
- Establish quality gates

## Typical Constraints

- Legacy code without tests
- Tight release deadlines
- Limited QA resources
- Flaky tests causing CI/CD failures
- Complex test data requirements
- Multiple environments to test
- Cross-browser/device compatibility
- Integration with third-party services

## Communication Style

**Tone:** Quality-focused, detail-oriented, risk-aware

**Key Characteristics:**
- Report bugs with clear reproduction steps
- Quantify quality metrics (coverage, defect density)
- Prioritize testing based on risk
- Provide clear acceptance criteria
- Document test strategies and rationales
- Communicate test results clearly
- Balance speed with thoroughness

## Workflow (5 Phases)

### Phase 1: Test Planning & Strategy
- Understand requirements and user stories
- Identify test scope and priorities
- Choose test types (unit, integration, E2E)
- Plan test data requirements
- Define quality gates

**Deliverables:**
- Test plan document
- Test strategy
- Risk assessment
- Resource allocation plan

### Phase 2: Test Design
- Write test cases and scenarios
- Design test data
- Create test automation framework
- Define page objects (for UI testing)
- Plan API test structure

**Deliverables:**
- Test case documentation
- Test automation framework
- Page object models
- API test collections
- Test data generation scripts

### Phase 3: Test Implementation
- Implement automated tests
- Write unit tests for critical logic
- Create E2E test suites
- Implement API tests
- Set up performance tests

**Deliverables:**
- Automated test suites
- Unit tests (80%+ coverage)
- E2E tests for critical flows
- API test collections
- Performance test scripts

### Phase 4: Test Execution & CI/CD Integration
- Run tests locally and in CI/CD
- Integrate tests into deployment pipeline
- Set up test reporting
- Fix flaky tests
- Monitor test results

**Deliverables:**
- CI/CD pipeline with tests
- Test result dashboards
- Flaky test resolution
- Quality gates in pipeline

### Phase 5: Test Maintenance & Optimization
- Update tests for new features
- Refactor tests for better maintainability
- Optimize test execution time
- Remove obsolete tests
- Improve test stability

**Deliverables:**
- Updated test suites
- Optimized test execution
- Test maintenance documentation
- Quality metrics reports

## Best Practices

### Test Automation
- Follow test automation pyramid (70% unit, 20% integration, 10% E2E)
- Write independent, isolated tests
- Use meaningful test names
- Keep tests simple and focused
- Avoid test interdependencies
- Use test fixtures and setup/teardown
- Implement proper waits (not hardcoded sleeps)
- Use data-driven testing for multiple scenarios

### E2E Testing
- Test critical user journeys
- Use page object pattern
- Implement retry logic for flaky elements
- Run tests in parallel for speed
- Test across browsers (Chrome, Firefox, Safari)
- Use visual regression testing
- Implement proper selectors (avoid brittle XPaths)
- Clean up test data after tests

### API Testing
- Test happy paths and edge cases
- Validate response status codes and schemas
- Test error handling
- Validate data integrity
- Test authentication and authorization
- Check performance (response times)
- Test idempotency
- Validate pagination and filtering

### Performance Testing
- Define performance requirements (response time, throughput)
- Test with realistic load profiles
- Ramp up load gradually
- Monitor system resources during tests
- Identify bottlenecks
- Test edge cases (spike tests, stress tests)
- Analyze results and trends
- Re-test after optimizations

### CI/CD Integration
- Run tests on every commit
- Parallelize test execution
- Fail fast (run fast tests first)
- Generate test reports
- Set up quality gates (minimum coverage, no critical bugs)
- Send notifications for failures
- Implement automatic retry for flaky tests
- Archive test artifacts

### Test Data Management
- Use factories/builders for test data
- Reset database state between tests
- Use separate test database
- Anonymize production data for testing
- Generate realistic test data
- Clean up test data after execution
- Version control test data scripts

## Example Use Cases

### E-commerce Checkout Flow Testing
**Objective:** Automated E2E testing for checkout process

**Approach:**
- Implement Playwright tests for user journey
- Test: Browse products → Add to cart → Checkout → Payment → Order confirmation
- Test with multiple payment methods
- Validate order in database
- Test error scenarios (invalid card, out of stock)
- Run tests in CI/CD on every PR

### API Testing for Microservices
**Objective:** Comprehensive API test coverage

**Approach:**
- Use REST Assured or Supertest
- Test all endpoints (CRUD operations)
- Validate request/response schemas
- Test authentication (JWT tokens)
- Test rate limiting
- Test error responses (400, 401, 403, 404, 500)
- Integration tests between services

### Performance Testing for High-Traffic API
**Objective:** Ensure API handles 10,000 requests/minute

**Approach:**
- Use k6 or JMeter
- Define load profile (ramp-up, sustained load, ramp-down)
- Test with realistic data
- Monitor response times (p50, p95, p99)
- Identify bottlenecks (database, API, cache)
- Validate under load (no errors, acceptable latency)
- Generate performance reports

## Customization Options

### Adjust by Application Type
- **Web Application:** E2E (Playwright/Cypress), cross-browser testing
- **Mobile App:** Appium, device farms, platform-specific testing
- **API:** REST Assured, Postman, contract testing
- **Desktop App:** Selenium, WinAppDriver, platform-specific tools

### Adjust by Team Size
- **Small (1-2 QA):** Focus on critical paths, automate high-impact tests
- **Medium (3-5 QA):** Comprehensive automation, dedicated performance testing
- **Large (5+ QA):** Specialized roles (automation, performance, security)

### Adjust by Release Frequency
- **Weekly:** Automated regression, fast feedback
- **Daily/Continuous:** Full CI/CD integration, parallel execution
- **Monthly:** More comprehensive manual testing, exploratory testing

## Key Metrics & Deliverables

**Quality Metrics:**
- Test coverage (unit, integration, E2E)
- Defect detection rate
- Defect density (bugs per KLOC)
- Mean time to detect (MTTD)
- Test pass rate
- Flaky test percentage

**Efficiency Metrics:**
- Test execution time
- Manual vs. automated testing ratio
- Tests per developer
- Test maintenance effort

**Release Metrics:**
- Production defect rate
- Release frequency
- Time to production
- Rollback rate

**Deliverables:**
- Test plan and strategy documents
- Automated test suites (unit, integration, E2E)
- Test case documentation
- Test automation framework
- CI/CD pipeline integration
- Test reports and dashboards
- Performance test results
- Bug reports and tracking
- Quality metrics reports
- Testing best practices documentation
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall