Logo : Dotnet Architecture

Dotnet Architecture

Communauté
j4flmao
dotnet-architecture

Use this skill when the user says 'dotnet clean architecture', 'dotnet vertical slice', 'dotnet CQRS', 'dotnet solution structure', '.NET project layout', 'dotnet DI', 'dotnet MediatR', 'ASP.NET Core architecture'. Structures .NET solutions (Clean Architecture, vertical slices, N-tier): project boundaries and references, DI composition, mediator pipelines, EF Core configuration and architecture tests. Do NOT use for: .NET implementation patterns such as Result types and EF Core query tuning (dotnet-patterns), non-.NET stacks.

Présentation

Éditeurj4flmao
Dépôtagent-skills
Nom de la compétencedotnet-architecture
Étoiles
41
Forks
6
Fichiers inclus
6
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 6

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par j4flmao sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Dotnet Architecture dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/j4flmao/agent-skills/tree/main/skills/backend/dotnet/architecture
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/backend/dotnet/architecture .claude/skills/dotnet-architecture
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Dotnet Architecture dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Dotnet Architecture dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Dotnet Architecture n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

.NET Architecture

Purpose

Structure .NET applications with clean architecture, vertical slices, or CQRS — dependency inversion, MediatR pipelines, DI registration, and solution organization.

Agent Protocol

Trigger

User request includes: dotnet clean architecture, dotnet vertical slice, dotnet CQRS, dotnet solution structure, .NET project layout, dotnet DI, dotnet MediatR.

Input Context

  • .NET version (supported releases: .NET 8 LTS, .NET 9 STS, .NET 10 LTS; .NET 6/7 are out of support)
  • Architecture (Clean Architecture, Vertical Slices, N-tier)
  • Database (EF Core, Dapper, ADO.NET)
  • Patterns (CQRS, Event Sourcing, Repository)

Output Artifact

Solution structure, project references, DI registration, MediatR pipeline, EF Core setup.

Response Format

Produce artifact directly. No preamble, no postamble, no explanations. No filler, no hedging, no transitions.

Completion Criteria

  • Solution split by concern: Domain, Application, Infrastructure, Presentation
  • Domain has zero external dependencies
  • Application depends only on Domain
  • Infrastructure implements Application/Domain interfaces
  • DI registered in Composition Root (Presentation layer)
  • Architecture tests enforce dependency rules

Max Response Length

4096 tokens

Architecture Decision Trees

Clean Architecture vs Vertical Slices vs N-tier

CriterionClean ArchitectureVertical SlicesN-tier
Team size5+ (many devs on same codebase)2-5 (feature teams)1-3 (simple apps)
Domain complexityHigh (many business rules)Medium (CRUD-heavy)Low (simple CRUD)
Change frequencyCore domain changes rarelyFeatures change independentlyEverything changes together
Testing strategyUnit test domain, integration infraFeature-level integration testsEnd-to-end, horizontal
Learning curveSteep (many abstractions)Moderate (vertical boundaries)Low (traditional layers)

Decision: Complex domain with many rules → Clean Architecture. CRUD-heavy medium app → Vertical Slices. Simple API with few rules → N-tier.

CQRS: Full vs Simple

AspectFull CQRS (separate models)Simple CQRS (same model, separate methods)
Read/write modelsSeparate DbContext, tablesSame DbContext, different queries
ComplexityHigh (eventual consistency)Low (immediate consistency)
PerformanceOptimized for each workloadCompromise
When to useHigh read/write asymmetrySimple CRUD with queries

Decision: Reports/analytics workload separate from transactional → Full CQRS. Simple list/detail views → Simple CQRS.

Workflow

Step 1: Solution Structure (Clean Architecture)

src/
  Domain/
    Entities/
    ValueObjects/
    Aggregates/
    DomainEvents/
    Exceptions/
    Interfaces/
  Application/
    Common/
      Interfaces/
      Behaviors/        // MediatR pipelines
      Mappings/
    Features/
      Users/
        Commands/
        Queries/
        DTOs/
        Validators/
    DependencyInjection.cs
  Infrastructure/
    Persistence/
      Context/
      Configurations/
      Repositories/
    Services/
    DependencyInjection.cs
  Presentation/
    Controllers/
    Middleware/
    Program.cs
tests/
  Domain.Tests/
  Application.Tests/
  Integration.Tests/
  Architecture.Tests/

