A collection of skills focused on end-to-end automation for AI agents.
Includes best practices, scalable structure, recommended patterns, and scaffolding commands for professional E2E projects.
You can install the skill directly from GitHub using:
npx skills add jmr85/e2e-agent-skillsor
npx skills add https://github.com/jmr85/e2e-agent-skills --skill playwright-automation-expertor install the BDD / Cucumber skill:
npx skills add https://github.com/jmr85/e2e-agent-skills --skill playwright-cucumber-expertor install the Selenium + Cucumber + Java skill:
npx skills add https://github.com/jmr85/e2e-agent-skills --skill selenium-cucumber-expert- Node.js 18+
- npm or pnpm
- CLI compatible with
skills(for example OpenCode, Claude Code, or other compatible agents)
Once installed, the agent will be able to:
playwright-automation-expert
- Generate professional Playwright project structures
- Apply the Page Object Model
- Create feature-based organized tests
- Implement anti-flaky best practices
- Apply naming conventions
- Generate scaffolding for new modules
- Suggest debugging strategies
playwright-cucumber-expert
- Set up
@cucumber/cucumber+ Playwright + TypeScript - Write Gherkin
.featurefiles (Scenario, Outline, Background, DataTable) - Implement
Given/When/Thenstep definitions - Configure the
Worldclass for browser lifecycle management - Write
Before/Afterhooks with screenshot embedding on failure - Configure
cucumber.jswith multi-profile execution (smoke, regression, CI) - Integrate Cucumber into a GitHub Actions CI pipeline
selenium-cucumber-expert
- Set up Selenium WebDriver 4 + Cucumber 7+ in Java (Maven-first, Gradle alternative)
- Build maintainable frameworks with Page Object Model or Screenplay Pattern
- Implement clean Given/When/Then step definitions with DI (PicoContainer/Guice)
- Configure safe parallel execution with
ThreadLocal<WebDriver> - Generate reports with ExtentReports + Cucumber HTML/JSON/JUnit
- Integrate CI with GitHub Actions and Selenium Grid 4 / Docker
Example usage inside the agent:
Create a professional Playwright structure using the playwright-automation-expert skill
Or:
Generate an E2E test applying the Page Object Model and anti-flaky best practices
The skill will automatically load when you mention terms related to:
playwright-automation-expert:
- Playwright
- E2E test / end-to-end
- Browser testing / automation
- Page Object Model
- API testing / REST API
- Project structure / folder layout
- Visual testing
playwright-cucumber-expert:
- Cucumber, BDD, Gherkin
- Feature files, step definitions
- Given / When / Then
- Scenario, Scenario Outline, Background
@cucumber/cucumber- Behaviour-driven development
selenium-cucumber-expert:
- Selenium, Selenium 4, WebDriver, Java test automation
- Cucumber Java, Gherkin, Given/When/Then
- Page Object Model (POM), Screenplay Pattern
- Maven, Gradle, JUnit Platform, TestNG
- ThreadLocal WebDriver, parallel execution
- ExtentReports, Cucumber HTML/JSON/JUnit reports
- Selenium Grid, Docker, GitHub Actions
e2e/
├── tests/
│ ├── login/
│ ├── checkout/
│ └── profile/
├── pages/
├── fixtures/
├── utils/
└── playwright.config.ts
- Guides for debugging flaky tests
- Feature-based organization
- Naming conventions
- Proper use of locators and selectors
- Scalable Page Object Model
- Best practices for API testing with Playwright
- Common anti-patterns and how to avoid them
- Cucumber + Playwright setup and installation guide
- Gherkin feature file patterns
- Step definition implementation with World typing
- Browser lifecycle management via hooks
- Multi-profile
cucumber.jsconfiguration - HTML / JSON / JUnit reporting with screenshot embedding
- GitHub Actions CI integration
- Selenium 4 + Cucumber 7+ setup for Java with Maven as primary build tool
- Four project complexity levels (Basic, Intermediate, Advanced, Enterprise)
- Guidance for both Page Object Model and Screenplay Pattern
- Hooks + dependency injection patterns for scalable step design
- Parallel execution with JUnit Platform and TestNG option
- ExtentReports plus Cucumber native HTML/JSON/JUnit reporting
- GitHub Actions + Selenium Grid 4 / Docker integration
- Scaffolding script (
scripts/scaffold-selenium-bdd.mjs) and reusable assets
skills/selenium-cucumber-expert/evals/evals.jsonis intentionally included for future skill benchmarking and regression checks.- Evaluation run artifacts/workspaces are local development outputs and should not be versioned.
The skill can automatically generate:
- Base project structure
- Initial Playwright configuration
- Recommended npm scripts
- Page Object templates
- Test templates
✔ Use of stable locators
✔ Avoid waitForTimeout
✔ Proper fixture usage
✔ Clear separation between test and page logic
✔ Strategic retries
✔ Debugging with tracing and screenshots
MIT License - See LICENSE file for details.