alba-efcore

Eliminate EF Core data access boilerplate in Albatross-based C# projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RushuiGuan/claude --skill alba-efcore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alba-efcore
Source: https://github.com/RushuiGuan/claude/tree/main/skills/alba-efcore
Command: npx skills add https://github.com/RushuiGuan/claude --skill alba-efcore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds robust, scalable data access layers in C# using the Albatross.EFCore library, eliminating repetitive boilerplate.

Core Features & Use Cases

  • Architecture guidelines for entities, mappings, DbSession, repositories, and services in Albatross-based projects.
  • Enforces eager loading, explicit relationships, and CodeGen-driven model registration for predictable EF Core behavior.
  • Use Case: when starting a new Albatross-enabled project, define entities and maps once, then scaffold repositories and services that work with a single DbContext.

Quick Start

Create a sample entity and its repository to experience the end-to-end EF Core data access workflow.

Frequently Asked Questions about alba-efcore

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

FAQPage Schema
How do I reduce boilerplate in EF Core data access layers?

Reduce EF Core boilerplate by applying Albatross architecture patterns like explicit entity mapping, eager loading, and code-gen registration to scaffold robust repositories and services.

What is the repository pattern in Albatross-based EF Core projects?

The repository pattern in Albatross EF Core projects centralizes data access logic using a single DbContext, explicit mappings, and DI registration to produce predictable, production-grade data access layers.

How do I scaffold repositories and services for a new EF Core project?

Scaffold EF Core repositories and services by defining your entities and mappings once, then applying code-gen driven model registration and DI registration within an Albatross-based DbSession workflow.

Does this EF Core Skill enforce eager loading and explicit relationships?

Yes, this EF Core Skill enforces eager loading and explicit relationships alongside CodeGen-driven model registration to ensure predictable behavior across your data access layer.

Can I use this Skill with an existing C# DbContext instead of Albatross?

This Skill is designed for Albatross-based solutions using EF Core, applying specific architecture guidelines for DbSession and code-gen entity registration that may not fit standard DbContext setups.