con un clic
expr-debug
Inspect and debug EggMapper's compiled expression trees for a type pair
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Inspect and debug EggMapper's compiled expression trees for a type pair
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Implement a new feature following EggMapper's performance-first development loop
Manage pull requests — list open PRs, check CI status, view details, or merge
Run EggMapper benchmarks and analyze performance against competitors
Verify no performance regression after code changes — compares before/after benchmarks
Create a PR with performance evidence and proper conventional commit history
Run EggMapper tests — all tests or filtered by class/method name
Basado en la clasificación ocupacional SOC
| name | expr-debug |
| description | Inspect and debug EggMapper's compiled expression trees for a type pair |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
Inspect what expression tree EggMapper compiles for a specific source→destination type pair. Helps diagnose why a property is unmapped, null, or taking the slow path.
$ARGUMENTS — the type pair or symptom to debug (e.g., "OrderDto to Order", "why is Address null", "which path does UserDto use")Find the relevant types in the codebase:
src/EggMapper.UnitTests/ and src/EggMapper.Benchmarks/ for the types mentionedTrace the compilation path in src/EggMapper/Execution/ExpressionBuilder.cs:
TryBuildCtxFreeDelegate) — no hooks, no conditions, no MaxDepth, has parameterless ctorTryBuildTypedDelegate) — same constraints but boxedBuildFlexibleDelegate) — per-property action arraysFor each destination property, trace which assignment method handles it:
TryBuildCtxFreeNestedAssign)?TryBuildCtxFreeCollectionAssign)?TryBuildTypedFlattenedAssign)?Report findings:
Delegate path: ctx-free / typed / flexible (and WHY)
Property mapping:
| Dest Property | Source | Method | Notes |
|---|
Potential issues:
If a property is unexpectedly null/unmapped, explain exactly why and suggest the fix (ForMember, type conversion, missing CreateMap for nested type, etc.)