$npx skillfedfor your agent

serenity-bdd-skill

This skill generates Serenity BDD test automation code structured around the Screenplay pattern, enabling you to build maintainable step definitions and test scenarios. Leverage AI-assisted code generation to accelerate behavior-driven development and reduce manual test scripting overhead.

serenity-bdd-skill generates Serenity BDD test code structured around the Screenplay pattern, which models test interactions as actors performing tasks. Start by defining your test scenarios in Gherkin syntax, then use the skill to generate corresponding step definitions with @Steps annotations. Each step class encapsulates reusable test logic, and the Screenplay pattern ensures your tests remain readable and maintainable as they grow in complexity.

AI-generated summary based on this skill's SKILL.md

339 68 MITupdated by LambdaTest

Decision gist · record as of 2026-07-24

serenity-bdd-skill generates Serenity BDD test code structured around the Screenplay pattern, which models test interactions as actors performing tasks. Start by defining your test scenarios in Gherkin syntax, then use the skill to generate corresponding step definitions with @Steps annotations. Each step class encapsulates reusable test logic, and the Screenplay pattern ensures your tests remain readable and maintainable as they grow in complexity.

manual: git clone https://github.com/LambdaTest/agent-skills → cp -r agent-skills/serenity-bdd-skill ~/.claude/skills/serenity-bdd-skill
serenity-bdd-skill/SKILL.md · version dd7ca861

Use it when

  • serenity-bdd-skill implements the Screenplay pattern.
  • serenity-bdd-skill streamlines Serenity BDD Cucumber integration by generating step definitions that map Gherkin scenarios to executable.

Verify before relying

Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

LambdaTest/agent-skills/serenity-bdd-skill · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I write Serenity BDD tests in Java?

serenity-bdd-skill generates Serenity BDD test code structured around the Screenplay pattern, which models test interactions as actors performing tasks. Start by defining your test scenarios in Gherkin syntax, then use the skill to generate corresponding step definitions with @Steps annotations. Each step class encapsulates reusable test logic, and the Screenplay pattern ensures your tests remain readable and maintainable as they grow in complexity.

What is the Screenplay pattern and how does it work in serenity-bdd-skill?

serenity-bdd-skill implements the Screenplay pattern, which models test automation as actors performing tasks and asking questions about the system. Rather than exposing page objects directly, actors interact with the system through high-level tasks and abilities. This pattern makes tests more expressive and easier to maintain, separating concerns between what actors do (tasks), how they do it (abilities), and what they verify (questions).

How can serenity-bdd-skill help with Serenity BDD and Cucumber integration?

serenity-bdd-skill streamlines Serenity BDD Cucumber integration by generating step definitions that map Gherkin scenarios to executable Java code. The skill automates the creation of step libraries organized with @Steps annotations, reducing manual scripting overhead. It helps you structure acceptance tests so that Cucumber scenarios drive your test execution while Serenity handles reporting and evidence collection.

How do I structure and organize Serenity BDD tests with @Steps annotations?

serenity-bdd-skill generates well-organized step libraries using @Steps annotations to inject reusable step definitions into your test classes. Each @Steps-annotated class groups related actions—like login steps or navigation steps—into logical units. The skill helps you maintain a clean separation between step definitions, page objects, and test scenarios, making your test suite scalable and easier to refactor as requirements change.

How do I configure Serenity BDD for cloud execution and rich HTML reporting?

serenity-bdd-skill supports configuration for cloud execution platforms and generates test code compatible with Serenity's rich HTML reporting. You can configure remote WebDriver capabilities in serenity.conf to point to cloud providers, and the skill helps you structure tests to capture detailed evidence and screenshots. Serenity automatically generates living documentation and comprehensive HTML reports that include test outcomes, performance metrics, and visual evidence.

What does serenity-bdd-skill do to accelerate behavior-driven development?

serenity-bdd-skill accelerates behavior-driven development by using AI-assisted code generation to produce Serenity BDD test automation code automatically. Instead of manually scripting step definitions and test scenarios, the skill generates maintainable, Screenplay-pattern-based code that reduces manual test scripting overhead. This allows teams to focus on defining acceptance criteria and test logic rather than boilerplate code, speeding up test suite development and maintenance.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Serenity BDD Skill

Core Patterns

Step Library Pattern

```java import net.serenitybdd.annotations.Step; import net.serenitybdd.core.pages.PageObject;

public class LoginSteps extends PageObject {

@Step("Navigate to login page")
public void navigateToLogin() {
    openUrl(getDriver().getCurrentUrl() + "/login");
}

@Step("Enter email: {0}")
public void enterEmail(String email) {
    find(By.id("email")).sendKeys(email);
}

@Step("Enter password")
public void enterPassword(String password) {
    find(By.id("password")).sendKeys(password);
}

@Step("Click login button")
public void clickLogin() {
    find(By.cssSelector("button[type='submit']")).click();
}

@Step("Should see the dashboard")

(truncated - see the full file via the links below)

File tree — 3 files
serenity-bdd-skill/SKILL.md
serenity-bdd-skill/reference/advanced-patterns.md
serenity-bdd-skill/reference/playbook.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Generate Serenity BDD test code using Screenplay pattern with step definitions”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

nemojs-skill
by LambdaTest · LambdaTest/agent-skills

This skill enables you to generate and author Nemo.js end-to-end tests for web applications, streamlining test automation workflows. Leverage AI-powered test generation to accelerate your QA processes and reduce manual testing overhead.

MITupdated Jul 2026
★ 339repo stars
specflow-skill
by LambdaTest · LambdaTest/agent-skills

This skill automates the creation of SpecFlow test scenarios and step definitions for C# .NET projects, enabling teams to implement behavior-driven development workflows efficiently. It generates executable BDD test code that bridges business requirements with automated test coverage, streamlining the test development lifecycle.

MITupdated Jul 2026
★ 339repo stars
gauge-skill
by LambdaTest · LambdaTest/agent-skills

gauge-skill enables you to create Gauge test specifications and implement BDD-style automation steps programmatically. Leverage this MIT-licensed tool from LambdaTest to streamline test scenario definition and step execution within your agent workflows.

MITupdated Jul 2026
★ 339repo stars
behave-skill
by LambdaTest · LambdaTest/agent-skills

This skill automates the creation of Behave test frameworks, enabling you to write behavior-driven development scenarios in Gherkin syntax and corresponding Python step definitions. It streamlines test organization and execution, making it easier to align automated testing with business requirements and maintain readable test suites.

MITupdated Jul 2026
★ 339repo stars
selenium-skill
by LambdaTest · LambdaTest/agent-skills

selenium-skill enables you to create robust Selenium WebDriver test automation scripts in your preferred programming language through intelligent code synthesis. Streamline browser testing by leveraging AI to generate production-ready test logic, reducing manual scripting overhead and accelerating test suite development.

MITupdated Jul 2026
★ 339repo stars
lettuce-skill
by LambdaTest · LambdaTest/agent-skills

lettuce-skill enables you to create and execute Behavior-Driven Development tests using Lettuce, a Python-based BDD framework. Write feature files in Gherkin syntax and define step implementations to automate test scenarios. Integrate seamlessly with your Python testing workflows.

MITupdated Jul 2026
★ 339repo stars

More skills appium-skill (MIT) · behat-skill (MIT) · doc-bdd (MIT)

Tags
acceptance-testingbehavior-driven-developmenttest-automationpage-object-modelliving-documentationcloud-executiontest-reportingactor-model