Step 2: Domain Layer (Zero Dependencies)

csharp
// Domain/Entities/Order.cs
public class Order : IAggregateRoot
{
    public Guid Id { get; private set; }
    public string OrderNumber { get; private set; }
    public OrderStatus Status { get; private set; }
    private readonly List<OrderItem> _items = new();
    public IReadOnlyCollection<OrderItem> Items => _items.AsReadOnly();

    private Order() { } // EF Core

    public Order(string orderNumber)
    {
        Id = Guid.CreateVersion7(); // .NET 9+: time-ordered, index-friendly
        OrderNumber = orderNumber;
        Status = OrderStatus.Pending;
        AddDomainEvent(new OrderCreatedDomainEvent(Id));
    }

    public void AddItem(string product, decimal price, int quantity)
    {
        if (Status != OrderStatus.Pending)
            throw new DomainException("Cannot modify confirmed order");
        _items.Add(new OrderItem(product, price, quantity));
    }

    public void Confirm()
    {
        if (_items.Count == 0)
            throw new DomainException("Cannot confirm empty order");
        Status = OrderStatus.Confirmed;
        AddDomainEvent(new OrderConfirmedDomainEvent(Id));
    }
}

// Domain/ValueObjects/Money.cs
public record Money
{
    public decimal Amount { get; init; }
    public string Currency { get; init; }

    public Money(decimal amount, string currency)
    {
        if (amount < 0) throw new DomainException("Amount cannot be negative");
        if (string.IsNullOrWhiteSpace(currency)) throw new DomainException("Currency required");
        Amount = amount;
        Currency = currency.ToUpperInvariant();
    }
}

Step 3: Application Layer (MediatR + CQRS)

csharp
// Application/Features/Orders/Commands/CreateOrder/CreateOrderCommand.cs
public record CreateOrderCommand(string OrderNumber, List<OrderItemDto> Items) : IRequest<OrderDto>;

// Application/Features/Orders/Commands/CreateOrder/CreateOrderCommandHandler.cs
public class CreateOrderCommandHandler : IRequestHandler<CreateOrderCommand, OrderDto>
{
    private readonly IOrderRepository _repository;
    private readonly IMapper _mapper;

    public CreateOrderCommandHandler(IOrderRepository repository, IMapper mapper)
    {
        _repository = repository;
        _mapper = mapper;
    }

    public async Task<OrderDto> Handle(CreateOrderCommand request, CancellationToken cancellationToken)
    {
        var order = new Order(request.OrderNumber);
        request.Items.ForEach(i => order.AddItem(i.Product, i.Price, i.Quantity));
        await _repository.AddAsync(order);
        await _repository.SaveChangesAsync(cancellationToken);
        return _mapper.Map<OrderDto>(order);
    }
}

// Application/Common/Behaviors/ValidationBehavior.cs
public class ValidationBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
    where TRequest : IRequest<TResponse>
{
    private readonly IEnumerable<IValidator<TRequest>> _validators;

    public ValidationBehavior(IEnumerable<IValidator<TRequest>> validators)
        => _validators = validators;

    public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken ct)
    {
        if (!_validators.Any()) return await next();

        var context = new ValidationContext<TRequest>(request);
        var failures = _validators
            .Select(v => v.Validate(context))
            .SelectMany(r => r.Errors)
            .Where(f => f != null)
            .ToList();

        if (failures.Count != 0)
            throw new ValidationException(failures);

        return await next();
    }
}

// Application/Common/Behaviors/LoggingBehavior.cs
public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
    private readonly ILogger<LoggingBehavior<TRequest, TResponse>> _logger;

    public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken ct)
    {
        var requestName = typeof(TRequest).Name;
        _logger.LogInformation("Processing {Request}", requestName);
        var stopwatch = Stopwatch.StartNew();
        var response = await next();
        stopwatch.Stop();
        _logger.LogInformation("Completed {Request} in {Elapsed}ms", requestName, stopwatch.ElapsedMilliseconds);
        return response;
    }
}

Step 4: Dependency Injection

csharp
// Application/DependencyInjection.cs
public static class DependencyInjection
{
    public static IServiceCollection AddApplication(this IServiceCollection services)
    {
        services.AddMediatR(cfg => cfg.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly()));
        services.AddValidatorsFromAssembly(Assembly.GetExecutingAssembly());
        services.AddAutoMapper(Assembly.GetExecutingAssembly());

