Gherkin Ai
БесплатноПоддерживаетсяEnterprise-Grade Closed-Loop Agentic Orchestration Engine & Spec-Driven Verification Framework for AI Coding Agents.
Описание
Enterprise-Grade Closed-Loop Agentic Orchestration Engine & Spec-Driven Verification Framework for AI Coding Agents.
README
The Closed-Loop Agentic Testing & Orchestration Engine for Enterprise Full-Stack Applications. Turn product requirements into verifiable Gherkin specifications, execute dual-stack implementations (React + Java Spring Boot), and run self-healing agent loops with zero regressions.
🌟 Strategic Capabilities (v2.6.1 Stable Patch Release)
While basic AI spec tools only generate text prompts, gherkin-ai acts as an executable contract and verification harness between Product Intent, AI Agents (Cursor, Claude Code, Windsurf, Antigravity), Code Implementation, and CI/CD Quality Gates:
- 🤖 True Agentic Engine & Self-Healing (
ghk verify --auto-fix&ghk autopilot): Natively connects with LLMs (OpenAI, Anthropic, Ollama). It doesn't just log output; it actively writes and modifies your source code, intercepts test failures, and recursively applies repairs in a true Closed-Loop. - 🌐 Web Studio UI (
ghk web): Launch a premium local graphical interface to interactively generate your Gherkin specifications, detect your stack, and orchestrate agent prompts visually. - 🌳 Official Cucumber AST Parser: 100% compliant with the Gherkin standard using the official
@cucumber/gherkinpackage. Flawlessly parses DataTables, DocStrings, and advanced scenarios for semantic extraction. - 🔗 AST Step Definitions Indexer: Prevents AI hallucinations by statically analyzing your E2E project (Cypress/Playwright/Cucumber-JS) via
ts-morph, extracting existingGiven/When/Thensteps, and forcing the LLM to reuse them. - 🛡️ Semantically Typed Contracts: Extracts variables straight from your Gherkin data tables (like
@validate:email) and outputs strictly typed Zod DTOs instead of generic objects. - ⚙️ Headless CI/CD Mode: Fully decoupled non-interactive mode (
--yes,--non-interactive,--project <dir>) designed for frictionless integration into GitHub Actions, Azure DevOps, and automated pipelines. - 📋 Pre-flight Requirement Validation: Built-in semantic validator inside
ghk autopilotthat analyzes requirements before triggering LLM agents, preventing token waste on vague features. - 🔌 Native MCP Server & Cursor Skills (
ghk mcp install&ghk skill): Zero-config Model Context Protocol (MCP) server. The newghk skillcommand injects native Cursor and Windsurf.cursorrulesto let your IDE automatically invoke Gherkin AI as an internal skill. - 📦 Context Engineering & Guardrails Engine (
ghk context): Structurally packages project architecture, conventions, and security policies into.ghe/, enforcing strict path protection and agent change limits. - 🏗️ DOM & Data Model Anchor: Automatically extracts
schema.prismamodels and Page Object Model (POM)data-testselectors, injecting them into the agent's context to ensure generated tests are grounded in technical reality. - 🏆 Dynamic Quality Gate Index (
ghk quality): Measures spec coverage, unit tests, E2E, type safety, and security dynamically by parsing your real test coverage (coverage-summary.json) and linter outputs. - ☕ Enterprise Java, React, Rust & Go Templates: Extensive boilerplate support. Scaffolds Spring Boot, Next.js, Rust Axum, Go Fiber, and mobile (Flutter/React Native) architectures out-of-the-box.
- 🕵️ Interactive Stack & Pattern Detection (
ghk detect): Auto-detects existing brownfield architectures and intelligently injects industry-standard design patterns (e.g., Hooks, CQRS, MVC) into Agent prompts. - 📡 Event-Driven & AsyncAPI Support: Automatically extracts domain events from Gherkin and scaffolds standard
asyncapi.jsoncontracts. - 🔍 Deep AST Drift Detection (
ghk diff): Validates in CI/CD pipelines if the implemented DTOs and code have drifted from the.featurefile. Now cross-references semantic fields, HTTP status codes, and API Endpoints.
📥 Installation & Execution (v2.6.1)
You can use gherkin-ai via global npm installation, on-demand zero-install npx, or as a project local dev dependency:
Option 1: Global Installation (npm)
npm install -g gherkin-ai
Once installed globally, you can use ghk or gherkin-ai CLI commands directly:
ghk mcp install
ghk verify --auto-fix
ghk context build
ghk quality
Option 2: Zero-Install On-Demand (npx)
Run any gherkin-ai command instantly without global installation:
# Auto-install MCP server for Cursor & Claude Desktop
npx -y gherkin-ai mcp install
# Run closed-loop verification test harness
npx -y gherkin-ai verify --auto-fix
# Build project context & guardrails (.ghe/)
npx -y gherkin-ai context build
# Calculate feature quality score index
npx -y gherkin-ai quality
Option 3: Local Project Dev Dependency
Add to your project's devDependencies:
npm install --save-dev gherkin-ai
Then invoke via npx or add scripts to your package.json:
{
"scripts": {
"test:verify": "ghk verify --auto-fix",
"quality:check": "ghk quality"
}
}
🚀 Quick Start Commands
# 1. Setup MCP Server for Cursor & Claude Desktop
ghk mcp install # (or: npx -y gherkin-ai mcp install)
# 2. Closed-Loop Test Verification with Auto-Fix Loop
ghk verify --auto-fix
# 3. Create a feature using Caveman Mode (skip wizard)
ghk create --caveman
# 4. Auto-detect project stack & suggest design patterns
ghk detect
# 5. Build Project Context & Policy Engine (.ghe/)
ghk context build
📖 Comprehensive Documentation
- CLI Commands Reference Guide
- Model Context Protocol (MCP) Integration Guide
- Closed-Loop Verification & Auto-Repair Guide
- Architecture & Agent Pipeline Design
- Live Web SPA Playground
📄 License
Distributed under the MIT License. Created by Fenner Eduardo.
Установить Gherkin Ai в Claude Desktop, Claude Code, Cursor
unyly install gherkin-aiСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add gherkin-ai -- npx -y gherkin-aiПошаговые гайды: как установить Gherkin Ai
FAQ
Gherkin Ai MCP бесплатный?
Да, Gherkin Ai MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gherkin Ai?
Нет, Gherkin Ai работает без API-ключей и переменных окружения.
Gherkin Ai — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Gherkin Ai в Claude Desktop, Claude Code или Cursor?
Открой Gherkin Ai на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Gherkin Ai with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
