supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
generate-qa-test-cases
Generate QA test cases in Traditional Chinese from project code analysis.
Full skill instructions
Analyze project code and generate comprehensive test cases for QA testing.
Important: Reports should be written in Traditional Chinese.
$ARGUMENTS - Target path to analyze (e.g., libs/mxsecurity/account-page)Read all relevant files from the target path:
**/*.ts - TypeScript files (components, services, models)**/*.html - Template files**/*.model.ts - Data models**/*.def.ts - Constants and definitions**/*.api.ts - API service filesFrom TypeScript files, extract:
Form Group Definitions
this.fb.group({...}) or new FormGroup({...})this.fb.nonNullable.group({...})Form Controls with Validators
Validators.* usageOneValidators.* usageConditional Validators
setValidators() / clearValidators() callsOutput Format:
## Form Fields and Validation Rules
### Form: {formName}
| Field Name | Type | Required | Validators | Conditions |
| ---------- | -------- | -------- | ------------------------------------------ | ---------------- |
| username | text | Yes | required, maxLength(32), pattern(alphanum) | Always |
| password | password | Yes | required, minLength(8), complexity | Create mode only |
From HTML templates, extract:
mat-error elements
*ngIf / @if)Error message mappings
hasError('required') → messagehasError('minlength') → messageoneUiFormError directive usage
Output Format:
## Validation Error Messages
### Field: {fieldName}
| Validation Rule | Error Condition | Error Message (Translation Key) |
| --------------- | ----------------------- | ----------------------------------- |
| required | `hasError('required')` | `COMMON.VALIDATION.REQUIRED` |
| minLength(8) | `hasError('minlength')` | `COMMON.VALIDATION.MIN_LENGTH` |
| pattern | `hasError('pattern')` | `ACCOUNT.VALIDATION.INVALID_FORMAT` |
From templates and components, extract:
Conditional rendering
@if (condition) / *ngIf="condition"[hidden]="condition"[disabled]="condition"Mode-based visibility
Dependent field logic
Output Format:
## Conditional Field Visibility
### Trigger: {triggerField} = {value}
| Affected Field | Visibility | Enabled | Notes |
| --------------- | ---------- | ------- | -------------------------------- |
| passwordField | Hidden | - | Only shown in create mode |
| confirmPassword | Shown | Enabled | Appears when password is entered |
From API service files, extract:
POST/PUT endpoints
Request payload structure
Data transformations
Output Format:
## API Payload Format
### Endpoint: POST /auth/accountSet
#### Create Account (mode: 1)
```json
{
"userName": "string (required)",
"mode": 1,
"userEnable": "number (0|1)",
"authority": "number (1|2)",
"new_pw": "string (required)",
"confirm_pw": "string (required)"
}
```
{
"userName": "string (required)",
"mode": 2,
"userEnable": "number (0|1)",
"authority": "number (1|2)"
}
### Step 6: Generate Boundary Test Cases
Based on extracted validation rules, generate test cases:
1. **String Length Boundaries**
- minLength: test with (min-1), min, (min+1)
- maxLength: test with (max-1), max, (max+1)
2. **Numeric Range Boundaries**
- min: test with (min-1), min, (min+1)
- max: test with (max-1), max, (max+1)
3. **Pattern Validation**
- Valid pattern examples
- Invalid pattern examples
- Edge cases (empty, special chars)
4. **Required Fields**
- Empty string
- Whitespace only
- Null/undefined
**Output Format:**
```markdown
## Boundary Test Cases
### Field: username
| Test Case ID | Input Value | Expected Result | Validation Rule |
|--------------|-------------|-----------------|-----------------|
| TC-USER-001 | "" (empty) | Error: Required | required |
| TC-USER-002 | " " (spaces) | Error: Required | required |
| TC-USER-003 | "a" (1 char) | Error: Min length | minLength(4) |
| TC-USER-004 | "abcd" (4 chars) | Valid | minLength(4) |
| TC-USER-005 | "a".repeat(32) | Valid | maxLength(32) |
| TC-USER-006 | "a".repeat(33) | Error: Max length | maxLength(32) |
| TC-USER-007 | "user@123" | Error: Invalid char | pattern(alphanum) |
| TC-USER-008 | "user_123" | Valid | pattern(alphanum) |
Based on conditional visibility and mode logic:
Mode Switching
Dependent Fields
Form Submission
Output Format:
## Interaction Test Cases
### Scenario: Create New Account
| Step | Action | Expected Result |
| ---- | ------------------------------------ | ---------------------------------- |
| 1 | Click "Create" button | Dialog opens with empty form |
| 2 | Leave all fields empty, click Submit | Show required errors on all fields |
| 3 | Enter username "admin" | Show "username exists" error |
| 4 | Enter valid username | Error clears |
| 5 | Enter password "123" | Show "min length" error |
| 6 | Enter password "ValidPass1!" | Error clears |
| 7 | Enter mismatched confirm password | Show "password mismatch" error |
| 8 | Enter matching confirm password | Error clears |
| 9 | Click Submit | Account created, dialog closes |
Generate a comprehensive test case document at:
{target}/domain/src/lib/docs/QA-TEST-CASES.md
# QA Test Cases - {Feature Name}
Generated: {current_date}
Source: {target_path}
## Table of Contents
1. [Form Fields and Validation Rules](#form-fields-and-validation-rules)
2. [Validation Error Messages](#validation-error-messages)
3. [Conditional Field Visibility](#conditional-field-visibility)
4. [API Payload Format](#api-payload-format)
5. [Boundary Test Cases](#boundary-test-cases)
6. [Interaction Test Cases](#interaction-test-cases)
---
{Generated sections from Steps 2-7}
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.
Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
Send, read, and manage Gmail messages, drafts, labels, and account settings.
Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.
Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.
Discover your celebrity doppelgänger with StarByFace!
GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams
Detect AI-generated voices to protect against audio fraud.
Ensure Your Content's Originality with AI Plagiarism Checker
Upscale images by 400% without quality loss
Protect your social media from copyright disputes
Accurately Detect AI-Generated Content with TheChecker.AI
Chrome extension that detects and flags AI-generated content