        services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>));
        services.AddTransient(typeof(IPipelineBehavior<,>), typeof(LoggingBehavior<,>));

        return services;
    }
}

// Infrastructure/DependencyInjection.cs
public static class DependencyInjection
{
    public static IServiceCollection AddInfrastructure(this IServiceCollection services, IConfiguration config)
    {
        services.AddDbContext<AppDbContext>(options =>
            options.UseSqlServer(config.GetConnectionString("Default")));

        services.AddScoped<IOrderRepository, OrderRepository>();
        services.AddScoped<IUnitOfWork>(sp => sp.GetRequiredService<AppDbContext>());

        return services;
    }
}

// Presentation/Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddApplication();
builder.Services.AddInfrastructure(builder.Configuration);
builder.Services.AddControllers();

Step 5: EF Core Configuration

csharp
// Infrastructure/Persistence/Configurations/OrderConfiguration.cs
public class OrderConfiguration : IEntityTypeConfiguration<Order>
{
    public void Configure(EntityTypeBuilder<Order> builder)
    {
        builder.ToTable("Orders");
        builder.HasKey(o => o.Id);
        builder.Property(o => o.OrderNumber).IsRequired().HasMaxLength(50);
        builder.Property(o => o.Status).HasConversion<string>().HasMaxLength(20);
        builder.OwnsMany(o => o.Items, item =>
        {
            item.WithOwner().HasForeignKey("OrderId");
            item.Property(i => i.Product).IsRequired().HasMaxLength(100);
            item.Property(i => i.Price).HasColumnType("decimal(18,2)");
        });
        builder.Ignore(o => o.DomainEvents);
    }
}

Step 6: Architecture Tests

csharp
// tests/Architecture.Tests/ArchitectureTests.cs
public class ArchitectureTests
{
    [Fact]
    public void Domain_ShouldNotDependOnInfrastructure()
    {
        var domainAssembly = typeof(Order).Assembly;
        var infrastructureAssembly = typeof(OrderRepository).Assembly;
        var result = domainAssembly.GetReferencedAssemblies()
            .Any(a => a.FullName == infrastructureAssembly.FullName);
        Assert.False(result);
    }

    [Fact]
    public void Application_ShouldNotDependOnInfrastructure()
    {
        var appAssembly = typeof(CreateOrderCommand).Assembly;
        var infraAssembly = typeof(OrderRepository).Assembly;
        var result = appAssembly.GetReferencedAssemblies()
            .Any(a => a.FullName == infraAssembly.FullName);
        Assert.False(result);
    }
}

Reference checks only catch direct references; NetArchTest.Rules or ArchUnitNET express richer rules (namespaces, naming, transitive dependencies).

Production Considerations

EF Core Performance

  • Use AsNoTracking() for read-only queries
  • Batch inserts with AddRange() not individual Add()
  • Use ExecuteUpdate/ExecuteDelete for bulk operations (EF Core 7+)
  • Enable UseLoggerFactory only in development
  • Connection resiliency: EnableRetryOnFailure() for transient faults
  • Compiled queries for hot paths: EF.CompileQuery()

API Versioning

csharp
services.AddApiVersioning(options =>
{
    options.DefaultApiVersion = new ApiVersion(1, 0);
    options.AssumeDefaultVersionWhenUnspecified = true;
    options.ReportApiVersions = true;
    options.ApiVersionReader = new UrlSegmentApiVersionReader();
});

OpenTelemetry

csharp
builder.Services.AddOpenTelemetry()
    .WithTracing(t => t
        .AddAspNetCoreInstrumentation()
        .AddHttpClientInstrumentation()
        .AddEntityFrameworkCoreInstrumentation()
        .AddOtlpExporter());

Anti-Patterns

Anti-PatternWhyFix
Domain depending on EF CoreCouples business rules to ORMKeep Domain clean — use interfaces
Task.Run() in ASP.NET CoreSteals thread pool threadsUse async I/O natively
Fat controllersBusiness logic in UI layerThin controller → MediatR handler
DbContext as singletonConcurrency issues, stale dataScoped per request
AutoMapper in DomainDomain shouldn't know about mappingMapping only in Application layer
Controllers without [ApiController]Invalid model state reaches the action[ApiController] returns automatic 400 ProblemDetails

