Smoke test auth

From FortiumPartners/ai-mesh · View interactive version

Smoke test auth is an AI agent skill from the GitHub repository FortiumPartners/ai-mesh. **Quick Reference** - Load this first for fast context (~2KB)

How to use this skill

Skill file

Smoke Test Auth Skill

Quick Reference - Load this first for fast context (~2KB)

Mission

Execute comprehensive authentication and authorization smoke tests to validate login flows, token validation, session management, and access control during release workflows.

Core Capabilities

Quick Start

const { SmokeTestAuth } = require('./scripts/test-auth-flows.js');

const tester = new SmokeTestAuth({
  baseUrl: 'https://staging.example.com',
  testCredentials: {
    email: 'test@example.com',
    password: process.env.TEST_USER_PASSWORD
  }
});

const result = await tester.executeTests({
  environment: 'staging',
  tests: ['login', 'token-validation', 'protected-resource']
});

if (result.passed) {
  console.log('✅ Auth smoke tests passed');
}

Performance SLAs

const SLA_TARGETS = {
  login: 2000,              // Login: ≤2s
  tokenValidation: 100,     // Token validation: ≤100ms
  sessionCheck: 50,         // Session check: ≤50ms
  protectedResource: 500,   // Protected resource: ≤500ms
  logout: 1000              // Logout: ≤1s
};

Pass/Fail Criteria

Pass: All auth tests must pass

Fail: Any auth test failure blocks deployment

Need More Detail?

Load: skills/smoke-test-auth/REFERENCE.md (~10KB)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.