ソース情報
- リポジトリ
- brasga-a/patinho
- ソースの最終更新活動
- 2026年2月25日 21:44
- 検出された SKILL.md の言語
- 英語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/brasga-a/patinho --skill better-authコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | better-auth |
| description | Implementation guide and best practices for Better Auth |
Better Auth is a comprehensive authentication library for TypeScript. It's framework-agnostic and heavily plugin-based.
Install:
npm install better-auth
npx @better-auth/cli init
Database Setup:
Define your schema (Drizzle/Prisma) according to the docs. Better Auth needs specific tables (user, session, account, verification).
Server Configuration (lib/auth.ts):
import { betterAuth } from "better-auth";
import { drizzleAdapter } from "better-auth/adapters/drizzle";
import { db } from "./db"; // your drizzle instance
export const auth = betterAuth({
database: drizzleAdapter(db, {
provider: "pg", // or "mysql", "sqlite"
}),
emailAndPassword: {
enabled: true,
},
// Add plugins here
});
Client Configuration (lib/auth-client.ts):
import { createAuthClient } from "better-auth/client";
export const authClient = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_APP_URL,
});
To enable deep integration with Cursor or other AI tools via MCP (Model Context Protocol):
npx @better-auth/cli mcp --cursor
This installs the context server that helps AI understand your specific auth configuration dynamically.