Repository navigation
Document the reference page-citation convention - #10009
Merged
Merged
Conversation
Adds a "Parameter and variable references" section to CLAUDE.md: one reference entry per source document; a single cited page goes only in the href fragment; several cited pages keep the href on the first page and end the quoted title with "#page 72-75" or "#page 29,32-33,36,41"; never a page list in the href; variable reference tuples use a "# PDF pages" comment in the same shape. Fixes PolicyEngine#10008 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hua7450
marked this pull request as ready for review
October 8, 2026 03:06
Replaces the examples and longer explanations with six bullets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #10008
What and why
Adds a "Parameter and variable references" section to
CLAUDE.mdso the page-citation convention forreferenceentries is written down in the repository. It came up in the review of #9743: the rule lived only in the author's local instructions, so reviewers could not see it and each PR reopened the discussion.AGENTS.mdalready sends agents toCLAUDE.mdfor modeling conventions, so one copy covers both.The section says:
referenceentry per source document. URLs that differ only by#page=point at the same source.#page=57), with no page text in the title.#page 72-75(consecutive) or#page 29,32-33,36,41(nonconsecutive). Titles containing#are quoted.#page=1,3,5.referencetuples use a# PDF pages …comment above a multi-page href, dropped when the href cites one page.PolicyEngine/policyengine-skills#96 makes the same change in the model-development skill and the rules-engineer and implementation-validator agents.
Not included:
maincarry page text the older way; this PR sets the rule for new references only.Test plan
make formatchangelog.d/axiom: n/a: documentation only; no policy changes.
🤖 Generated with Claude Code