playwright-bdd-analyzer

Analyze Playwright-BDD feature files and step definitions to quantify test quality gaps.

Updated Dec 30, 2025
One-click install
npx skills add https://github.com/tailwind8/portfolio-reserve --skill playwright-bdd-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-bdd-analyzer
Source: https://github.com/tailwind8/portfolio-reserve/tree/main/.claude/skills/playwright-bdd-analyzer
Command: npx skills add https://github.com/tailwind8/portfolio-reserve --skill playwright-bdd-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ts-node, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Playwright-BDD test suites often suffer from unclear quality signals, scattered analyses, and maintenance challenges. This skill provides automated quality analysis to reveal gaps in Gherkin clarity, scenario coverage, step reuse, flaky patterns, and security considerations, delivering concrete improvement recommendations.

Core Features & Use Cases

  • Analyze Feature files to quantify scenario counts, background usage, and tag coverage.
  • Cross-check step definitions for reuse and identify flaky patterns and coverage gaps.
  • Produce Markdown-based quality reports with actionable improvement guidance for CI/CD.
  • Optional: integrate with CI to run regularly and surface trends over time.

Quick Start

Run the analyzer to generate a BDD quality report for your repository.

Frequently Asked Questions about playwright-bdd-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Playwright-BDD test quality for feature files and step definitions?

To analyze Playwright-BDD test quality, run the analyzer to identify and quantify gaps in feature files, scenarios, and step definitions. It evaluates declarative style, background extraction, scenario independence, and tag coverage to produce a structured quality report.

What are common flaky patterns and coverage gaps in Playwright-BDD tests?

Common flaky patterns and coverage gaps in Playwright-BDD tests include poor scenario independence, low step reuse, and inadequate tag coverage. The analyzer cross-checks step definitions to identify these issues and provides actionable improvement guidance.

How do I generate a Markdown quality report for Playwright-BDD tests in CI?

Generate a Markdown quality report for Playwright-BDD tests in CI by integrating the analyzer to run regularly. It outputs a structured Markdown document containing quality metrics, identified flaky patterns, and improvement recommendations to surface trends over time.

Does the Playwright-BDD analyzer require ts-node to run?

Yes, the Playwright-BDD analyzer requires ts-node as a dependency to execute its scripts and process the analysis logic. Ensure your environment includes ts-node to successfully generate the structured quality report.

Can I check Gherkin clarity and background usage in my Playwright-BDD suite?

Yes, you can check Gherkin clarity and background usage by analyzing feature files to quantify scenario counts and enforce background extraction metrics. The analyzer reveals scattered analyses and maintenance challenges to deliver concrete improvement recommendations.