Security Considerations

  • Apply [Authorize] at controller or endpoint level, never globally skip
  • Use Data Protection API for encrypting sensitive data at rest
  • Validate anti-forgery tokens for state-changing endpoints
  • Rate limiting with the built-in Microsoft.AspNetCore.RateLimiting middleware (.NET 7+)
  • CSRF protection via anti-forgery tokens in cookie-based auth
  • Secrets via User Secrets (dev), Key Vault / environment (prod)
  • Never log sensitive data — use [LogProperties] selectively

Testing Strategies

Unit Test Domain Logic

csharp
[Fact]
public void Order_WithNoItems_CannotBeConfirmed()
{
    var order = new Order("ORD-001");
    Assert.Throws<DomainException>(() => order.Confirm());
}

Integration Test with TestContainers

csharp
public class OrderRepositoryTests : IClassFixture<TestContainerFixture>
{
    [Fact]
    public async Task AddOrder_PersistsToDatabase()
    {
        var order = new Order("ORD-001");
        order.AddItem("Widget", 10m, 2);
        await _repository.AddAsync(order);
        await _repository.SaveChangesAsync();
        var saved = await _context.Orders.FindAsync(order.Id);
        Assert.NotNull(saved);
        Assert.Equal("ORD-001", saved.OrderNumber);
    }
}

Use WebApplicationFactory<T> for integration tests. Use Testcontainers for SQL Server/PostgreSQL. Use Verify for snapshot testing.

Rules

  • Domain layer has ZERO external NuGet dependencies.
  • Application depends only on Domain and abstraction-level packages (mediator, validation). Note MediatR (v13+) and AutoMapper (v15+) moved to commercial licensing in 2025; hand-written mapping and handlers are a valid choice.
  • Infrastructure references Application/Domain and implements their interfaces; Application and Domain never reference Infrastructure.
  • DI registration happens only in the Composition Root (Presentation/Program.cs or each layer's DependencyInjection.cs).
  • All async methods return Task — no async void.
  • Configuration via IOptions pattern, never direct IConfiguration injection.
  • Exception handling via middleware, not try-catch in controllers.
  • CORS, auth, rate limiting, exception handling, and swagger as middleware pipeline.

References

  • references/api-design.md — .NET API Design
  • references/dotnet-clean-architecture.md — .NET Clean Architecture
  • references/dotnet-cqrs-event-sourcing.md — CQRS and Event Sourcing
  • references/dotnet-microservices.md — .NET Microservices
  • references/dotnet-testing-architecture.md — Architecture Testing
  • references/project-structure.md — Project Structure Reference

Shared References

Additional reference material for this skill, stored outside its own references/ folder.

  • ../references/code-organization.md — Code Organization in ASP.NET Core (.NET 8/10)
  • ../references/deployment-pipelines.md — Deployment Pipelines for ASP.NET Core Services
  • ../references/error-handling.md — Error Handling in ASP.NET Core: ProblemDetails, IExceptionHandler, Result Types
  • ../references/performance-optimization.md — Performance Optimization in ASP.NET Core and EF Core
  • ../references/security-best-practices.md — Security Best Practices for ASP.NET Core APIs
  • ../references/state-management.md — State Management in ASP.NET Core: Caching, Sessions and Distributed State
  • ../references/testing-strategies.md — Testing Strategies for ASP.NET Core Services

Handoff

Hand off to backend/dotnet/patterns/SKILL.md for MediatR pipelines, result pattern, and EF Core patterns.

Implementation Patterns

Pattern: MediatR + CQRS Pipeline

csharp
public class GetOrderQuery : IRequest<OrderDto>
{
    public Guid OrderId { get; init; }
}

public class GetOrderHandler : IRequestHandler<GetOrderQuery, OrderDto>
{
    private readonly IOrderRepository _repository;
    private readonly IMapper _mapper;

    public GetOrderHandler(IOrderRepository repository, IMapper mapper)
    {
        _repository = repository;
        _mapper = mapper;
    }

    public async Task<OrderDto> Handle(GetOrderQuery request, CancellationToken ct)
    {
        var order = await _repository.GetByIdAsync(request.OrderId, ct);
        return _mapper.Map<OrderDto>(order);
    }
}

Pattern: FluentValidation Pipeline Behaviour

Use the ValidationBehavior<TRequest, TResponse> shown in the workflow above and register it once with services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>)). Prefer ValidateAsync when validators perform I/O (e.g. uniqueness checks).

