Agent skill
Cucumber BDD Testing
Cucumber/Gherkin BDD testing for behavior-driven development workflows
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/qa-testing-automation/skills/cucumber-bdd
SKILL.md
Cucumber BDD Testing Skill
Overview
This skill provides expert-level capabilities for Cucumber-based BDD testing, enabling feature file creation, step definition generation, and living documentation.
Capabilities
Feature File Development
- Write Gherkin feature files
- Structure scenarios effectively
- Implement scenario outlines
- Use backgrounds for common setup
Step Definition Generation
- Generate step definitions from features
- Implement reusable step patterns
- Handle step parameters and transformations
Data Handling
- Handle data tables
- Implement doc strings
- Configure example tables for outlines
Configuration
- Configure Cucumber profiles
- Set up parallel execution
- Configure formatters and reporters
Tag Management
- Implement tag-based test filtering
- Configure tag expressions
- Organize tests with tags
Reporting
- Generate Cucumber reports
- HTML and JSON formatters
- JUnit XML output
Living Documentation
- Generate living documentation
- Keep specs and tests synchronized
- Enable non-technical stakeholder collaboration
Framework Integration
- Integration with Playwright/Cypress
- Integration with Selenium
- Integration with API testing frameworks
Target Processes
e2e-test-suite.js- BDD-style E2E teststest-strategy.js- BDD strategy implementationshift-left-testing.js- Early BDD adoption
Dependencies
@cucumber/cucumber- Cucumber.js- Step definition framework
- Test automation framework
Usage Example
{
kind: 'skill',
skill: {
name: 'cucumber-bdd',
context: {
action: 'execute-features',
featurePath: 'features/**/*.feature',
tags: '@smoke and not @wip',
format: ['html:reports/cucumber.html', 'json:reports/cucumber.json']
}
}
}
Configuration
The skill uses cucumber.js configuration file and supports multiple output formats.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?