uuid-primary-keys

Official

Implement robust UUID primary keys in Rails.

AuthorThinkOodle
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance for implementing UUID primary keys in Rails applications, ensuring secure, scalable, and URL-friendly identifiers.

Core Features & Use Cases

  • UUID Generation: Supports UUIDv7 (recommended) and UUIDv4 generation.
  • Database Support: Covers PostgreSQL native UUID types and SQLite binary storage with Base36 encoding.
  • Migration Assistance: Guides through creating tables, adding foreign keys, and configuring generators for UUIDs.
  • Use Case: When building a new Rails application or refactoring an existing one to use non-sequential, externally-friendly IDs for better security and API design.

Quick Start

Use the uuid-primary-keys skill to configure Rails generators to use UUIDs as primary keys by default.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: uuid-primary-keys
Download link: https://github.com/ThinkOodle/rails-skills/archive/main.zip#uuid-primary-keys

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.