Repository navigation
docs: adopt the plain-docs voice and rewrite the consumer docs in it - #67
Merged
Merged
Conversation
Adapted from CodoMetis.TypeKit's plain-docs skill. The guards section is rewritten for this repository: code blocks here are not compiled, the OpenAPI transformer and the AOT claim phrase are checked, package README links must stay absolute for NuGet, and anchors are unchecked. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The root README, the four package READMEs and the seven guides now follow the plain-docs skill: written to "you", one idea per sentence, example first, task headings, and edge cases in "Good to know" lists. Every code block is byte for byte unchanged, every anchor that code, a NuGet README, CLAUDE.md or the CHANGELOG links to keeps its heading, and every relative and GitHub link resolves. Claims that were wrong before the rewrite are corrected: - getting-started: more than one query over a server-computed Union throws, not only equality (since 9.0.0) - why: decimal, DateTime and DateTimeOffset are continuous and have no step; double and float fail the total-order requirement - ranges: three factory methods and two properties, not four methods - value-sets: the extra 7.0.0 wrapper requirement is the pinned format, which applies to the temporal versions only - EF Core NodaTime README: Intersect/Except/Add fail in a Where and run in memory in a Select, as the base README says - EF Core README: lower()/upper() are NULL when that side is unbounded or the range is empty; the extremes are -infinity and infinity Co-Authored-By: Claude Opus 5.5 <[email protected]>
The plain-docs rewrite rewords the sentences that 118 of the 121 claims quote, and renames most of their section headings. Each quote now points at the sentence that makes the same promise in the new text, and each source at the heading above it. Where the rewrite split one sentence into several, the quote spans them. Only source and quote change; no claim, surface or heldBy entry moves. No promise was lost: every claim found a sentence in the new pages that makes it at the same strength, so no page needed text put back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A rewrite in this voice rewords the sentences claims.json quotes, so the skill now says how to re-anchor a claim and that a claim with no sentence left means a dropped promise to put back, not a claim to delete. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #38
Problem
The consumer docs were correct but hard to read: long sentences joined by semicolons, internal
vocabulary (satellite, variant, refuse, materialize, receiver/operand), and edge cases mixed into
the middle of explanations. A reader deciding whether to try the package had to work for every
paragraph. A few statements were also wrong or out of date.
Change
.claude/skills/plain-docs/— TypeKit'splain-docsskill, adapted to this repo: theplain-words table uses this library's own jargon, and "What must not change" names the guards
that exist here. Those are the verbatim OpenAPI transformer, the AOT phrase in package READMEs,
absolute links on NuGet, unchecked anchors, and the claim catalogue.
and
getting-started,ranges,value-sets,serialization,efcore,migrationandwhy.The pages are written to "you", lead with the example, use task headings, and put edge cases
under "Good to know".
main.AGENTS.mdor the CHANGELOG links to keeps itsheading. Lower-level headings were renamed into tasks, and every link inside the repo was
updated.
getting-started: more than one query over a database-computedUnionthrows, not onlyequality (since 9.0.0).
why:decimal,DateTimeandDateTimeOffsetare continuous and have no step;double/floatfail the total-order requirement.ranges: three factory methods and two properties, not four factory methods.value-sets: the extra 7.0.0 requirement is the pinned format, and it applies to thetemporal versions only.
Intersect/Except/Addfail in aWhereand run in memory in aSelect, as the base README says.lower()/upper()areNULLwhen that side is unbounded or the range isempty; the extremes are
-infinityandinfinity.test/oracles/claims.json— 118 of 121 quotes re-anchored to the sentence that now makesthe same promise, and their
sourceto the new heading. Onlysourceandquotechange. Everyclaim found its promise at the same strength in the new text, so no page needed text put back.
Tests
OracleCatalogueTestsfailed with 194 problems after the rebase (118 stale claims) and passesnow. It is the check that no promise was lost.
phrase and the claim catalogue.
main(identical, same order) andresolved every relative and GitHub link and anchor in the repository. Planting a changed code
comment and a broken anchor made it fail.
this PR.
Not covered by this PR (the catalogue already says more than the page for these, before and after
the rewrite): J08, M05, M07, R02, R11, R17, R18, S01, S13, S15, E13, R21. E02 and S01 still make
their full promise, but part of it now sits in a sentence outside the quote.
🤖 Generated with Claude Code