xiaohongshu
xiaohongshu
gherkin
Create and format Gherkin feature files using BDD syntax. Use when creating feature files, scenarios, or writing behavioral specifications.
Full skill instructions
IMPORTANT: All Gherkin feature files MUST follow this naming pattern:
gherkin.feature_N.feature
Where N is a sequential number (1, 2, 3, etc.)
Examples:
gherkin.feature_1.featuregherkin.feature_2.featuregherkin.feature_42.featureIf you have questions about Gherkin syntax or formatting:
@tag
Feature: Feature Name
Background: (Optional - runs before each scenario)
Given some common precondition
Scenario: Scenario Name
Given a precondition
When an action occurs
Then an expected outcome
And another expected outcome
Scenario Outline: Scenario with examples
Given a user with <status>
When they perform <action>
Then they should see <result>
Examples:
| status | action | result |
| admin | delete | success |
| user | delete | denied |
Feature: Feature Name
Rule: Business Rule Name
Example: First scenario under this rule
Given a precondition
When an action
Then an outcome
Example: Second scenario under this rule
Given another precondition
When another action
Then another outcome
Rule: Another Business Rule
Example: Scenario for second rule
...
@failing
Feature: Guess the word
# The first example has two steps
Scenario: Maker starts a game
When the Maker starts a game
Then the Maker waits for a Breaker to join
# The second example has three steps
Scenario: Breaker joins a game
Given the Maker has started a game with the word "silky"
When the Breaker joins the Maker's game
Then the Breaker must guess a word with 5 characters
# -- FILE: features/gherkin.rule_example.feature
@failing
Feature: Highlander
Rule: There can be only One
Example: Only One -- More than one alive
Given there are 3 ninjas
And there are more than one ninja alive
When 2 ninjas meet, they will fight
Then one ninja dies (but not me)
And there is one ninja less alive
Example: Only One -- One alive
Given there is only 1 ninja alive
Then they will live forever ;-)
Rule: There can be Two (in some cases)
Example: Two -- Dead and Reborn as Phoenix
...
# but use sparinglyGiven the following users exist:
| name | email | role |
| Alice | [email protected] | admin |
| Bob | [email protected] | user |
Given a blog post with content:
"""
This is a multi-line
blog post content
"""
When asked to create a Gherkin feature:
gherkin.feature_*.feature filesFor complex questions about Gherkin syntax, step arguments, or advanced features:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience