directus-dotnet-repository

Create .NET repositories for Directus CMS using Evanto.Directus.Client.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/svkaenel/dotnet-with-claude-code --skill directus-dotnet-repository
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: directus-dotnet-repository
Source: https://github.com/svkaenel/dotnet-with-claude-code/tree/main/skills/directus-dotnet-repository
Command: npx skills add https://github.com/svkaenel/dotnet-with-claude-code --skill directus-dotnet-repository

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Create maintainable .NET repositories that connect to Directus CMS via Evanto.Directus.Client, enabling typed data access, robust filtering, and consistent CRUD workflows.

Core Features & Use Cases

  • Strong Directus integration in .NET projects using Evanto.Directus.Client for CRUD, filtering, and pagination.
  • Reusable repository patterns with typed models, relation loading, and caching strategies.
  • Use Case: Rapidly scaffold a Directus-backed data layer for a new application, with support for authentication providers and multi-collection queries.

Quick Start

Create a sample Directus-backed .NET repository following the REPOSITORY_EXAMPLE.md guidance to set up a working data layer.

Frequently Asked Questions about directus-dotnet-repository

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

FAQPage Schema
How do I build a .NET repository for Directus collections?

You can build a Directus-backed .NET repository using Evanto.Directus.Client to access Directus CMS data. It provides typed query helpers, filtered queries, pagination, and CRUD operations while enforcing static typing and best practices.

How do I implement filtered queries and pagination with Directus in C#?

Filtered queries and pagination in C# are implemented using typed query helpers from Evanto.Directus.Client. The skill enforces static typing to build robust filters and manage multi-collection queries against Directus CMS data.

Does the Evanto.Directus.Client library support authentication providers in .NET?

Yes, Evanto.Directus.Client supports authentication providers in .NET. The repository scaffolding includes configuring these providers to securely connect your .NET application to Directus CMS collections and manage data access.

What is the best way to scaffold a Directus data layer for a .NET application?

The best way to scaffold a Directus data layer is by following the REPOSITORY_EXAMPLE.md guidance. This enables rapid setup of a working data layer with typed models, relation loading, and caching strategies for Directus collections.

How does the repository pattern handle related field loading and caching for Directus CMS data?

The repository pattern handles related field loading and caching for Directus CMS data via Evanto.Directus.Client. It enforces best practices for error handling and caching strategies to maintain robust, reusable data access workflows.