Create Auth Skill
deadlock-mod-manager/deadlock-mod-manager
Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth.
Relational database implementation across Python, Rust, Go, and TypeScript.
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ancoleman/ai-design-components using-relational-databases --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/using-relational-databases .claude/skills/using-relational-databases && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .claude/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databasesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ancoleman/ai-design-components using-relational-databases --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/using-relational-databases .agents/skills/using-relational-databases && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .agents/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ancoleman/ai-design-components using-relational-databases --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/using-relational-databases .cursor/skills/using-relational-databases && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .cursor/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ancoleman/ai-design-components.git --path skills/using-relational-databases--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ancoleman/ai-design-components using-relational-databases --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/using-relational-databases .gemini/skills/using-relational-databases && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .gemini/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ancoleman/ai-design-components using-relational-databasesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/using-relational-databases .github/skills/using-relational-databases && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .github/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ancoleman/ai-design-components --skill using-relational-databases -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ancoleman/ai-design-components using-relational-databases --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/using-relational-databases .opencode/skills/using-relational-databases && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "using-relational-databases" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/using-relational-databases into .opencode/skills/using-relational-databases/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-relational-databases", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
using-relational-databasesRelational database implementation across Python, Rust, Go, and TypeScript.
Using Relational Databases is an agent skill from ancoleman/ai-design-components. Relational database implementation across Python, Rust, Go, and TypeScript. Use when building CRUD applications, transactional systems, or structured data storage. Covers PostgreSQL (primary), MySQL, SQLite, ORMs (SQLAlchemy, Prisma, SeaORM, GORM), query builders (Drizzle, sqlc, SQLx), migrations, connection pooling, and serverless databases (Neon, PlanetScale, Turso).
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts and reference files (for example `examples/python-sqlalchemy/README.md`, `examples/python-sqlalchemy/main.py` and `outputs.yaml`).
It sits in Databases, covering ORMs and data access. It works with Prisma, SQLAlchemy, Python and TypeScript. The repository describes itself as: Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 76551b7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Using Relational Databases loads about 2.5k tokens when it runs, and up to ~34k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 684 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from ancoleman/ai-design-components at commit 76551b7, republished under its MIT licence (© ancoleman). 684 words, ~2,467 tokens.
.claude/skills/using-relational-databases/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.This skill guides relational database selection and implementation across multiple languages. Choose the optimal database engine, ORM/query builder, and deployment strategy for transactional systems, CRUD applications, and structured data storage.
Trigger this skill when:
Skip this skill for:
Database Selection Decision Tree
═══════════════════════════════════════════════════════════
PRIMARY CONCERN?
├─ MAXIMUM FLEXIBILITY & EXTENSIONS (JSON, arrays, vector search)
│ └─ PostgreSQL
│ ├─ Serverless → Neon (scale-to-zero, database branching)
│ └─ Traditional → Self-hosted, AWS RDS, Google Cloud SQL
│
├─ EMBEDDED / EDGE DEPLOYMENT (local-first, global latency)
│ └─ SQLite or Turso
│ ├─ Global distribution → Turso (libSQL, edge replicas)
│ └─ Local-only → SQLite (embedded, zero-config)
│
├─ LEGACY SYSTEM / MYSQL REQUIRED
│ └─ MySQL
│ ├─ Serverless → PlanetScale (non-blocking migrations)
│ └─ Traditional → Self-hosted, AWS RDS, Google Cloud SQL
│
└─ RAPID PROTOTYPING
├─ Python → SQLModel (FastAPI) or SQLAlchemy 2.0
├─ TypeScript → Prisma (best DX) or Drizzle (performance)
├─ Rust → SQLx (compile-time checks)
└─ Go → sqlc (type-safe code generation)ORM vs Query Builder Selection
═══════════════════════════════════════════════════════════
TEAM PRIORITIES?
├─ DEVELOPMENT SPEED / DEVELOPER EXPERIENCE
│ └─ ORM (abstracts SQL, handles relations automatically)
│ ├─ Python → SQLAlchemy 2.0, SQLModel
│ ├─ TypeScript → Prisma (migrations, type generation)
│ ├─ Rust → SeaORM (Active Record + Data Mapper)
│ └─ Go → GORM, Ent
│
├─ PERFORMANCE / QUERY CONTROL
│ └─ Query Builder (SQL-like, zero abstraction overhead)
│ ├─ Python → SQLAlchemy Core, asyncpg
│ ├─ TypeScript → Drizzle, Kysely
│ ├─ Rust → SQLx (compile-time query validation!)
│ └─ Go → sqlc (generates types from SQL)
│
├─ TYPE SAFETY / COMPILE-TIME GUARANTEES
│ ├─ Rust → SQLx (queries checked at build time)
│ ├─ Go → sqlc (generates types from SQL)
│ ├─ TypeScript → Prisma or Drizzle
│ └─ Python → SQLModel (Pydantic integration)
│
└─ COMPLEX QUERIES / JOINS
├─ SQL-first → Query builders or raw SQL
└─ ORM-friendly → SeaORM, SQLAlchemy ORMRecommended Libraries:
/websites/sqlalchemy_en_21) - ORM + Core, 7,090 snippetsWhen to Use:
Quick Pattern:
from sqlmodel import SQLModel, Field, Session
class User(SQLModel, table=True):
id: int | None = Field(default=None, primary_key=True)
email: str = Field(unique=True, index=True)See: references/orms-python.md for complete SQLAlchemy/SQLModel patterns, async workflows, and connection pooling.
Recommended Libraries:
/prisma/prisma, score: 96.4, 4,281 doc snippets) - Best DX, migrations/drizzle-team/drizzle-orm-docs, score: 95.4, 4,037 snippets) - Performance, SQL-likeQuick Comparison:
See: references/orms-typescript.md for Prisma vs Drizzle detailed comparison, Kysely, TypeORM patterns.
Recommended Libraries:
Quick Pattern:
use sqlx::FromRow;
#[derive(FromRow)]
struct User { id: i32, email: String, name: String }
// Compile-time checked queries (verified at build time!)
let user = sqlx::query_as::<_, User>("SELECT * FROM users WHERE email = $1")
.bind("test@example.com").fetch_one(&pool).await?;See: references/orms-rust.md for SQLx macros, SeaORM, Diesel patterns, and compile-time guarantees.
Recommended Libraries:
Quick Pattern:
-- queries.sql: SQL annotations generate type-safe Go code
-- name: CreateUser :one
INSERT INTO users (email, name) VALUES ($1, $2) RETURNING *;user, err := queries.CreateUser(ctx, db.CreateUserParams{Email: "test@example.com"})See: references/orms-go.md for sqlc setup, GORM, Ent, and pgx patterns.
Recommended Pool Sizes:
See: references/connection-pooling.md for configuration examples, sizing formulas, and monitoring strategies.
Critical Principles:
CREATE INDEX CONCURRENTLY (PostgreSQL) to avoid blocking writesTools: Alembic (Python), Prisma Migrate (TypeScript), SQLx migrations (Rust), golang-migrate (Go)
See: references/migrations-guide.md for safe migration patterns, multi-phase deployments, and rollback strategies.
| Database | Type | Key Feature | Best For |
|---|---|---|---|
| Neon | PostgreSQL | Database branching, scale-to-zero | Development workflows, preview environments |
| PlanetScale | MySQL (Vitess) | Non-blocking schema changes | MySQL apps, zero-downtime migrations |
| Turso | SQLite (libSQL) | Edge deployment, low latency | Edge functions, global distribution |
See: references/serverless-databases.md for setup examples, branching workflows, and cost comparisons.
Common Integration Patterns:
See working examples in: examples/python-sqlalchemy/, examples/typescript-drizzle/, examples/rust-sqlx/
references/postgresql-guide.md - PostgreSQL features (pgvector, PostGIS, TimescaleDB)references/mysql-guide.md - MySQL-specific patterns, PlanetScale integrationreferences/sqlite-guide.md - SQLite patterns, Turso edge deploymentreferences/orms-python.md - SQLAlchemy 2.0, SQLModel, asyncpgreferences/orms-typescript.md - Prisma, Drizzle, Kysely comparisonsreferences/orms-rust.md - SQLx, SeaORM, Dieselreferences/orms-go.md - GORM, sqlc, Ent, pgxreferences/migrations-guide.md - Safe schema evolution patternsreferences/connection-pooling.md - Pool sizing and monitoringreferences/serverless-databases.md - Neon, PlanetScale, Turso deploymentexamples/python-sqlalchemy/ - SQLAlchemy 2.0 + FastAPI with pooling, migrationsexamples/typescript-prisma/ - Prisma + Next.js with schema, migrationsexamples/typescript-drizzle/ - Drizzle + Hono with type-safe queriesexamples/rust-sqlx/ - SQLx + Axum with compile-time checksexamples/go-sqlc/ - sqlc + Gin with generated type-safe codescripts/validate_schema.py - Validate database schema structure, constraintsscripts/generate_migration.py - Generate migration templates for common operationsSecurity:
Performance:
EXPLAIN ANALYZE for slow queriesReliability:
Development:
© ancoleman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 16 other files (scripts, references) in skills/using-relational-databases of ancoleman/ai-design-components.
Open the folder on GitHubat commit 76551b7
Using Relational Databases next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Using Relational Databases this skillancoleman/ai-design-components | 526 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Create Auth Skilldeadlock-mod-manager/deadlock-mod-manager | 473 | 4 repos | ~3.4k | Automated safety check: Pass | GPL-3.0 | |
| Prisma 8 Contract-First ORMprisma/orm | 48k | — | ~3.7k | Automated safety check: Notes | Apache-2.0 | |
| Better Auth Best Practicesviclafouch/meme-studio | 110 | 5 repos | ~1.5k | Automated safety check: Pass | None | |
| Database Migrationsaffaan-m/ECC | 274k | 4 repos | ~3k | Automated safety check: Pass | MIT | |
| Drizzle Orm Expertdavila7/claude-code-templates | 32k | 3 repos | ~2.6k | Automated safety check: Pass | MIT |
deadlock-mod-manager/deadlock-mod-manager
Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth.
prisma/orm
Routes Prisma 8 tasks such as contracts, migrations, queries and upgrades to the right reference files for projects on the contract-first @prisma/orm packages.
viclafouch/meme-studio
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
affaan-m/ECC
Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…
davila7/claude-code-templates
Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration.
affaan-m/ECC
Prisma ORM patterns for TypeScript backends — schema design, query optimization, transactions, pagination, and critical traps like updateMany returning count not records, $transaction timeouts…
ancoleman/ai-design-components
Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.
ancoleman/ai-design-components
Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages.
ancoleman/ai-design-components
Builds tables and data grids for displaying tabular information, from simple HTML tables to complex enterprise data grids.
ancoleman/ai-design-components
Creates comprehensive dashboard and analytics interfaces that combine data visualization, KPI cards, real-time updates, and interactive layouts.
ancoleman/ai-design-components
Designs layout systems and responsive interfaces including grid systems, flexbox patterns, sidebar layouts, and responsive breakpoints.
ancoleman/ai-design-components
Displays chronological events and activity through timelines, activity feeds, Gantt charts, and calendar interfaces.
Categories
Relational database implementation across Python, Rust, Go, and TypeScript. Using Relational Databases is an agent skill from ancoleman/ai-design-components. Relational database implementation across Python, Rust, Go, and TypeScript.
Using Relational Databases fits situations like: building CRUD applications; transactional systems; structured data storage.
Run `npx skills add ancoleman/ai-design-components --skill using-relational-databases -a claude-code`. Or copy the skill folder (skills/using-relational-databases in ancoleman/ai-design-components) into .claude/skills/using-relational-databases in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ancoleman/ai-design-components --skill using-relational-databases -a codex`. Or copy the skill folder (skills/using-relational-databases in ancoleman/ai-design-components) into .agents/skills/using-relational-databases in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ancoleman/ai-design-components --skill using-relational-databases -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/using-relational-databases, .gemini/skills/using-relational-databases, .github/skills/using-relational-databases and .opencode/skills/using-relational-databases in your project.
Going by SKILL.md and its folder, Using Relational Databases needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Using Relational Databases is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 31k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Using Relational Databases: Create Auth Skill (deadlock-mod-manager/deadlock-mod-manager, 473 stars), Prisma 8 Contract-First ORM (prisma/orm, 48k stars), Better Auth Best Practices (viclafouch/meme-studio, 110 stars) and Database Migrations (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ancoleman (a GitHub user) maintains it in ancoleman/ai-design-components, which has 526 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on December 11, 2025.
Source: ancoleman/ai-design-components on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.