Production Considerations

  • .NET version upgrades: LTS releases (even-numbered, 3 years of support) vs STS (odd-numbered, 2 years since .NET 9). Plan upgrades before end of support.
  • Dependency versions: central package management with Directory.Packages.props; binding redirects are a .NET Framework concern, not needed on modern .NET.
  • MediatR v13+ is commercially licensed (free community tier with revenue limits); confirm licensing or use plain handlers/alternatives such as Wolverine or source-generated mediators.
  • Startup performance: ReadyToRun images. Assembly trimming for self-contained deployments.
  • Memory management: configure GC mode (Server vs Workstation). Monitor # Gen 0/1/2 collections.
  • Thread pool sizing: avoid thread pool starvation in async code. Use Task.Run only for CPU-bound work.
  • Connection pooling: default 100 per connection string. Tune based on concurrent request volume.
  • Health checks: AddHealthChecks with liveness (light) and readiness (deep) probes.
  • Distributed tracing: OpenTelemetry with W3C TraceContext. Export to Datadog, Jaeger, or AppInsights.

Anti-Patterns

Anti-PatternWhy It HurtsFix
Async voidCrash on exception. Uncatchable.Always return Task or Task<T>.
Blocking in async codeThread pool starvation. Deadlocks.Use await all the way. No .Result or .Wait().
Giant Program.csSRP violation. Hard to test.Group registrations in IServiceCollection extension methods per layer/module.
Stringly-typed configurationNo compile-time safety.Strongly-typed options with IOptions<T>.
Ignoring cancellation tokensHung requests on shutdown.Pass CancellationToken to all async methods.
Catching Exception broadlySwallows critical failures.Catch specific exceptions. Re-throw if not recoverable.

Performance Optimization

  • AsNoTracking() for read-only queries. Skip EF change tracker overhead.
  • Compiled queries (EF.CompileAsyncQuery) for hot, fixed-shape queries.
  • ValueTask for synchronous completion paths. Avoid Task allocation.
  • Array pool (System.Buffers.ArrayPool<T>) for buffer-heavy operations.
  • StringBuilder pool for string concatenation in hot paths.
  • Lazy initialization with Lazy<T> and LazyInitializer.
  • ConcurrentDictionary over locks for read-heavy caches.
  • Span/memory for high-performance parsing. Zero-allocation string processing.
  • IAsyncEnumerable<T> for streaming large result sets.
  • JSON source generators for AOT-native serialization.

Security Considerations

  • Data protection: IDataProtector for encrypting sensitive data. Key management with Azure Key Vault.
  • ASP.NET Core Data Protection API for cookie, CSRF, and anti-forgery tokens.
  • Authentication: JWT Bearer with short-lived access tokens (minutes) and rotated refresh tokens.
  • Authorization: policy-based with claims. [Authorize(Policy = "RequireAdmin")].
  • Anti-forgery: [AutoValidateAntiforgeryToken] for cookie-authenticated MVC/Razor apps; bearer-token APIs are not CSRF-prone the same way.
  • CORS: restrict origins. No wildcard in production.
  • CSP: Content-Security-Policy header. Restrict script-src and style-src.
  • Input validation: [FromBody] with [Required] attributes. FluentValidation for complex rules.
  • Output encoding: Razor auto-encodes. API responses use content negotiation.
  • Secrets: User Secrets in dev. Azure Key Vault / AWS Secrets Manager in prod.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Dotnet Architecture ?

Use this skill when the user says 'dotnet clean architecture', 'dotnet vertical slice', 'dotnet CQRS', 'dotnet solution structure', '.NET project layout', 'dotnet DI', 'dotnet MediatR', 'ASP.NET Core architecture'. Structures .NET solutions (Clean Architecture, vertical slices, N-tier): project boundaries and references, DI composition, mediator pipelines, EF Core configuration and architecture tests. Do NOT use for: .NET implementation patterns such as Result types and EF Core query tuning (dotnet-patterns), non-.NET stacks.

Pourquoi utiliser Dotnet Architecture sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Dotnet Architecture se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Dotnet Architecture dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/j4flmao/agent-skills/tree/main/skills/backend/dotnet/architecture. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Dotnet Architecture ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Dotnet Architecture ?

Autant que vous le souhaitez. Vous pouvez utiliser Dotnet Architecture avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Dotnet Architecture est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par j4flmao sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