Community생산성 & 협업github.com

better-auth/보안-모범-사례

better-auth-security-best-practices — AI 에이전트를 위한 설치 가능한 스킬입니다.

보안-모범-사례란 무엇인가요?

better-auth-security-best-practices는 AI 에이전트(예: Claude Code, Cursor, Codex)가 Better-Auth 라이브러리를 사용할 때 보안 모범 사례를 따르도록 안내하는 설치형 스킬입니다. 이 스킬은 인증 시스템 구축 시 발생할 수 있는 일반적인 보안 취약점(예: 세션 하이재킹, CSRF, XSS)을 방지하는 방법을 설명하며, 안전한 비밀번호 저장, 토큰 관리, 권한 부여, 속도 제한, HTTPS 사용, 안전한 쿠키 설정 등 개발자에게 필수적인 보안 원칙을 제시합니다. 주로 Node.js/TypeScript 환경의 Better-Auth와 함께 사용되며, AI 에이전트가 코드 생성 또는 검토 중 자동으로 보안 가이드를 참조할 수 있도록 설계되었습니다. 이 스킬은 정형화된 마크다운 문서를 기반으로 작동하여, 에이전트가 실시간으로 보안 규칙을 학습하고 적용할 수 있게 도와줍니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/better-auth/skills/tree/main/skills/better-auth-security-best-practices

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

보안-모범-사례은(는) 무엇을 하나요?

better-auth-security-best-practices — AI 에이전트를 위한 설치 가능한 스킬입니다.

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

better-auth/better-auth-best-practices

Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.

better-auth/create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

better-auth/email-and-password-best-practices

Configure email verification, implement password reset flows, set password policies, and customise hashing algorithms for Better Auth email/password authentication. Use when users need to set up login, sign-in, sign-up, credential authentication, or password security with Better Auth.

better-auth/organization-best-practices

Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.

better-auth/two-factor-authentication-best-practices

Configure TOTP authenticator apps, send OTP codes via email/SMS, manage backup codes, handle trusted devices, and implement 2FA sign-in flows using Better Auth's twoFactor plugin. Use when users need MFA, multi-factor authentication, authenticator setup, or login security with Better Auth.

관련 스킬