ab-test-analysis
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Implement form validation using React Hook Form, Formik, Vee-Validate, and custom validators. Use when building robust form handling with real-time validation.
$ npx -y skills add aj-geddes/useful-ai-prompts --skill form-validation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/form-validationContext preview
The summary Claude sees to decide when to auto-load this skill.
Implement form validation using React Hook Form, Formik, Vee-Validate, and custom validators. Use when building robust form handling with real-time validation.
name: form-validation description: > Implement form validation using React Hook Form, Formik, Vee-Validate, and custom validators. Use when building robust form handling with real-time validation.
Implement comprehensive form validation including client-side validation, server-side synchronization, and real-time error feedback with TypeScript type safety.
Minimal working example:
// types/form.ts
export interface LoginFormData {
email: string;
password: string;
rememberMe: boolean;
}
export interface RegisterFormData {
email: string;
password: string;
confirmPassword: string;
name: string;
terms: boolean;
}
// components/LoginForm.tsx
import { useForm, SubmitHandler } from 'react-hook-form';
import { LoginFormData } from '../types/form';
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
export const LoginForm: React.FC = () => {
const {
register,
handleSubmit,
// ... (see reference guides for full implementation)Detailed implementations in the `references/` directory:
| Guide | Contents | |---|---| | [React Hook Form with TypeScript](references/react-hook-form-with-typescript.md) | React Hook Form with TypeScript | | [Formik with Yup Validation](references/formik-with-yup-validation.md) | Formik with Yup Validation | | [Vue Vee-Validate](references/vue-vee-validate.md) | Vue Vee-Validate | | [Custom Validator Hook](references/custom-validator-hook.md) | Custom Validator Hook | | [Server-Side Validation Integration](references/server-side-validation-integration.md) | Server-Side Validation Integration |
488 production-ready AI prompts, all following a standardized template with validated quality gates. Transform ChatGPT, Claude, and other AI assistants into expert consultants.
Repo: aj-geddes/useful-ai-prompts
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Implement Role-Based Access Control (RBAC), permissions management, and authorization…
Implement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard…
Test web applications for WCAG compliance and ensure usability for users with disabilities.…
Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate…
Implement comprehensive alert management with PagerDuty, escalation policies, and incident…