·cucumber-gherkin
{}

cucumber-gherkin

el-feo/ai-context

使用 Cucumber 和 Gherkin 语法进行全面的 BDD 测试。在编写功能文件 (.feature)、步骤定义、挂钩或实现行为驱动开发时使用。涵盖 Gherkin 关键字(功能、场景、给定/何时/然后、背景、场景大纲、规则)、Ruby/JavaScript/Java/Python 的步骤定义模式、挂钩(Before/After/BeforeAll/AfterAll)、标签、数据表、文档字符串和最佳实践。触发黄瓜、小黄瓜、BDD、功能文件、步骤定义、验收测试、可执行规范。

35安装·5热度·@el-feo

安装

$npx skills add https://github.com/el-feo/ai-context --skill cucumber-gherkin

SKILL.md

BDD testing framework with plain-text executable specifications. Gherkin syntax with step definitions in Ruby, JavaScript, Java, or Python.

Cucumber reads executable specifications in plain text and validates software behavior. Gherkin is the structured grammar making plain text machine-readable.

| Given | Setup/precondition | Given I am logged in as "admin" | | When | Action/trigger | When I click the submit button | | Then | Assertion/outcome | Then I should see "Success" | | And | Continue previous type | And I have 3 items in my cart | | But | Negative continuation | But I should not see "Error" | | | Bullet-style step | I have eggs |

使用 Cucumber 和 Gherkin 语法进行全面的 BDD 测试。在编写功能文件 (.feature)、步骤定义、挂钩或实现行为驱动开发时使用。涵盖 Gherkin 关键字(功能、场景、给定/何时/然后、背景、场景大纲、规则)、Ruby/JavaScript/Java/Python 的步骤定义模式、挂钩(Before/After/BeforeAll/AfterAll)、标签、数据表、文档字符串和最佳实践。触发黄瓜、小黄瓜、BDD、功能文件、步骤定义、验收测试、可执行规范。 来源:el-feo/ai-context。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/el-feo/ai-context --skill cucumber-gherkin
分类
{}数据分析
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 cucumber-gherkin?

使用 Cucumber 和 Gherkin 语法进行全面的 BDD 测试。在编写功能文件 (.feature)、步骤定义、挂钩或实现行为驱动开发时使用。涵盖 Gherkin 关键字(功能、场景、给定/何时/然后、背景、场景大纲、规则)、Ruby/JavaScript/Java/Python 的步骤定义模式、挂钩(Before/After/BeforeAll/AfterAll)、标签、数据表、文档字符串和最佳实践。触发黄瓜、小黄瓜、BDD、功能文件、步骤定义、验收测试、可执行规范。 来源:el-feo/ai-context。

如何安装 cucumber-gherkin?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/el-feo/ai-context --skill cucumber-gherkin 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/el-feo/ai-context

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-01