بنقرة واحدة
feat
Implement a new feature following EggMapper's performance-first development loop
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement a new feature following EggMapper's performance-first development loop
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage pull requests — list open PRs, check CI status, view details, or merge
Run EggMapper benchmarks and analyze performance against competitors
Inspect and debug EggMapper's compiled expression trees for a type pair
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 | feat |
| description | Implement a new feature following EggMapper's performance-first development loop |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob, Agent, TodoWrite |
Implement a feature for EggMapper following the two-loop development process: correctness first, then performance.
$ARGUMENTS — description of the feature to implement (e.g., "enum string conversion", "dictionary mapping", "record constructor mapping")Check the roadmap issue for implementation details:
gh issue list --search "$ARGUMENTS" --repo eggspot/EggMapperRead the affected files before writing any code. Understand existing patterns:
src/EggMapper/Execution/ExpressionBuilder.cs — the three delegate pathssrc/EggMapper/Internal/TypeDetails.cs — cached reflection metadatasrc/EggMapper/Internal/ReflectionHelper.cs — type detection utilitiessrc/EggMapper/MapperConfiguration.cs — compilation orchestrationCreate a feature branch:
git checkout -b feat/{feature-name}
Write tests FIRST in src/EggMapper.UnitTests/:
Feature_Condition_ExpectedBehaviorImplement the feature following these performance constraints:
PropertyInfo.GetValue/SetValue in hot pathsfor loops with pre-sized collectionsreturn null) and fall to flexible path.Run tests:
dotnet test --configuration Release
Fix failures. Repeat until 100% green.
Commit: git commit with conventional prefix (feat:, fix:, perf:)
Run benchmarks to verify no regression:
cd src/EggMapper.Benchmarks && dotnet run -c Release -f net10.0 -- --filter * --exporters json markdown
Analyze: EggMapper MUST beat all runtime mappers on every scenario. If not:
If the feature adds a new mapping scenario, add a benchmark class in src/EggMapper.Benchmarks/ comparing EggMapper vs AutoMapper vs Mapster vs Mapperly.
Final checks:
dotnet build --configuration Release — no warningsdotnet test --configuration Release — all greenPush and notify: Push the branch, but do NOT create PR yet (use /ship for that).
main — always feature branch + PRfeat: for new features, fix: for bugs, perf: for optimizations