{
  "markdown": "# C# Aesthetic Architecture\n\nA [Claude Code](https://claude.com/claude-code) plugin for building, reviewing, and refactoring C# / .NET codebases using modern aesthetic architecture principles. Combines Vertical Slice Architecture, CQRS, functional design, modern C# idioms (C# 12-14), and clean code practices into a unified development philosophy.\n\n## Installation\n\n```bash\ngit clone git@github.com:ChaseDRedmon/csharp-aesthetic-architecture.git ~/.claude/skills/csharp-aesthetic-architecture\n```\n\n## Philosophy\n\nEverything derives from one principle: **Optimize for human comprehension, not theoretical purity.**\n\n- Prefer **clarity** over cleverness\n- Prefer **duplication** over coupling (WET > DRY when DRY creates cross-slice dependencies)\n- Prefer **composition** over inheritance\n- Prefer **immutability** by default\n- Prefer **feature-based** organization over layer-based\n- Prefer **measuring** over guessing (no premature optimization)\n- Prefer **iteration** over recursion (C# has no guaranteed TCO)\n\n## What's Included\n\n| File | Topics |\n|---|---|\n| `references/architecture.md` | Vertical Slice Architecture, CQRS, Minimal APIs, pipeline behaviors, composition over inheritance, DI rules |\n| `references/csharp-idioms.md` | Sealed classes, records, pattern matching, value objects, functional patterns, C# 12/13/14 features |\n| `references/code-quality.md` | Naming, formatting, complexity control, premature optimization, anti-patterns |\n| `references/review-checklist.md` | 100+ item code review checklist with severity levels |\n| `references/efcore-patterns.md` | EF Core query patterns, configuration, migrations |\n| `references/cross-cutting.md` | Validation, logging, metrics, authorization, error handling pipelines |\n\n## C# Version Coverage\n\nEach version includes prerequisite validation (`TargetFramework` / `LangVersion` checks):\n\n- **C# 12 (.NET 8)** - Collection expressions, primary constructors, alias any type, default lambda parameters\n- **C# 13 (.NET 9)** - `params` collections, `System.Threading.Lock`, `allows ref struct`, partial properties\n- **C# 14 (.NET 10)** - Extension members, `field` keyword, null-conditional assignment, implicit span conversions\n\n## Anti-Patterns Detected\n\n**Architecture** - Repository over EF Core, implicit operator DTO conversion, anemic domain models, god controllers, premature abstractions, singleton abuse\n\n**Async & Exceptions** - Forgotten `await`, `async void`, `throw ex`, swallowed exceptions, sync-over-async\n\n**Naming & Style** - Hungarian notation, abbreviations, `Utils`/`Helper`/`Base` classes, magic strings\n\n**Resources** - `new HttpClient()` socket exhaustion, recursive traversal (prefer `Stack<T>`/`Queue<T>`)\n\n## Code Quality Guidelines\n\n1. **Abstraction tradeoffs** - coupling is the cost of abstraction; composition over inheritance\n2. **Naming** - never abbreviate, no Hungarian notation, use types for units\n3. **Nesting** - max 3 levels; guard clauses and extraction to flatten\n4. **Comments** - code speaks for itself; comments only for *why* (perf, algorithms, workarounds)\n5. **Premature optimization** - measure before optimizing; macro moves before micro-tuning\n6. **Dependency injection** - pass it in; factories for runtime decisions\n7. **Functional thinking** - impure shell/pure core; LINQ pipelines; iteration over recursion\n\n## License\n\n[MIT](LICENSE.md)\n",
  "bytes": 3357,
  "sha": "69cd22b9490d5f52796f67d1f972a592d50374d997f2ef2bf3c9ad6a78cb7077",
  "repo_slug": "chasedredmon/csharp-aesthetic-architecture",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_chasedredmon_csharp_aesthetic_architectu_ebb48759/readme"
}