Skip to content

docs: add consumer AlephMapper Agent Skill - #55

Merged
ycherkes merged 5 commits into
mainfrom
docs/add-alephmapper-agent-skill
Oct 12, 2026
Merged

ycherkes merged 5 commits into
mainfrom
docs/add-alephmapper-agent-skill

Conversation

@ycherkes

Copy link
Copy Markdown
Contributor

Summary

Add a portable, consumer-facing Agent Skill under .agents/skills/alephmapper/ and document installation from this repository with the Skills CLI.

Scope

  • SKILL.md: teach AI coding agents AlephMapper's ordinary C# mapping as the source of truth, its generated companions, when to use [Projectable], [Updatable], and method-level [Adapt], and how to verify the generated output.
  • references/projections.md: handwritten and generated expression use, helper inlining, extra factory parameters, predicates and provider translation boundaries.
  • references/updates-and-null.md: update-in-place overloads, default collection-skip policy, NullConditionalRewrite.Ignore/Rewrite/None, and safe nullable extension receiver guidance.
  • references/adaptation-and-diagnostics.md: explicit compatible-pair adaptation, naming/flags, generated-output inspection and troubleshooting diagnostics.
  • README: a short Agent Skill installation section with npx skills add Raffinert/AlephMapper --skill alephmapper.

Important correctness notes

  • Treat AlephMapper as a compile-time source generator, not a runtime EF interceptor or convention mapper.
  • Its default NullConditionalRewrite.Ignore removes null-conditional checks in generated expressions; choose Rewrite deliberately when null behavior matters.
  • The generated update overload's destination argument is currently named dest (shown positionally), and collection updates are opt-in.
  • [Adapt] is explicit and method-only; default flags are Map | Expression, Name is required for generated expressions, and generic method adaptation is not supported.
  • A generated expression is still subject to the selected LINQ provider's translation capabilities.

Validation

  • Checked public README, attribute declarations, emitter implementations, integration tests and adaptation documentation against the skill guidance.
  • Verified frontmatter and relative reference paths, README installation command, and five-file diff.
  • Documentation-only PR; no production code or test changes. The .NET test suite was not run for this PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T07:33:38.768282Z 74b424f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ycherkes
ycherkes merged commit 64b3290 into main Oct 12, 2026
1 check passed
@ycherkes
ycherkes deleted the docs/add-alephmapper-agent-skill branch October 12, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant