Skip to content

Commit bf3ef67

Browse files
committed
docs: improve skill docs
1 parent 2b358ca commit bf3ef67

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed
Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
# Agent Skill
22

3-
Playwright-BDD provides an [agent skill](https://agentskills.io/) that helps AI coding agents generate Gherkin feature files and step definitions. The skill teaches the agent to discover your existing steps via `npx bddgen` and write feature files that reuse them, instead of inventing steps that don't exist.
3+
?> Agent Skill is a new feature. Your feedback and suggestions are [welcome](https://github.com/vitalets/playwright-bdd/issues).
44

5-
Install it with a single command:
5+
Playwright-BDD provides an [agent skill](https://agentskills.io/) that helps AI coding agents generate Gherkin feature files and step definitions, grounded in your actual project steps.
6+
7+
## Supported agents
8+
9+
The skill works with GitHub Copilot, Claude Code, Cursor, Cline, Windsurf, and [many others](https://skills.sh/).
10+
11+
## Installation
12+
13+
Run the following command in your project:
614

715
```
816
npx skills add vitalets/playwright-bdd
917
```
1018

19+
## Usage
20+
1121
Once installed, you can ask your AI agent things like:
12-
- *"Create a feature file for the login flow"*
13-
- *"Add a scenario for the checkout page"*
14-
- *"Write BDD tests for the search functionality"*
22+
- *Create a feature file for the login flow*
23+
- *Add a scenario for the checkout page*
24+
- *Write BDD tests for the search functionality*
25+
26+
The agent will inspect your Playwright BDD configuration, list available steps, and produce a `.feature` file that fits your project. If any required steps are missing, it will also suggest their implementations.
27+

0 commit comments

Comments
 (0)