rust-sea-orm

Standardize SeaORM entity, migration, transaction, and connection patterns for Postgres-backed Rust services.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/neon-law-foundation/navigator --skill rust-sea-orm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-sea-orm
Source: https://github.com/neon-law-foundation/navigator/tree/main/.claude/skills/rust-sea-orm
Command: npx skills add https://github.com/neon-law-foundation/navigator --skill rust-sea-orm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes guesswork from database work in the navigator workspace by giving you a consistent way to model tables, write queries, manage transactions, and evolve schemas with SeaORM.

Core Features & Use Cases

  • Entity design: Define table-backed entities with clear model, active model, column, and relation patterns.
  • Query and write guidance: Use the recommended approaches for primary-key reads, filters, joins, inserts, updates, and paginated access.
  • Migrations and testing: Create reversible migrations, avoid backend-specific SQL, and keep Postgres-based tests isolated and reliable.
  • Use case: When you need to add a new table or adjust an existing one, this Skill tells you how to structure the entity, migration, and transaction flow so the change fits the repository conventions.

Quick Start

Use this Skill to implement or update a SeaORM entity, migration, or transactional database flow in the navigator codebase while following the repository's Postgres and testing conventions.

Frequently Asked Questions about rust-sea-orm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure SeaORM entities and migrations in a Rust workspace?

Define SeaORM entities using clear model, active model, column, and relation patterns. Structure migrations to be reversible and avoid backend-specific SQL to ensure schema evolution fits repository conventions.

What is the best way to manage SeaORM transactions for atomic writes in Postgres?

Manage SeaORM transactions by enforcing explicit transaction boundaries around atomic writes. This standardizes connection patterns and ensures safe, concurrent data modifications in Postgres-backed Rust services.

Does this SeaORM Skill support paginated reads and primary-key queries?

Yes, this SeaORM Skill supports paginated reads and primary-key queries. It provides recommended query approaches for filters, joins, inserts, updates, and structured paginated access in Rust.

How do I test SeaORM database migrations with Postgres?

Test SeaORM database migrations by keeping Postgres-based tests isolated and reliable. The Skill enforces workspace-specific testing conventions to verify schema changes without compromising test integrity.

Can I use this Skill to add new tables to an existing Postgres database?

Yes, you can use this Skill to add new tables or adjust existing ones. It guides you in structuring the SeaORM entity, migration, and transaction flow to align with Postgres and workspace conventions.