Content Preview
# Form Validation Template
Tests required fields, format validation, and inline error messages.
## Prerequisites
- Form at `{{baseUrl}}/{{formPath}}`
---
## TypeScript
```typescript
import { test, expect } from '@playwright/test';
test.describe('Form Validation', () => {
test.beforeEach(async ({ page }) => {
await page.goto('{{baseUrl}}/{{formPath}}');
});
// Happy path: all errors resolved on re-submit
test('clears errors when valid data entered', async ({ page }) => {
awHow to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/validation.md \
https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering-team/playwright-pro/templates/forms/validation.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/alirezarezvani/claude-skillsThen reference at engineering-team/playwright-pro/templates/forms/validation.md
Related Skills
Scanning Input Validation Practices
This skill enables Claude to automatically scan source code for potential input validation vulnerabilities. It identifies areas where user-supplied data is not properly sanitized or validated before being used in operations, which could lead to security exploits like SQL injection, cross-site script
skill-adapterscanning input validation practices
by jeremylongshore · plugins-plus-skills
validation-checklist
MCP Validation Checklist
engineeringvalidationchecklist
by alirezarezvani · alirezarezvani-claude-skills
Defense-in-Depth Validation
Validate at every layer data passes through to make bugs impossible
defense-in-depthdefensedepth validation
by Jesse Vincent (community) · obra-superpowers-skills
Conducting Chaos Engineering
This skill enables Claude to design and execute chaos engineering experiments to test system resilience. It is used when the user requests help with failure injection, latency simulation, resource exhaustion testing, or resilience validation. The skill is triggered by discussions of chaos experiment
skill-adapterconducting chaos engineering
by jeremylongshore · plugins-plus-skills