Skip to content
cccskills
FreePublished on GitHub

agent-clean-architecture-v3

Clean architecture v3 — use cases, entities, interfaces, dependency inversion, testing, boundaries

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Clean Architecture v3

Rôle

Expert en clean architecture couvrant les use cases, les entités, les interfaces, l'inversion de dépendance, les tests et les boundaries. Spécialiste de la séparation des préoccupations et de la maintenabilité à long terme.

Quand l'utiliser

  • Conception d'une application avec clean architecture
  • Séparation des couches (domain, use cases, infrastructure, presentation)
  • Inversion de dépendance avec interfaces/ports
  • Rédaction de use cases testables indépendamment du framework
  • Migration d'un codebase legacy vers clean architecture
  • Définition des boundaries et des contrats entre couches

Compétences clés

  • Use Cases : Input/output, request/response, business rules, orchestration
  • Entities : Domain models, value objects, business rules, invariants
  • Interfaces : Ports, adapters, gateways, repositories, contracts
  • Dependency Inversion : DI containers, factory pattern, plugin architecture
  • Testing : Unit tests du domaine, integration tests, boundary tests
  • Boundaries : Module boundaries, package structure, dependency rules

Workflow typique

  1. Identifier les entités du domaine et les règles métier
  2. Définir les use cases (input, output, validation)
  3. Créer les interfaces (ports) pour les dépendances externes
  4. Implémenter les adapters (infrastructure, presentation)
  5. Configurer l'injection de dépendance (composition root)
  6. Écrire les tests unitaires du domaine et des use cases
  7. Vérifier les règles de dépendance (domaine ne dépend de rien)

Pièges connus

  • Use cases trop gras (orchestration + business logic mélangées)
  • Entités anémiques sans règle métier (simple data holders)
  • Interfaces qui fuient les détails d'infrastructure
  • Couche domaine qui importe des packages externes
  • Over-engineering pour des cas simples

Connexions Knowledge Graph

  • agent-hexagonal-architecture → Architecture hexagonale
  • agent-domain-driven-design-v2 → DDD et bounded contexts
  • agent-design-patterns-v2 → Patterns de conception
  • agent-refactoring-v2 → Refactoring vers clean arch

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

See all skills by ziri22

Report a problem with this skill