Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
bdd - Skill - OpenSmartRoute
Skillv1.0.0
bdd
Each `.feature` file must have a corresponding `.steps.ts` test file - Use `jest-cucumber` to write test flows - Step definitions must include `given`, `when`, `then` - Each `step` should use explicit
{
"ocm": "1",
"id": "daskinnyman-bdd-video-management-bdd-rule",
"kind": "skill",
"name": "bdd",
"description": "Each `.feature` file must have a corresponding `.steps.ts` test file - Use `jest-cucumber` to write test flows - Step definitions must include `given`, `when`, `then` - Each `step` should use explicit variable naming (e.g., `username`, `password`, `result`) - Tests should use `jest.fn()` to create mock functions (e.g., `mockLogin = jest.fn(login)`) - Each scenario should verify: - Whether mock functions are called (`toHaveBeenCalledWith()`) - Whether mock functions are called only once (`toHaveBeenCalledTimes(1)`) - Correct return results (`toBe(...)`) - Each test file should include `beforeEach()` and clear mock state (`jest.clearAllMocks()`) - Use data-testid to capture controls - Error messages should be verified using `screen.getByText(...)` or `getByTestId(...)` - All field operations should use `userEvent.type` or `clear` - UI tests should wrap async result verification with `waitFor` - Must include at least: - Success scenarios - Error scenarios (invalid credentials) - Boundary scenarios (empty values)",
"publisher": "daskinnyman",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Each `.feature` file must have a corresponding `.steps.ts` test file - Use `jest-cucumber` to write test flows - Step definitions must include `given`, `when`, `then` - Each `step` should use explicit variable naming (e.g., `username`, `password`, `result`) - Tests should use `jest.fn()` to create mock functions (e.g., `mockLogin = jest.fn(login)`) - Each scenario should verify: - Whether mock functions are called (`toHaveBeenCalledWith()`) - Whether mock functions are called only once (`toHaveBeenCalledTimes(1)`) - Correct return results (`toBe(...)`) - Each test file should include `beforeEach()` and clear mock state (`jest.clearAllMocks()`) - Use data-testid to capture controls - Error messages should be verified using `screen.getByText(...)` or `getByTestId(...)` - All field operations should use `userEvent.type` or `clear` - UI tests should wrap async result verification with `waitFor` - Must include at least: - Success scenarios - Error scenarios (invalid credentials) - Boundary scenarios (empty values)"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/daskinnyman/bdd-video-management",
"path": ".cursor/rules/bdd.mdc",
"ref": "5e87f911226e9c6864990800cf22c0845a417914",
"url": "https://github.com/daskinnyman/bdd-video-management/blob/5e87f911226e9c6864990800cf22c0845a417914/.cursor/rules/bdd.mdc",
"key": "daskinnyman/bdd-video-management/.cursor/rules/bdd.mdc"
},
"applies_to": "features/**/*.feature,features/**/*.steps.ts,features/**/*.steps.tsx"
},
"instructions": "- Each `.feature` file must have a corresponding `.steps.ts` test file\n- Use `jest-cucumber` to write test flows\n- Step definitions must include `given`, `when`, `then`\n- Each `step` should use explicit variable naming (e.g., `username`, `password`, `result`)\n- Tests should use `jest.fn()` to create mock functions (e.g., `mockLogin = jest.fn(login)`)\n- Each scenario should verify:\n - Whether mock functions are called (`toHaveBeenCalledWith()`)\n - Whether mock functions are called only once (`toHaveBeenCalledTimes(1)`)\n - Correct return results (`toBe(...)`)\n- Each test file should include `",
"cost": {
"context_tokens": 259
}
}
Fetch it by URL: GET /api/v1/registry/daskinnyman-bdd-video-management-bdd-rule/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.