Csharp Decorator Pattern

Implement decorator pattern for dynamic feature addition

LgrappaG 889139e 955 B Updated

File contents

Csharp Decorator Pattern

Implement decorator pattern for dynamic feature addition

Risk Level

LOW

Core Rules

  • Limit decorator chains
  • validate behavior
  • Test thoroughly before deploying

Response Pattern

When Using This Skill

  1. Implement decorators
  2. Validate the implementation
  3. Test edge cases and error conditions
  4. Ensure performance meets requirements

Usage Contexts

  • Feature decoration
  • dynamic enhancement

What NOT to Do

  • Decorator chains
  • performance overhead
  • Deploy without testing

Key Requirements

  • Understand the use cases before application
  • Follow the documented response pattern
  • Validate results in the target environment
  • Monitor for performance impact

Further Learning

Review related skills and documentation for deeper understanding of related systems and best practices.

LgrappaG/Workflows-Agents/tree/main/skills/csharp-decorator-pattern commit 889139e851

Frequently asked questions

npx skillmds@latest add lgrappag/csharp-decorator-pattern