/ 目錄 / 演練場 / Better Auth Skills
● 官方 better-auth ⚡ 即開即用

Better Auth Skills

作者 better-auth · better-auth/skills

Official Better Auth skills - set up auth with multiple providers, sessions, and 2FA via AI agents.

Better Auth Skills is a Claude Code/agent skill by better-auth. Official Better Auth skills - set up auth with multiple providers, sessions, and 2FA via AI agents. See the source repo for setup, supported clients, and configuration details.

為什麼要用

核心特性

即時演示

實際使用效果

better-auth-skills.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "better-auth-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/better-auth/skills",
        "~/.claude/skills/better-auth-skills"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "better-auth-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/better-auth/skills",
        "~/.claude/skills/better-auth-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "better-auth-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/better-auth/skills",
        "~/.claude/skills/better-auth-skills"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "better-auth-skills": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/better-auth/skills",
        "~/.claude/skills/better-auth-skills"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "better-auth-skills",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/better-auth/skills",
        "~/.claude/skills/better-auth-skills"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "better-auth-skills": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/better-auth/skills",
          "~/.claude/skills/better-auth-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add better-auth-skills -- git clone https://github.com/better-auth/skills ~/.claude/skills/better-auth-skills

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Better Auth Skills

Use Better Auth Skills for its primary workflow

👤 Developers using AI coding agents ⏱ ~10 min beginner

何時使用: You need the capability: Official Better Auth skills - set up auth with multiple providers, sessions, and 2FA via AI agents.

前置條件
  • Skill installed — git clone https://github.com/better-auth/skills ~/.claude/skills/better-auth-skills
步驟
  1. Install
    Install Better Auth Skills following the README at https://github.com/better-auth/skills✓ 已複製
    → Skill appears in your client's available tools/skills
  2. Invoke
    Use Better Auth Skills to complete the task described in its docs.✓ 已複製
    → Agent calls the relevant tool/skill and returns a result

結果: Working integration with the capabilities advertised by the project.

注意事項
  • README is the source of truth; details here may lag upstream — Check https://github.com/better-auth/skills for the latest setup steps and tool list

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills