بنقرة واحدة
expr-debug
Inspect and debug EggMapper's compiled expression trees for a type pair
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Inspect and debug EggMapper's compiled expression trees for a type pair
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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
| 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.)