Writing Probitas scenarios. MUST BE USED when writing/editing E2E tests, creating scenarios, or working with *.probitas.ts files.
/plugin marketplace add probitas-test/claude-plugins/plugin install probitas@probitas-testThis skill inherits all available tools. When active, it can use any tool Claude has access to.
ALWAYS delegate to the scenario-writer agent using the Task tool.
CRITICAL - Language:
Steps:
subagent_type: "probitas:scenario-writer"Example:
User asks: "ユーザー認証APIのテストを書いて"
Your response:
I'll use the probitas:scenario-writer agent to write this Probitas test scenario.
Then invoke Task tool:
subagent_type: "probitas:scenario-writer"prompt: "Write an E2E test for the user authentication API that:
description: "Write auth test scenario"probitas.jsonc → run /probitas-init first/probitas-check to verify/probitas-run to testIndependent steps → separate scenarios
// ❌ BAD
scenario("Tests")
.step("A", ...) // no ctx.previous
.step("B", ...) // no ctx.previous
.build();
// ✅ GOOD
export default [
scenario("A").step(...).build(),
scenario("B").step(...).build(),
];
NO if/throw. Use expect() only.
// ❌ FORBIDDEN
if (res.statusCode !== 0) throw new Error("Failed");
// ✅ CORRECT
expect(res).toBeOk().toHaveDataMatching({ statusCode: 0 });
export default + .build()expect() only - NO if/throwMaster authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.