ark-reqnroll
Writing Gherkin Feature files and the Reqnroll verb bindings steps. Use this skill when adding or reviewing Reqnroll features or Binding/Steps classes for any…
by ARKlab★ 40 GitHub stars
Install ark-reqnroll in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Reqnroll application scenarios
Use this skill when adding or reviewing Reqnroll features or Binding/Steps classes for any project.
Workflow
- Read the feature, bindings, hooks, drivers, and application contracts before adding a verb.
- Prefer an existing coarse verb. Add a binding only when the action is reusable across scenarios or features.
- Use a scenario-owned domain driver to dispatch application request, query, and command contracts. Keep URLs, status codes, JSON, and generated transport wrappers in focused transport tests.
- Store active entities and results in the driver. Subsequent verbs should act on or compare that active state without repeating identifiers.
- Use
Tablevalues when they improve readability:CreateInstance<T>for one DTO,CreateSet<T>for a collection,CompareToInstancefor one result, andCompareToSetfor result collections. - Run the affected feature with the project’s intended test profile. Include persistence and messaging infrastructure when the behavior owns it.
Rules
- Make Gherkin describe a user or QA action, not a handler implementation.
- Keep bindings coarse and domain-neutral: create, update, retrieve, search, wait, and compare are reusable; do not add one verb per business case.
- Keep mutable state scenario-owned. Never share an active entity, container, clock, or client between scenarios.
- Steps classes are not per-Feature file and are supposed to be re-used even across features.
- Let drivers own domain state and contract dispatch; bindings should only map Gherkin input to driver calls and implement assertions. Drivers should swallow exceptions and track them for assertions to check.
- Model remote dependencies behind mock drivers. Do not mock application-owned infrastructure such as databases or message buses.
- For asynchronous workflows, build independent sender and receiver containers. Share only intentional scenario state and the test transport; never share a container or scope.
- Wait with bounded polling. Timeout messages should include enough queue, in-process, deferred, outbox, and error diagnostics to diagnose a failure.
- Dispose receivers, drain/reset test transport, clear queued work, and reset scenario data after every scenario.
- Keep public binding and driver types documented and follow the project’s source style.
- A
Givensetup binding may invoke the same operation as aWhen, but it must assert that the operation succeeded. - Every scenario must finish with a
Thenassertion (or anAndcontinuation of one); never leave the last action as an uncheckedWhen.
Scenario Example
Scenario: Update an active entity
Given I create an entity with
| Name |
| Ada |
When I update the current entity with
| Name |
| Ada Lovelace|
Then the current entity is
| Name |
| Ada Lovelace|
Scenario: Update an active entity with invalid name
Given I create an entity with
| Name |
| Ada |
When I try to update the current entity with
| Name |
| <Invalid> |
Then I get an error of type 'InvalidName'
public sealed class EntityDriver
{
private readonly TestContext _ctx;
public EntityDriver(TestContext ctx)
{
_ctx = ctx;
}
public Entity Current => _current ?? throw new InvalidOperationException("No current entity is available in this scenario.");
private Entity? _current;
public async Task CreateAsync(Entity.V1.Create input, CancellationToken ctk = default)
{
_current = await _ctx.DispatchRequestAsync<Entity_CreateRequest, Entity>(
new Entity_CreateRequest(input), ctk).ConfigureAwait(false);
}
public async Task RetrieveCurrentAsync(CancellationToken ctk = default)
{
_current = await _ctx.DispatchQueryAsync<Entity_GetQuery, Entity>(
new Entity_GetQuery(Current.Id),
ctk).ConfigureAwait(false);
}
public async Task UpdateCurrentAsync(Entity.V1.Input input, CancellationToken ctk = default)
{
_current = await _ctx.DispatchRequestAsync<Entity_UpdateRequest, Entity>(
new Entity_UpdateRequest(input, Current.Id),
ctk).ConfigureAwait(false);
}
}
[Binding]
public sealed class EntitySteps
{
private readonly EntityDriver _entity;
private Exception? _exception = null;
public EntitySteps(EntityDriver entitys)
{
_entity = entitys;
}
[Given("I create a Entity with")]
public async Task GivenCreateEntity(Table table)
{
await CreateEntity(table).ConfigureAwait(false);
_entity.Current.Should().NotBeNull();
}
[When("I create a Entity with")]
public async Task CreateEntity(Table table)
{
await _entity.CreateAsync(table.CreateInstance<Entity.V1.Create>()).ConfigureAwait(false);
}
[When("I try to create a En
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the ark-reqnroll skill do?
Writing Gherkin Feature files and the Reqnroll verb bindings steps. Use this skill when adding or reviewing Reqnroll features or Binding/Steps classes for any project.
How do I install the ark-reqnroll skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ark-reqnroll skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…