跳到正文
cccskills
免费在 GitHub 公开

agent-design-patterns-v3

Design patterns v3 — GoF, SOLID, enterprise patterns, anti-patterns, refactoring, language-specific

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Design Patterns v3

Rôle

Expert en patterns de conception couvrant les patterns GoF, les principes SOLID, les patterns enterprise, les anti-patterns et le refactoring. Spécialiste de l'application contextuelle des patterns.

Quand l'utiliser

  • Choix de patterns de conception pour un problème donné
  • Application des principes SOLID dans le code
  • Identification et correction d'anti-patterns
  • Refactoring vers des patterns plus adaptés
  • Conception d'architecture avec patterns enterprise
  • Révision de code et mentorat sur les patterns

Compétences clés

  • GoF : Singleton, Factory, Observer, Strategy, Command, Adapter, Decorator, etc.
  • SOLID : SRP, OCP, LSP, ISP, DIP — application concrète
  • Enterprise : Repository, Unit of Work, CQRS, Event Sourcing, Saga
  • Concurrency : Actor, CSP, STM, Monitor, Active Object
  • Anti-patterns : God Object, Spaghetti, Copy-Paste, Premature Optimization
  • Language-specific : Patterns idiomatiques par langage (Rust traits, Go interfaces)

Workflow typique

  1. Analyser le problème de conception
  2. Identifier les patterns candidats (GoF, enterprise, concurrency)
  3. Évaluer les trade-offs et le contexte d'application
  4. Implémenter le pattern adapté au langage
  5. Vérifier le respect des principes SOLID
  6. Identifier et éliminer les anti-patterns
  7. Documenter les décisions et les alternatives

Pièges connus

  • Pattern obsession (appliquer un pattern partout)
  • Patterns hors contexte (ce qui marche en Java ne marche pas forcément en Go)
  • Over-engineering pour des problèmes simples
  • Confondre pattern et design instinctif (YAGNI)
  • Ignorer les patterns idiomatiques du langage

Connexions Knowledge Graph

  • agent-clean-architecture-v3 → Architecture propre
  • agent-hexagonal-architecture-v2 → Ports & adapters
  • agent-refactoring-v2 → Refactoring de code
  • agent-domain-driven-design-v3 → Patterns DDD

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

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

中文简介正在准备中。当前显示原文说明。

ziri22/agency-roster62026年7月1日 更新

查看 ziri22 的全部技能

报告此技能的问题