add-test-case
Add Test Case
Add a new test case to packages/auth-testing-library/src/test-cases.ts — the authTestCases array.
Step 1: Understand what to test
Ask the user what behavior they want to test. If $ARGUMENTS is provided, use that as the description.
Step 2: Write the test case
Add a new entry to the authTestCases array in test-cases.ts. Follow these rules:
Test structure
Every test is an AuthTestCase object with name, category, and fn:
More from himself65/auth-spec
security-best-practice
Audit and harden authentication code for security best practices. Use when the user wants to check their auth implementation for vulnerabilities, harden session handling, fix credential storage, validate OAuth/OIDC flows, add MFA/passkeys, or apply OWASP-recommended security patterns.
14create-auth
Scaffold signin and signup authentication endpoints for a project. Use when the user wants to add authentication, create login/register flows, or set up auth from scratch.
13auth-review
Reviews authentication and authorization code for security issues, best practices, and spec compliance. Use when reviewing auth-related code, checking login flows, token handling, session management, or access control.
3