ab-test-setup
FreePlan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
MFA/2FA implementation: TOTP, WebAuthn/Passkeys, SMS OTP, backup codes, recovery, step-up auth.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
MFA para productos Educabot (docentes, admins, alumnos). WebAuthn/Passkeys preferido, TOTP universal, SMS solo recovery.
| Usar | NO usar |
|---|---|
| Agregar 2FA a backend Go o Node/TS | Solo login social (OAuth) sin factor adicional |
| Integrar Passkeys en web (React+Vite) o mobile (RN) | Apps consumer alumnos menores sin datos sensibles |
| Diseñar enrolamiento, verificación, recovery | Magic links como único factor (passwordless ≠ MFA) |
| Schema DB para credenciales MFA | |
| Step-up auth en endpoints sensibles |
| Factor | Recomendado | Riesgo | Librería |
|---|---|---|---|
| WebAuthn/Passkeys | Sí (preferido 2026+) | Bajo | @simplewebauthn/server, go-webauthn/webauthn |
| TOTP (RFC 6238) | Sí (default universal) | Medio (phishable) | otplib (Node), pquerna/otp (Go) |
| SMS OTP | Solo recovery | Alto (SIM swap) | Twilio Verify, MessageBird |
| Backup codes | Obligatorio | Bajo si hash correcto | custom + Argon2id |
Regla Educabot: admins+docentes MFA obligatorio (mínimo TOTP/Passkey). Alumnos adultos opcional. Menores: NO SMS, solo TOTP/Passkey parental.
otpauth:// URI → QR. Confirmar enrolamiento solo cuando user ingrese código válido.pquerna/otp — totp.Generate() con Issuer "Educabot", Period 30, DigitsSix, AlgorithmSHA1 (compatible Google Authenticator)otplib — authenticator.generateSecret() + keyuri() + QR via qrcodegenerateRegistrationOptions (rpName "Educabot", rpID "educabot.com", attestationType "none", residentKey "preferred"). Guardar challenge en sesión/Redis TTL 5min. Verificar response → guardar credentialID, publicKey, counter.generateAuthenticationOptions + verifyAuthenticationResponse. Actualizar counter cada uso (detecta clonado).Twilio Verify para envío/verificación. Nunca factor primario. Nunca menores. Rate limit: 3 SMS/hora por número.
Generar 10 códigos, mostrar UNA VEZ. Guardar solo hash Argon2id. Al usar: verificar hash, marcar used_at, invalidar. Si quedan <3 → avisar para regenerar.
Requerir MFA aunque sesión activa para: cambio email/password/phone, export datos (LGPD/GDPR), eliminación cuenta, cambios permisos, acceso PII alumnos. Middleware verifica lastMfaTimestamp contra maxAge.
Rate limit en todos los endpoints MFA con Redis sliding window.
→ Read references/rate-limiting.md for límites y lockout por endpoint
Tablas: user_mfa, mfa_backup_codes, mfa_events.
→ Read references/schema-db.md for esquema detallado de cada tabla
Admins+docentes obligatorio, alumnos adultos opcional, menores nunca SMS.
→ Read references/role-rules.md for tabla detallada por rol con métodos y step-up maxAge
→ Read references/anti-patterns.md for lista completa (13 items)
/scaffold-go — scaffold endpoints Go/doc-rfc — documentar decisión técnica/deploy-check — checklist pre-deploy/audit-dev — auditar seguridad del flujo→ Read references/checklist.md for checklist completo (15 items)
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
The English summary is being prepared. Showing the original description.
Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.
The English summary is being prepared. Showing the original description.
Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.
The English summary is being prepared. Showing the original description.
Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.
The English summary is being prepared. Showing the original description.
Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.
The English summary is being prepared. Showing the original description.
Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.
The English summary is being prepared. Showing the original description.