[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D9NSDHT88DXT6KD7TYVQZZ":3,"skill-same:01M7D9NSDHT88DXT6KD7TYVQZZ":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":14,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M7D9NSDHT88DXT6KD7TYVQZZ","SpecFlow BDD Testing",null,"C# .NET BDD testing with SpecFlow using Gherkin feature files, step bindings, hooks, dependency injection, Selenium integration, and living documentation with SpecFlow+ LivingDoc.","GrupoANDevelopment-m\u002Falberto-ai","GrupoANDevelopment-m","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257455179?v=4","01M7D69X2N2KEVN0SJF6WGM6SH","Antônio  Ndombe","01M7D69X3P5JTT8H8S904N3888",0,"MIT","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Fqa\u002Fspecflow-testing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"SpecFlow BDD Testing\"\ndescription: \"C# .NET BDD testing with SpecFlow using Gherkin feature files, step bindings, hooks, dependency injection, Selenium integration, and living documentation with SpecFlow+ LivingDoc.\"\nversion: 1.0.0\nauthor: thetestingacademy\nlicense: MIT\ntags: [specflow, bdd, csharp, dotnet, gherkin, nunit, selenium, living-documentation]\ntestingTypes: [bdd, acceptance, e2e, integration]\nframeworks: [specflow]\nlanguages: [csharp]\ndomains: [web, api, backend]\nagents: [claude-code, cursor, github-copilot, windsurf, codex, aider, continue, cline, zed, bolt]\n---\n\n# SpecFlow BDD Testing\n\nYou are an expert QA engineer specializing in SpecFlow, the BDD framework for .NET. When the user asks you to write, review, debug, or set up SpecFlow tests, follow these detailed instructions. You understand the SpecFlow ecosystem deeply including Gherkin feature files, step bindings, hooks, context injection, scenario outline, data tables, SpecFlow+ LivingDoc, and integration with NUnit\u002FxUnit\u002FMSTest runners and Selenium WebDriver.\n\n## Core Principles\n\n1. **Business-Readable Features** — Write Gherkin scenarios in business language. Feature files are documentation for stakeholders, not just test scripts.\n2. **Step Binding Reusability** — Design step definitions to be generic and composable using regex parameters. One step binding should serve multiple scenarios.\n3. **Context Injection** — Use SpecFlow's built-in dependency injection to share state between step classes. Inject `ScenarioContext`, `FeatureContext`, or custom context objects.\n4. **Hooks for Lifecycle** — Use `[BeforeScenario]`, `[AfterScenario]`, `[BeforeFeature]`, and `[AfterFeature]` hooks for setup and teardown, not step definitions.\n5. **Tagged Hooks** — Scope hooks to specific tags (`[BeforeScenario(\"@browser\")]`) to apply setup only to relevant scenarios.\n6. **Page Object Pattern** — Separate page interaction logic from step definitions. Step bindings call page object methods.\n7. **Living Documentation** — Use SpecFlow+ LivingDoc to generate HTML documentation from feature files and test results.\n\n## Project Structure\n\n```\nProjectName.Specs\u002F\n├── ProjectName.Specs.csproj\n├── specflow.json                      # SpecFlow configuration\n├── Features\u002F\n│   ├── Auth\u002F\n│   │   ├── Login.feature\n│   │   ├── Registration.feature\n│   │   └── PasswordReset.feature\n│   ├── Shopping\u002F\n│   │   ├── Cart.feature\n│   │   └── Checkout.feature\n│   └── Api\u002F\n│       ├── UsersApi.feature\n│       └── OrdersApi.feature\n├── StepDefinitions\u002F\n│   ├── AuthSteps.cs\n│   ├── ShoppingSteps.cs\n│   ├── ApiSteps.cs\n│   └── CommonSteps.cs\n├── Hooks\u002F\n│   ├── BrowserHooks.cs\n│   ├── ApiHooks.cs\n│   └── DatabaseHooks.cs\n├── PageObjects\u002F\n│   ├── BasePage.cs\n│   ├── LoginPage.cs\n│   ├── DashboardPage.cs\n│   └── CartPage.cs\n├── Contexts\u002F\n│   ├── BrowserContext.cs\n│   ├── ApiContext.cs\n│   └── UserContext.cs\n├── Drivers\u002F\n│   └── BrowserDriver.cs\n├── Support\u002F\n│   ├── TestDataBuilder.cs\n│   └── ConfigManager.cs\n└── appsettings.test.json\n```\n\n## Detailed Code Examples\n\n### Feature File (Gherkin)\n\n```gherkin\n# Features\u002FAuth\u002FLogin.feature\n@auth\nFeature: User Authentication\n  As a registered user\n  I want to login to the application\n  So that I can access my account dashboard\n\n  Background:\n    Given I am on the login page\n\n  @smoke @positive\n  Scenario: Successful login with valid credentials\n    When I enter \"user@example.com\" in the email field\n    And I enter \"SecurePass123\" in the password field\n    And I click the login button\n    Then I should be redirected to the dashboard\n    And I should see the welcome message \"Welcome back\"\n\n  @negative\n  Scenario: Login fails with invalid password\n    When I enter \"user@example.com\" in the email field\n    And I enter \"wrongpassword\" in the password field\n    And I click the login button\n    Then I should see the error message \"Invalid credentials\"\n    And I should remain on the login page\n\n  @negative @data-driven\n  Scenario Outline: Login validation errors\n    When I enter \"\u003Cemail>\" in the email field\n    And I enter \"\u003Cpassword>\" in the password field\n    And I click the login button\n    Then I should see the error message \"\u003Cerror>\"\n\n    Examples:\n      | email            | password      | error                  |\n      |                  | SecurePass123 | Email is required      |\n      | user@example.com |               | Password is required   |\n      | invalid-email    | SecurePass123 | Invalid email format   |\n\n  @regression\n  Scenario: Login with different user roles\n    Given the following users exist:\n      | Email              | Password      | Role    |\n      | admin@example.com  | AdminPass123  | Admin   |\n      | editor@example.com | EditorPass123 | Editor  |\n      | viewer@example.com | ViewerPass123 | Viewer  |\n    When I login as \"admin@example.com\" with password \"AdminPass123\"\n    Then I should see the admin panel\n```\n\n### Step Definitions\n\n```csharp\n\u002F\u002F StepDefinitions\u002FAuthSteps.cs\nusing TechTalk.SpecFlow;\nusing TechTalk.SpecFlow.Assist;\nusing FluentAssertions;\nusing PageObjects;\nusing Contexts;\n\nnamespace ProjectName.Specs.StepDefinitions;\n\n[Binding]\npublic class AuthSteps\n{\n    private readonly BrowserContext _browserContext;\n    private readonly LoginPage _loginPage;\n    private readonly DashboardPage _dashboardPage;\n    private readonly ScenarioContext _scenarioContext;\n\n    public AuthSteps(\n        BrowserContext browserContext,\n        LoginPage loginPage,\n        DashboardPage dashboardPage,\n        ScenarioContext scenarioContext)\n    {\n        _browserContext = browserContext;\n        _loginPage = loginPage;\n        _dashboardPage = dashboardPage;\n        _scenarioContext = scenarioContext;\n    }\n\n    [Given(@\"I am on the login page\")]\n    public void GivenIAmOnTheLoginPage()\n    {\n        _loginPage.Open();\n        _loginPage.IsLoaded().Should().BeTrue(\"Login page should be displayed\");\n    }\n\n    [When(@\"I enter \"\"(.*)\"\" in the email field\")]\n    public void WhenIEnterInTheEmailField(string email)\n    {\n        _loginPage.EnterEmail(email);\n    }\n\n    [When(@\"I enter \"\"(.*)\"\" in the password field\")]\n    public void WhenIEnterInThePasswordField(string password)\n    {\n        _loginPage.EnterPassword(password);\n    }\n\n    [When(@\"I click the login button\")]\n    public void WhenIClickTheLoginButton()\n    {\n        _loginPage.ClickLogin();\n    }\n\n    [Then(@\"I should be redirected to the dashboard\")]\n    public void ThenIShouldBeRedirectedToTheDashboard()\n    {\n        _dashboardPage.IsLoaded().Should().BeTrue(\"Dashboard should be displayed\");\n        _browserContext.Driver.Url.Should().Contain(\"\u002Fdashboard\");\n    }\n\n    [Then(@\"I should see the welcome message \"\"(.*)\"\"\")]\n    public void ThenIShouldSeeTheWelcomeMessage(string expectedMessage)\n    {\n        _dashboardPage.GetWelcomeMessage().Should().Contain(expectedMessage);\n    }\n\n    [Then(@\"I should see the error message \"\"(.*)\"\"\")]\n    public void ThenIShouldSeeTheErrorMessage(string expectedError)\n    {\n        _loginPage.GetErrorMessage().Should().Be(expectedError);\n    }\n\n    [Then(@\"I should remain on the login page\")]\n    public void ThenIShouldRemainOnTheLoginPage()\n    {\n        _browserContext.Driver.Url.Should().Contain(\"\u002Flogin\");\n    }\n\n    [Given(@\"the following users exist:\")]\n    public void GivenTheFollowingUsersExist(Table table)\n    {\n        var users = table.CreateSet\u003CUserData>();\n        foreach (var user in users)\n        {\n            \u002F\u002F Create users via API for test setup\n            var apiContext = _scenarioContext.Get\u003CApiContext>();\n            apiContext.CreateTestUser(user.Email, user.Password, user.Role);\n        }\n    }\n\n    [When(@\"I login as \"\"(.*)\"\" with password \"\"(.*)\"\"\")]\n    public void WhenILoginAs(string email, string password)\n    {\n        _loginPage.EnterEmail(email);\n        _loginPage.EnterPassword(password);\n        _loginPage.ClickLogin();\n    }\n}\n\npublic class UserData\n{\n    public string Email { get; set; }\n    public string Password { get; set; }\n    public string Role { get; set; }\n}\n```\n\n### Context Classes (Dependency Injection)\n\n```csharp\n\u002F\u002F Contexts\u002FBrowserContext.cs\nusing OpenQA.Selenium;\n\nnamespace Contexts;\n\npublic class BrowserContext : IDisposable\n{\n    public IWebDriver Driver { get; set; }\n    public string BaseUrl { get; set; }\n\n    public BrowserContext()\n    {\n        BaseUrl = Environment.GetEnvironmentVariable(\"BASE_URL\") ?? \"http:\u002F\u002Flocalhost:3000\";\n    }\n\n    public void Dispose()\n    {\n        Driver?.Quit();\n        Driver?.Dispose();\n    }\n}\n\n\u002F\u002F Contexts\u002FApiContext.cs\nusing System.Net.Http;\nusing System.Net.Http.Json;\n\nnamespace Contexts;\n\npublic class ApiContext : IDisposable\n{\n    public HttpClient Client { get; }\n    public HttpResponseMessage LastResponse { get; set; }\n    public string AuthToken { get; set; }\n    private readonly string _baseUrl;\n\n    public ApiContext()\n    {\n        _baseUrl = Environment.GetEnvironmentVariable(\"API_URL\") ?? \"http:\u002F\u002Flocalhost:3000\u002Fapi\";\n        Client = new HttpClient { BaseAddress = new Uri(_baseUrl) };\n    }\n\n    public async Task CreateTestUser(string email, string password, string role)\n    {\n        var payload = new { email, password, role };\n        await Client.PostAsJsonAsync(\"\u002Fapi\u002Ftest\u002Fusers\", payload);\n    }\n\n    public async Task\u003CT> GetResponseAs\u003CT>()\n    {\n        return await LastResponse.Content.ReadFromJsonAsync\u003CT>();\n    }\n\n    public void Dispose()\n    {\n        Client?.Dispose();\n    }\n}\n```\n\n### Hooks\n\n```csharp\n\u002F\u002F Hooks\u002FBrowserHooks.cs\nusing BoDi;\nusing OpenQA.Selenium;\nusing OpenQA.Selenium.Chrome;\nusing TechTalk.SpecFlow;\nusing Contexts;\n\nnamespace Hooks;\n\n[Binding]\npublic class BrowserHooks\n{\n    private readonly IObjectContainer _objectContainer;\n    private readonly BrowserContext _browserContext;\n\n    public BrowserHooks(IObjectContainer objectContainer, BrowserContext browserContext)\n    {\n        _objectContainer = objectContainer;\n        _browserContext = browserContext;\n    }\n\n    [BeforeScenario(\"@browser\", \"@javascript\", \"@ui\")]\n    public void BeforeUiScenario()\n    {\n        var options = new ChromeOptions();\n        if (Environment.GetEnvironmentVariable(\"CI\") != null)\n        {\n            options.AddArguments(\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\");\n        }\n        options.AddArguments(\"--window-size=1920,1080\");\n\n        var driver = new ChromeDriver(options);\n        driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);\n        _browserContext.Driver = driver;\n    }\n\n    [AfterScenario(\"@browser\", \"@javascript\", \"@ui\")]\n    public void AfterUiScenario(ScenarioContext scenarioContext)\n    {\n        if (scenarioContext.TestError != null && _browserContext.Driver != null)\n        {\n            var screenshot = ((ITakesScreenshot)_browserContext.Driver).GetScreenshot();\n            var filename = $\"reports\u002Fscreenshots\u002F{scenarioContext.ScenarioInfo.Title}_{DateTime.Now:yyyyMMdd_HHmmss}.png\";\n            screenshot.SaveAsFile(filename);\n        }\n\n        _browserContext.Driver?.Quit();\n    }\n\n    [BeforeScenario(\"@api\")]\n    public void BeforeApiScenario()\n    {\n        \u002F\u002F API context is auto-injected, just ensure configuration\n        var apiContext = _objectContainer.Resolve\u003CApiContext>();\n        apiContext.Client.DefaultRequestHeaders.Add(\"Accept\", \"application\u002Fjson\");\n    }\n}\n\n\u002F\u002F Hooks\u002FDatabaseHooks.cs\n[Binding]\npublic class DatabaseHooks\n{\n    [BeforeScenario(\"@database\")]\n    public void BeforeDatabaseScenario()\n    {\n        \u002F\u002F Start a transaction\n    }\n\n    [AfterScenario(\"@database\")]\n    public void AfterDatabaseScenario()\n    {\n        \u002F\u002F Rollback transaction to keep database clean\n    }\n\n    [BeforeTestRun]\n    public static void BeforeTestRun()\n    {\n        \u002F\u002F One-time setup: seed database, start services\n    }\n\n    [AfterTestRun]\n    public static void AfterTestRun()\n    {\n        \u002F\u002F One-time teardown: cleanup resources\n    }\n}\n```\n\n### Page Objects\n\n```csharp\n\u002F\u002F PageObjects\u002FBasePage.cs\nusing OpenQA.Selenium;\nusing OpenQA.Selenium.Support.UI;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic abstract class BasePage\n{\n    protected readonly IWebDriver Driver;\n    protected readonly WebDriverWait Wait;\n    protected readonly string BaseUrl;\n\n    protected BasePage(BrowserContext context)\n    {\n        Driver = context.Driver;\n        BaseUrl = context.BaseUrl;\n        Wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(10));\n    }\n\n    protected IWebElement FindElement(By locator)\n    {\n        return Wait.Until(d => d.FindElement(locator));\n    }\n\n    protected void Click(By locator)\n    {\n        Wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(locator)).Click();\n    }\n\n    protected void Type(By locator, string text)\n    {\n        var element = FindElement(locator);\n        element.Clear();\n        element.SendKeys(text);\n    }\n\n    protected string GetText(By locator)\n    {\n        return FindElement(locator).Text;\n    }\n\n    protected bool IsDisplayed(By locator, int timeoutSeconds = 5)\n    {\n        try\n        {\n            var wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(timeoutSeconds));\n            wait.Until(d => d.FindElement(locator).Displayed);\n            return true;\n        }\n        catch\n        {\n            return false;\n        }\n    }\n\n    protected void WaitForUrlContaining(string urlPart)\n    {\n        Wait.Until(d => d.Url.Contains(urlPart));\n    }\n}\n\n\u002F\u002F PageObjects\u002FLoginPage.cs\nusing OpenQA.Selenium;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic class LoginPage : BasePage\n{\n    private static readonly By EmailInput = By.CssSelector(\"[data-testid='email-input']\");\n    private static readonly By PasswordInput = By.CssSelector(\"[data-testid='password-input']\");\n    private static readonly By LoginButton = By.CssSelector(\"[data-testid='login-submit']\");\n    private static readonly By ErrorMessage = By.CssSelector(\"[data-testid='error-message']\");\n\n    public LoginPage(BrowserContext context) : base(context) { }\n\n    public void Open()\n    {\n        Driver.Navigate().GoToUrl($\"{BaseUrl}\u002Flogin\");\n    }\n\n    public bool IsLoaded() => IsDisplayed(EmailInput);\n\n    public void EnterEmail(string email) => Type(EmailInput, email);\n    public void EnterPassword(string password) => Type(PasswordInput, password);\n    public void ClickLogin() => Click(LoginButton);\n    public string GetErrorMessage() => GetText(ErrorMessage);\n}\n\n\u002F\u002F PageObjects\u002FDashboardPage.cs\nusing OpenQA.Selenium;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic class DashboardPage : BasePage\n{\n    private static readonly By WelcomeMessage = By.CssSelector(\"[data-testid='welcome-message']\");\n    private static readonly By AdminPanel = By.CssSelector(\"[data-testid='admin-panel']\");\n\n    public DashboardPage(BrowserContext context) : base(context) { }\n\n    public bool IsLoaded() => IsDisplayed(WelcomeMessage);\n    public string GetWelcomeMessage() => GetText(WelcomeMessage);\n    public bool HasAdminPanel() => IsDisplayed(AdminPanel);\n}\n```\n\n### API Testing Steps\n\n```csharp\n\u002F\u002F StepDefinitions\u002FApiSteps.cs\nusing System.Net;\nusing System.Net.Http.Json;\nusing TechTalk.SpecFlow;\nusing FluentAssertions;\nusing Contexts;\n\nnamespace StepDefinitions;\n\n[Binding]\npublic class ApiSteps\n{\n    private readonly ApiContext _apiContext;\n\n    public ApiSteps(ApiContext apiContext)\n    {\n        _apiContext = apiContext;\n    }\n\n    [Given(@\"I am authenticated as \"\"(.*)\"\"\")]\n    public async Task GivenIAmAuthenticatedAs(string role)\n    {\n        var loginPayload = new { email = $\"{role}@example.com\", password = \"TestPass123\" };\n        var response = await _apiContext.Client.PostAsJsonAsync(\"\u002Fauth\u002Flogin\", loginPayload);\n        var result = await response.Content.ReadFromJsonAsync\u003CLoginResult>();\n        _apiContext.AuthToken = result.Token;\n        _apiContext.Client.DefaultRequestHeaders.Authorization =\n            new System.Net.Http.Headers.AuthenticationHeaderValue(\"Bearer\", result.Token);\n    }\n\n    [When(@\"I send a GET request to \"\"(.*)\"\"\")]\n    public async Task WhenISendAGetRequest(string endpoint)\n    {\n        _apiContext.LastResponse = await _apiContext.Client.GetAsync(endpoint);\n    }\n\n    [When(@\"I send a POST request to \"\"(.*)\"\" with:\")]\n    public async Task WhenISendAPostRequestWith(string endpoint, Table table)\n    {\n        var data = table.Rows[0].ToDictionary(r => r.Key, r => r.Value);\n        _apiContext.LastResponse = await _apiContext.Client.PostAsJsonAsync(endpoint, data);\n    }\n\n    [Then(@\"the response status should be (.*)\")]\n    public void ThenTheResponseStatusShouldBe(int statusCode)\n    {\n        ((int)_apiContext.LastResponse.StatusCode).Should().Be(statusCode);\n    }\n\n    [Then(@\"the response should contain \"\"(.*)\"\"\")]\n    public async Task ThenTheResponseShouldContain(string expectedText)\n    {\n        var body = await _apiContext.LastResponse.Content.ReadAsStringAsync();\n        body.Should().Contain(expectedText);\n    }\n}\n\npublic record LoginResult(string Token);\n```\n\n### SpecFlow Configuration\n\n```json\n\u002F\u002F specflow.json\n{\n  \"language\": {\n    \"feature\": \"en\"\n  },\n  \"bindingCulture\": {\n    \"name\": \"en-US\"\n  },\n  \"generator\": {\n    \"addNonParallelizableMarkerForTags\": [\"@sequential\"]\n  },\n  \"runtime\": {\n    \"missingOrPendingStepsOutcome\": \"Error\"\n  }\n}\n```\n\n### CI\u002FCD Integration (GitHub Actions)\n\n```yaml\nname: SpecFlow BDD Tests\non: [push, pull_request]\n\njobs:\n  specflow:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-dotnet@v4\n        with:\n          dotnet-version: '8.0.x'\n      - run: dotnet restore\n      - run: dotnet build --no-restore\n      - name: Run SpecFlow tests\n        run: dotnet test --no-build --logger \"trx;LogFileName=results.trx\"\n        env:\n          BASE_URL: http:\u002F\u002Flocalhost:3000\n          CI: true\n      - name: Generate LivingDoc\n        run: |\n          dotnet tool install --global SpecFlow.Plus.LivingDoc.CLI\n          livingdoc test-assembly ProjectName.Specs\u002Fbin\u002FDebug\u002Fnet8.0\u002FProjectName.Specs.dll -t ProjectName.Specs\u002Fbin\u002FDebug\u002Fnet8.0\u002FTestExecution.json\n      - uses: actions\u002Fupload-artifact@v4\n        if: always()\n        with:\n          name: test-reports\n          path: |\n            **\u002F*.trx\n            LivingDoc.html\n```\n\n## Best Practices\n\n1. **Use Background for shared preconditions** that apply to all scenarios in a feature file instead of repeating Given steps.\n2. **Tag scenarios for selective execution** — Use `@smoke`, `@regression`, `@api`, `@browser` to filter test runs in different contexts.\n3. **Use Scenario Outline for data-driven tests** with Examples tables instead of duplicating nearly identical scenarios.\n4. **Leverage SpecFlow's DI container** — Inject shared contexts and page objects through constructors rather than using static state.\n5. **Scope hooks with tags** — `[BeforeScenario(\"@browser\")]` runs only for browser tests, keeping API tests fast.\n6. **Use Table.CreateSet\u003CT>()** for mapping Gherkin tables to strongly-typed C# objects with SpecFlow.Assist.\n7. **Generate LivingDoc reports** — SpecFlow+ LivingDoc creates HTML documentation from features and test results for stakeholder visibility.\n8. **Use FluentAssertions** for readable, descriptive assertion messages that improve failure diagnostics.\n9. **Keep step definitions thin** — Step definitions should delegate to page objects, API clients, or service classes.\n10. **Configure `missingOrPendingStepsOutcome` to Error** in specflow.json to catch undefined steps as test failures.\n\n## Anti-Patterns to Avoid\n\n1. **Avoid technical Gherkin** — `When I click CSS selector #btn-submit` is implementation detail. Use `When I submit the form`.\n2. **Avoid monolithic step definition files** — Split steps by domain into focused classes (AuthSteps, ShoppingSteps, ApiSteps).\n3. **Avoid sharing state via static fields** — Use SpecFlow's context injection. Static state causes parallel execution issues.\n4. **Avoid long scenarios** — Keep scenarios under 10 steps. Long scenarios indicate the feature needs decomposition.\n5. **Avoid coupling between scenarios** — Each scenario must be independent. Never depend on previous scenario outcomes.\n6. **Avoid Thread.Sleep()** — Use WebDriverWait with explicit conditions instead of fixed-duration waits.\n7. **Avoid hardcoded configuration** — Use environment variables or appsettings.test.json for URLs, credentials, and timeouts.\n8. **Avoid testing through the UI for everything** — Use API calls for test data setup. Only use UI when testing UI-specific behavior.\n9. **Avoid ignoring SpecFlow profiles** — Use profiles in specflow.json for different environments and configurations.\n10. **Avoid missing screenshot-on-failure** — Always capture screenshots in `[AfterScenario]` hooks when tests fail.\n","# SpecFlow BDD Testing\n\nYou are an expert QA engineer specializing in SpecFlow, the BDD framework for .NET. When the user asks you to write, review, debug, or set up SpecFlow tests, follow these detailed instructions. You understand the SpecFlow ecosystem deeply including Gherkin feature files, step bindings, hooks, context injection, scenario outline, data tables, SpecFlow+ LivingDoc, and integration with NUnit\u002FxUnit\u002FMSTest runners and Selenium WebDriver.\n\n## Core Principles\n\n1. **Business-Readable Features** — Write Gherkin scenarios in business language. Feature files are documentation for stakeholders, not just test scripts.\n2. **Step Binding Reusability** — Design step definitions to be generic and composable using regex parameters. One step binding should serve multiple scenarios.\n3. **Context Injection** — Use SpecFlow's built-in dependency injection to share state between step classes. Inject `ScenarioContext`, `FeatureContext`, or custom context objects.\n4. **Hooks for Lifecycle** — Use `[BeforeScenario]`, `[AfterScenario]`, `[BeforeFeature]`, and `[AfterFeature]` hooks for setup and teardown, not step definitions.\n5. **Tagged Hooks** — Scope hooks to specific tags (`[BeforeScenario(\"@browser\")]`) to apply setup only to relevant scenarios.\n6. **Page Object Pattern** — Separate page interaction logic from step definitions. Step bindings call page object methods.\n7. **Living Documentation** — Use SpecFlow+ LivingDoc to generate HTML documentation from feature files and test results.\n\n## Project Structure\n\n```\nProjectName.Specs\u002F\n├── ProjectName.Specs.csproj\n├── specflow.json                      # SpecFlow configuration\n├── Features\u002F\n│   ├── Auth\u002F\n│   │   ├── Login.feature\n│   │   ├── Registration.feature\n│   │   └── PasswordReset.feature\n│   ├── Shopping\u002F\n│   │   ├── Cart.feature\n│   │   └── Checkout.feature\n│   └── Api\u002F\n│       ├── UsersApi.feature\n│       └── OrdersApi.feature\n├── StepDefinitions\u002F\n│   ├── AuthSteps.cs\n│   ├── ShoppingSteps.cs\n│   ├── ApiSteps.cs\n│   └── CommonSteps.cs\n├── Hooks\u002F\n│   ├── BrowserHooks.cs\n│   ├── ApiHooks.cs\n│   └── DatabaseHooks.cs\n├── PageObjects\u002F\n│   ├── BasePage.cs\n│   ├── LoginPage.cs\n│   ├── DashboardPage.cs\n│   └── CartPage.cs\n├── Contexts\u002F\n│   ├── BrowserContext.cs\n│   ├── ApiContext.cs\n│   └── UserContext.cs\n├── Drivers\u002F\n│   └── BrowserDriver.cs\n├── Support\u002F\n│   ├── TestDataBuilder.cs\n│   └── ConfigManager.cs\n└── appsettings.test.json\n```\n\n## Detailed Code Examples\n\n### Feature File (Gherkin)\n\n```gherkin\n# Features\u002FAuth\u002FLogin.feature\n@auth\nFeature: User Authentication\n  As a registered user\n  I want to login to the application\n  So that I can access my account dashboard\n\n  Background:\n    Given I am on the login page\n\n  @smoke @positive\n  Scenario: Successful login with valid credentials\n    When I enter \"user@example.com\" in the email field\n    And I enter \"SecurePass123\" in the password field\n    And I click the login button\n    Then I should be redirected to the dashboard\n    And I should see the welcome message \"Welcome back\"\n\n  @negative\n  Scenario: Login fails with invalid password\n    When I enter \"user@example.com\" in the email field\n    And I enter \"wrongpassword\" in the password field\n    And I click the login button\n    Then I should see the error message \"Invalid credentials\"\n    And I should remain on the login page\n\n  @negative @data-driven\n  Scenario Outline: Login validation errors\n    When I enter \"\u003Cemail>\" in the email field\n    And I enter \"\u003Cpassword>\" in the password field\n    And I click the login button\n    Then I should see the error message \"\u003Cerror>\"\n\n    Examples:\n      | email            | password      | error                  |\n      |                  | SecurePass123 | Email is required      |\n      | user@example.com |               | Password is required   |\n      | invalid-email    | SecurePass123 | Invalid email format   |\n\n  @regression\n  Scenario: Login with different user roles\n    Given the following users exist:\n      | Email              | Password      | Role    |\n      | admin@example.com  | AdminPass123  | Admin   |\n      | editor@example.com | EditorPass123 | Editor  |\n      | viewer@example.com | ViewerPass123 | Viewer  |\n    When I login as \"admin@example.com\" with password \"AdminPass123\"\n    Then I should see the admin panel\n```\n\n### Step Definitions\n\n```csharp\n\u002F\u002F StepDefinitions\u002FAuthSteps.cs\nusing TechTalk.SpecFlow;\nusing TechTalk.SpecFlow.Assist;\nusing FluentAssertions;\nusing PageObjects;\nusing Contexts;\n\nnamespace ProjectName.Specs.StepDefinitions;\n\n[Binding]\npublic class AuthSteps\n{\n    private readonly BrowserContext _browserContext;\n    private readonly LoginPage _loginPage;\n    private readonly DashboardPage _dashboardPage;\n    private readonly ScenarioContext _scenarioContext;\n\n    public AuthSteps(\n        BrowserContext browserContext,\n        LoginPage loginPage,\n        DashboardPage dashboardPage,\n        ScenarioContext scenarioContext)\n    {\n        _browserContext = browserContext;\n        _loginPage = loginPage;\n        _dashboardPage = dashboardPage;\n        _scenarioContext = scenarioContext;\n    }\n\n    [Given(@\"I am on the login page\")]\n    public void GivenIAmOnTheLoginPage()\n    {\n        _loginPage.Open();\n        _loginPage.IsLoaded().Should().BeTrue(\"Login page should be displayed\");\n    }\n\n    [When(@\"I enter \"\"(.*)\"\" in the email field\")]\n    public void WhenIEnterInTheEmailField(string email)\n    {\n        _loginPage.EnterEmail(email);\n    }\n\n    [When(@\"I enter \"\"(.*)\"\" in the password field\")]\n    public void WhenIEnterInThePasswordField(string password)\n    {\n        _loginPage.EnterPassword(password);\n    }\n\n    [When(@\"I click the login button\")]\n    public void WhenIClickTheLoginButton()\n    {\n        _loginPage.ClickLogin();\n    }\n\n    [Then(@\"I should be redirected to the dashboard\")]\n    public void ThenIShouldBeRedirectedToTheDashboard()\n    {\n        _dashboardPage.IsLoaded().Should().BeTrue(\"Dashboard should be displayed\");\n        _browserContext.Driver.Url.Should().Contain(\"\u002Fdashboard\");\n    }\n\n    [Then(@\"I should see the welcome message \"\"(.*)\"\"\")]\n    public void ThenIShouldSeeTheWelcomeMessage(string expectedMessage)\n    {\n        _dashboardPage.GetWelcomeMessage().Should().Contain(expectedMessage);\n    }\n\n    [Then(@\"I should see the error message \"\"(.*)\"\"\")]\n    public void ThenIShouldSeeTheErrorMessage(string expectedError)\n    {\n        _loginPage.GetErrorMessage().Should().Be(expectedError);\n    }\n\n    [Then(@\"I should remain on the login page\")]\n    public void ThenIShouldRemainOnTheLoginPage()\n    {\n        _browserContext.Driver.Url.Should().Contain(\"\u002Flogin\");\n    }\n\n    [Given(@\"the following users exist:\")]\n    public void GivenTheFollowingUsersExist(Table table)\n    {\n        var users = table.CreateSet\u003CUserData>();\n        foreach (var user in users)\n        {\n            \u002F\u002F Create users via API for test setup\n            var apiContext = _scenarioContext.Get\u003CApiContext>();\n            apiContext.CreateTestUser(user.Email, user.Password, user.Role);\n        }\n    }\n\n    [When(@\"I login as \"\"(.*)\"\" with password \"\"(.*)\"\"\")]\n    public void WhenILoginAs(string email, string password)\n    {\n        _loginPage.EnterEmail(email);\n        _loginPage.EnterPassword(password);\n        _loginPage.ClickLogin();\n    }\n}\n\npublic class UserData\n{\n    public string Email { get; set; }\n    public string Password { get; set; }\n    public string Role { get; set; }\n}\n```\n\n### Context Classes (Dependency Injection)\n\n```csharp\n\u002F\u002F Contexts\u002FBrowserContext.cs\nusing OpenQA.Selenium;\n\nnamespace Contexts;\n\npublic class BrowserContext : IDisposable\n{\n    public IWebDriver Driver { get; set; }\n    public string BaseUrl { get; set; }\n\n    public BrowserContext()\n    {\n        BaseUrl = Environment.GetEnvironmentVariable(\"BASE_URL\") ?? \"http:\u002F\u002Flocalhost:3000\";\n    }\n\n    public void Dispose()\n    {\n        Driver?.Quit();\n        Driver?.Dispose();\n    }\n}\n\n\u002F\u002F Contexts\u002FApiContext.cs\nusing System.Net.Http;\nusing System.Net.Http.Json;\n\nnamespace Contexts;\n\npublic class ApiContext : IDisposable\n{\n    public HttpClient Client { get; }\n    public HttpResponseMessage LastResponse { get; set; }\n    public string AuthToken { get; set; }\n    private readonly string _baseUrl;\n\n    public ApiContext()\n    {\n        _baseUrl = Environment.GetEnvironmentVariable(\"API_URL\") ?? \"http:\u002F\u002Flocalhost:3000\u002Fapi\";\n        Client = new HttpClient { BaseAddress = new Uri(_baseUrl) };\n    }\n\n    public async Task CreateTestUser(string email, string password, string role)\n    {\n        var payload = new { email, password, role };\n        await Client.PostAsJsonAsync(\"\u002Fapi\u002Ftest\u002Fusers\", payload);\n    }\n\n    public async Task\u003CT> GetResponseAs\u003CT>()\n    {\n        return await LastResponse.Content.ReadFromJsonAsync\u003CT>();\n    }\n\n    public void Dispose()\n    {\n        Client?.Dispose();\n    }\n}\n```\n\n### Hooks\n\n```csharp\n\u002F\u002F Hooks\u002FBrowserHooks.cs\nusing BoDi;\nusing OpenQA.Selenium;\nusing OpenQA.Selenium.Chrome;\nusing TechTalk.SpecFlow;\nusing Contexts;\n\nnamespace Hooks;\n\n[Binding]\npublic class BrowserHooks\n{\n    private readonly IObjectContainer _objectContainer;\n    private readonly BrowserContext _browserContext;\n\n    public BrowserHooks(IObjectContainer objectContainer, BrowserContext browserContext)\n    {\n        _objectContainer = objectContainer;\n        _browserContext = browserContext;\n    }\n\n    [BeforeScenario(\"@browser\", \"@javascript\", \"@ui\")]\n    public void BeforeUiScenario()\n    {\n        var options = new ChromeOptions();\n        if (Environment.GetEnvironmentVariable(\"CI\") != null)\n        {\n            options.AddArguments(\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\");\n        }\n        options.AddArguments(\"--window-size=1920,1080\");\n\n        var driver = new ChromeDriver(options);\n        driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);\n        _browserContext.Driver = driver;\n    }\n\n    [AfterScenario(\"@browser\", \"@javascript\", \"@ui\")]\n    public void AfterUiScenario(ScenarioContext scenarioContext)\n    {\n        if (scenarioContext.TestError != null && _browserContext.Driver != null)\n        {\n            var screenshot = ((ITakesScreenshot)_browserContext.Driver).GetScreenshot();\n            var filename = $\"reports\u002Fscreenshots\u002F{scenarioContext.ScenarioInfo.Title}_{DateTime.Now:yyyyMMdd_HHmmss}.png\";\n            screenshot.SaveAsFile(filename);\n        }\n\n        _browserContext.Driver?.Quit();\n    }\n\n    [BeforeScenario(\"@api\")]\n    public void BeforeApiScenario()\n    {\n        \u002F\u002F API context is auto-injected, just ensure configuration\n        var apiContext = _objectContainer.Resolve\u003CApiContext>();\n        apiContext.Client.DefaultRequestHeaders.Add(\"Accept\", \"application\u002Fjson\");\n    }\n}\n\n\u002F\u002F Hooks\u002FDatabaseHooks.cs\n[Binding]\npublic class DatabaseHooks\n{\n    [BeforeScenario(\"@database\")]\n    public void BeforeDatabaseScenario()\n    {\n        \u002F\u002F Start a transaction\n    }\n\n    [AfterScenario(\"@database\")]\n    public void AfterDatabaseScenario()\n    {\n        \u002F\u002F Rollback transaction to keep database clean\n    }\n\n    [BeforeTestRun]\n    public static void BeforeTestRun()\n    {\n        \u002F\u002F One-time setup: seed database, start services\n    }\n\n    [AfterTestRun]\n    public static void AfterTestRun()\n    {\n        \u002F\u002F One-time teardown: cleanup resources\n    }\n}\n```\n\n### Page Objects\n\n```csharp\n\u002F\u002F PageObjects\u002FBasePage.cs\nusing OpenQA.Selenium;\nusing OpenQA.Selenium.Support.UI;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic abstract class BasePage\n{\n    protected readonly IWebDriver Driver;\n    protected readonly WebDriverWait Wait;\n    protected readonly string BaseUrl;\n\n    protected BasePage(BrowserContext context)\n    {\n        Driver = context.Driver;\n        BaseUrl = context.BaseUrl;\n        Wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(10));\n    }\n\n    protected IWebElement FindElement(By locator)\n    {\n        return Wait.Until(d => d.FindElement(locator));\n    }\n\n    protected void Click(By locator)\n    {\n        Wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(locator)).Click();\n    }\n\n    protected void Type(By locator, string text)\n    {\n        var element = FindElement(locator);\n        element.Clear();\n        element.SendKeys(text);\n    }\n\n    protected string GetText(By locator)\n    {\n        return FindElement(locator).Text;\n    }\n\n    protected bool IsDisplayed(By locator, int timeoutSeconds = 5)\n    {\n        try\n        {\n            var wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(timeoutSeconds));\n            wait.Until(d => d.FindElement(locator).Displayed);\n            return true;\n        }\n        catch\n        {\n            return false;\n        }\n    }\n\n    protected void WaitForUrlContaining(string urlPart)\n    {\n        Wait.Until(d => d.Url.Contains(urlPart));\n    }\n}\n\n\u002F\u002F PageObjects\u002FLoginPage.cs\nusing OpenQA.Selenium;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic class LoginPage : BasePage\n{\n    private static readonly By EmailInput = By.CssSelector(\"[data-testid='email-input']\");\n    private static readonly By PasswordInput = By.CssSelector(\"[data-testid='password-input']\");\n    private static readonly By LoginButton = By.CssSelector(\"[data-testid='login-submit']\");\n    private static readonly By ErrorMessage = By.CssSelector(\"[data-testid='error-message']\");\n\n    public LoginPage(BrowserContext context) : base(context) { }\n\n    public void Open()\n    {\n        Driver.Navigate().GoToUrl($\"{BaseUrl}\u002Flogin\");\n    }\n\n    public bool IsLoaded() => IsDisplayed(EmailInput);\n\n    public void EnterEmail(string email) => Type(EmailInput, email);\n    public void EnterPassword(string password) => Type(PasswordInput, password);\n    public void ClickLogin() => Click(LoginButton);\n    public string GetErrorMessage() => GetText(ErrorMessage);\n}\n\n\u002F\u002F PageObjects\u002FDashboardPage.cs\nusing OpenQA.Selenium;\nusing Contexts;\n\nnamespace PageObjects;\n\npublic class DashboardPage : BasePage\n{\n    private static readonly By WelcomeMessage = By.CssSelector(\"[data-testid='welcome-message']\");\n    private static readonly By AdminPanel = By.CssSelector(\"[data-testid='admin-panel']\");\n\n    public DashboardPage(BrowserContext context) : base(context) { }\n\n    public bool IsLoaded() => IsDisplayed(WelcomeMessage);\n    public string GetWelcomeMessage() => GetText(WelcomeMessage);\n    public bool HasAdminPanel() => IsDisplayed(AdminPanel);\n}\n```\n\n### API Testing Steps\n\n```csharp\n\u002F\u002F StepDefinitions\u002FApiSteps.cs\nusing System.Net;\nusing System.Net.Http.Json;\nusing TechTalk.SpecFlow;\nusing FluentAssertions;\nusing Contexts;\n\nnamespace StepDefinitions;\n\n[Binding]\npublic class ApiSteps\n{\n    private readonly ApiContext _apiContext;\n\n    public ApiSteps(ApiContext apiContext)\n    {\n        _apiContext = apiContext;\n    }\n\n    [Given(@\"I am authenticated as \"\"(.*)\"\"\")]\n    public async Task GivenIAmAuthenticatedAs(string role)\n    {\n        var loginPayload = new { email = $\"{role}@example.com\", password = \"TestPass123\" };\n        var response = await _apiContext.Client.PostAsJsonAsync(\"\u002Fauth\u002Flogin\", loginPayload);\n        var result = await response.Content.ReadFromJsonAsync\u003CLoginResult>();\n        _apiContext.AuthToken = result.Token;\n        _apiContext.Client.DefaultRequestHeaders.Authorization =\n            new System.Net.Http.Headers.AuthenticationHeaderValue(\"Bearer\", result.Token);\n    }\n\n    [When(@\"I send a GET request to \"\"(.*)\"\"\")]\n    public async Task WhenISendAGetRequest(string endpoint)\n    {\n        _apiContext.LastResponse = await _apiContext.Client.GetAsync(endpoint);\n    }\n\n    [When(@\"I send a POST request to \"\"(.*)\"\" with:\")]\n    public async Task WhenISendAPostRequestWith(string endpoint, Table table)\n    {\n        var data = table.Rows[0].ToDictionary(r => r.Key, r => r.Value);\n        _apiContext.LastResponse = await _apiContext.Client.PostAsJsonAsync(endpoint, data);\n    }\n\n    [Then(@\"the response status should be (.*)\")]\n    public void ThenTheResponseStatusShouldBe(int statusCode)\n    {\n        ((int)_apiContext.LastResponse.StatusCode).Should().Be(statusCode);\n    }\n\n    [Then(@\"the response should contain \"\"(.*)\"\"\")]\n    public async Task ThenTheResponseShouldContain(string expectedText)\n    {\n        var body = await _apiContext.LastResponse.Content.ReadAsStringAsync();\n        body.Should().Contain(expectedText);\n    }\n}\n\npublic record LoginResult(string Token);\n```\n\n### SpecFlow Configuration\n\n```json\n\u002F\u002F specflow.json\n{\n  \"language\": {\n    \"feature\": \"en\"\n  },\n  \"bindingCulture\": {\n    \"name\": \"en-US\"\n  },\n  \"generator\": {\n    \"addNonParallelizableMarkerForTags\": [\"@sequential\"]\n  },\n  \"runtime\": {\n    \"missingOrPendingStepsOutcome\": \"Error\"\n  }\n}\n```\n\n### CI\u002FCD Integration (GitHub Actions)\n\n```yaml\nname: SpecFlow BDD Tests\non: [push, pull_request]\n\njobs:\n  specflow:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-dotnet@v4\n        with:\n          dotnet-version: '8.0.x'\n      - run: dotnet restore\n      - run: dotnet build --no-restore\n      - name: Run SpecFlow tests\n        run: dotnet test --no-build --logger \"trx;LogFileName=results.trx\"\n        env:\n          BASE_URL: http:\u002F\u002Flocalhost:3000\n          CI: true\n      - name: Generate LivingDoc\n        run: |\n          dotnet tool install --global SpecFlow.Plus.LivingDoc.CLI\n          livingdoc test-assembly ProjectName.Specs\u002Fbin\u002FDebug\u002Fnet8.0\u002FProjectName.Specs.dll -t ProjectName.Specs\u002Fbin\u002FDebug\u002Fnet8.0\u002FTestExecution.json\n      - uses: actions\u002Fupload-artifact@v4\n        if: always()\n        with:\n          name: test-reports\n          path: |\n            **\u002F*.trx\n            LivingDoc.html\n```\n\n## Best Practices\n\n1. **Use Background for shared preconditions** that apply to all scenarios in a feature file instead of repeating Given steps.\n2. **Tag scenarios for selective execution** — Use `@smoke`, `@regression`, `@api`, `@browser` to filter test runs in different contexts.\n3. **Use Scenario Outline for data-driven tests** with Examples tables instead of duplicating nearly identical scenarios.\n4. **Leverage SpecFlow's DI container** — Inject shared contexts and page objects through constructors rather than using static state.\n5. **Scope hooks with tags** — `[BeforeScenario(\"@browser\")]` runs only for browser tests, keeping API tests fast.\n6. **Use Table.CreateSet\u003CT>()** for mapping Gherkin tables to strongly-typed C# objects with SpecFlow.Assist.\n7. **Generate LivingDoc reports** — SpecFlow+ LivingDoc creates HTML documentation from features and test results for stakeholder visibility.\n8. **Use FluentAssertions** for readable, descriptive assertion messages that improve failure diagnostics.\n9. **Keep step definitions thin** — Step definitions should delegate to page objects, API clients, or service classes.\n10. **Configure `missingOrPendingStepsOutcome` to Error** in specflow.json to catch undefined steps as test failures.\n\n## Anti-Patterns to Avoid\n\n1. **Avoid technical Gherkin** — `When I click CSS selector #btn-submit` is implementation detail. Use `When I submit the form`.\n2. **Avoid monolithic step definition files** — Split steps by domain into focused classes (AuthSteps, ShoppingSteps, ApiSteps).\n3. **Avoid sharing state via static fields** — Use SpecFlow's context injection. Static state causes parallel execution issues.\n4. **Avoid long scenarios** — Keep scenarios under 10 steps. Long scenarios indicate the feature needs decomposition.\n5. **Avoid coupling between scenarios** — Each scenario must be independent. Never depend on previous scenario outcomes.\n6. **Avoid Thread.Sleep()** — Use WebDriverWait with explicit conditions instead of fixed-duration waits.\n7. **Avoid hardcoded configuration** — Use environment variables or appsettings.test.json for URLs, credentials, and timeouts.\n8. **Avoid testing through the UI for everything** — Use API calls for test data setup. Only use UI when testing UI-specific behavior.\n9. **Avoid ignoring SpecFlow profiles** — Use profiles in specflow.json for different environments and configurations.\n10. **Avoid missing screenshot-on-failure** — Always capture screenshots in `[AfterScenario]` hooks when tests fail.\n",{"name":5,"tags":24,"agents":33,"author":44,"domains":45,"license":15,"version":49,"languages":50,"frameworks":51,"description":7,"testingTypes":52},[25,26,27,28,29,30,31,32],"specflow","bdd","csharp","dotnet","gherkin","nunit","selenium","living-documentation",[34,35,36,37,38,39,40,41,42,43],"claude-code","cursor","github-copilot","windsurf","codex","aider","continue","cline","zed","bolt","thetestingacademy",[46,47,48],"web","api","backend","1.0.0",[27],[25],[26,53,54,55],"acceptance","e2e","integration","main","eac438ea9216a7cb8a570cab803eb01eeafc6793","skills\u002Fqa\u002Fspecflow-testing","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m","https:\u002F\u002Fid-preview--d5bef06d-6c9e-4563-a3d4-a855b9d61610.lovable.app\u002F","Eu sou Antonio B. B. Ndombe \r\nEu sou um Pesquisador e desenvolvedor de sistema autonomia cognitivos, fundador de sistemas ODCs ( organismos digital conscientes)","2026-11-04 06:53:39",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"SpecFlow BDD Testing\"",{"tool":70,"command":71},"bunx","bunx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"SpecFlow BDD Testing\"",{"tool":73,"command":74},"pnpm","pnpm dlx skills add GrupoANDevelopment-m\u002Falberto-ai --skill \"SpecFlow BDD Testing\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Fqa\u002Fspecflow-testing\u002FSKILL.md",true,[],[79,87,94,101,108,115],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DASC6FSCJP49JZBSK0NY1Z","nemoclaw-user-reference","Describes the NemoClaw integration layer and blueprint architecture and how they orchestrate compatible agent sandboxes. Use when looking up architecture, agent integration, plugin structure, or blueprint design. Trigger keywords - nemoclaw architecture, nemoclaw agent architecture, nemoclaw plugin blueprint structure, nemoclaw vs openshell, which cli, nemoclaw cli, openshell cli, sandbox commands, nemoclaw cli commands, nemoclaw command reference, nemoclaw network policy, sandbox egress control operator approval, nemoclaw troubleshooting, nemoclaw debug sandbox issues.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-reference\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DAS5S79VK33XFGVAM2TFWF","nemoclaw-user-overview","Explains how OpenClaw, OpenShell, and NemoClaw form the ecosystem, NemoClaw's position in the stack, what NemoClaw adds beyond the community sandbox, and when to prefer NemoClaw versus integrating OpenShell and OpenClaw directly. Use when users ask about the relationship between OpenClaw, OpenShell, and NemoClaw, or when to use NemoClaw versus OpenShell. Trigger keywords - nemoclaw ecosystem, openclaw openshell, nemoclaw vs openshell, sandboxed openclaw, how nemoclaw works, nemoclaw sandbox lifecycle blueprint, nemoclaw overview, openclaw always-on assistants, nvidia openshell, nvidia nemotron, nemoclaw release notes, nemoclaw changelog.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-overview\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7DAS0PQEMET5MNGZ1ABSZVS","nemoclaw-user-monitor-sandbox","Inspects sandbox health, traces agent behavior, and diagnoses problems. Use when monitoring a running sandbox, debugging agent issues, or checking sandbox logs. Trigger keywords - monitor nemoclaw sandbox, debug nemoclaw agent issues.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-monitor-sandbox\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7DARQYGF7E9A69VH6S3CGN9","nemoclaw-user-manage-sandboxes","Explains operational tasks after the quickstart: listing sandboxes, status and health checks, logs, diagnostics, port forwards, multiple sandboxes, credential reset, rebuilds, network presets, upgrades, and uninstall. Trigger keywords - manage nemoclaw sandboxes, nemoclaw status, nemoclaw list, nemoclaw dashboard port, nemoclaw rebuild, nemoclaw upgrade sandboxes, nemoclaw uninstall, sandbox mutability, sandbox runtime configuration, sandbox rebuild, nemoclaw backup, nemoclaw restore, workspace backup, openshell sandbox download upload, nemoclaw messaging channels, nemoclaw telegram, nemoclaw discord, nemoclaw slack, nemoclaw wechat, nemoclaw whatsapp, openshell channel messaging, nemoclaw workspace files, soul.md, user.md, identity.md, agents.md, sandbox persistence.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-sandboxes\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7DARH8BRTG51TRCAB7YWDJ4","nemoclaw-user-manage-policy","Adds, removes, or modifies allowed endpoints in the sandbox policy. Use when customizing network policy, changing egress rules, or configuring sandbox endpoint access. Trigger keywords - customize nemoclaw network policy, sandbox egress policy configuration, nemoclaw integration policy examples, post-install policy setup, openshell approval workflow, policy preset, nemoclaw approve network requests, sandbox egress approval tui.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-policy\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":83,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M7DARAT62M2VR37590VCZ5NS","nemoclaw-user-get-started","Installs NemoClaw, launches a sandbox, and runs the first agent prompt. Use when onboarding, installing, or launching a NemoClaw sandbox for the first time. Trigger keywords - nemoclaw quickstart, install nemoclaw openclaw sandbox, nemohermes quickstart, hermes agent nemoclaw, run hermes openshell sandbox, nemoclaw prerequisites, nemoclaw supported platforms, nemoclaw hardware software, nemoclaw windows wsl2 setup, nemoclaw install windows docker desktop.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-get-started\u002FSKILL.md",[],[]]