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.
generator - Persona - OpenSmartRoute
Personav1.0.0
generator
This chatmode wraps the `playwright-test-generator` agent. Use it to convert approved test plan scenarios into Playwright TypeScript test files.
Output: A TypeScript test file placed under the appropriate tests folder with a single test matching
the scenario name.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "ravikumar-anuma-playwright-typescript-generator-chatmode",
"kind": "persona",
"name": "generator",
"description": "This chatmode wraps the `playwright-test-generator` agent. Use it to convert approved test plan scenarios into Playwright TypeScript test files.",
"publisher": "ravikumar-anuma",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"This chatmode wraps the `playwright-test-generator` agent. Use it to convert approved test plan scenarios into Playwright TypeScript test files."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/ravikumar-anuma/playwright-typescript",
"path": ".github/chatmodes/generator.chatmode.md",
"ref": "4f53ce9fbdfda7ee033f86708f9248aea821c367",
"url": "https://github.com/ravikumar-anuma/playwright-typescript/blob/4f53ce9fbdfda7ee033f86708f9248aea821c367/.github/chatmodes/generator.chatmode.md",
"key": "ravikumar-anuma/playwright-typescript/.github/chatmodes/generator.chatmode.md"
}
},
"instructions": "<!-- Chatmode for the Playwright Test Generator agent -->\n\n# playwright-test-generator\n\nThis chatmode wraps the `playwright-test-generator` agent. Use it to convert approved test plan\nscenarios into Playwright TypeScript test files.\n\nInstructions:\n- Run `generator_setup_page` with the target scenario and page snapshot.\n- Execute steps using Playwright tools and collect generator logs via `generator_read_log`.\n- Call `generator_write_test` to write the generated test file. The file should contain a single\n test with comments containing the original step text.\n\nTools expected: generator_setup_p",
"cost": {
"context_tokens": 196
}
}
Fetch it by URL: GET /api/v1/registry/ravikumar-anuma-playwright-typescript-generator-chatmode/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.