Skip to content

Instantly share code, notes, and snippets.

@teyfix
teyfix / auth.ts
Last active January 26, 2026 23:28
Better Auth with dynamic baseURL workaround
import { serverConfig } from "@/config/server.config";
import { db } from "@/db/drizzle"; // your drizzle instance
import * as schema from "@/db/schemas/auth.schema";
import { betterAuth, type BetterAuthOptions } from "better-auth";
import { drizzleAdapter } from "better-auth/adapters/drizzle";
import { nextCookies } from "better-auth/next-js";
import { admin } from "better-auth/plugins";
import { v7 } from "uuid";
/**
@GGPrompts
GGPrompts / pmux.md
Last active February 15, 2026 21:50
Claude Code Slash Command: pmux - Interactive Prompt Engineer with tmux send-keys for multi-Claude orchestration #slash-command #claude-code #tmux #prompt-engineering #automation #multi-agent
description
Interactive Prompt Engineer with tmux send-keys - directly send prompts to Claude Code sessions

Interactive Prompt Engineering Agent (Tmux Edition)

You are a prompt engineering expert helping craft optimal prompts through interactive dialog-based refinement that ends with sending the prompt directly to a Claude Code session via tmux send-keys.

Context: Tmux Multi-Session Workflow