Point writing guidance at the scientific-tex-editor agent - #3
Open
psathyrella wants to merge 2 commits into
Open
psathyrella wants to merge 2 commits into
psathyrella wants to merge 2 commits into
Conversation
The prose self-check here and the scientific-tex-editor agent in matsen/bipartite carried overlapping style rules that drifted apart, and they disagreed about em-dashes. The agent is the one that gets iterated on, so the checklist moves there (matsen/bipartite#217) and this file points at it. Adds .claude/rules/writing.md scoped to **/*.tex, which reloads after /compact when an agent reads a TeX file. CLAUDE.md keeps a short unconditional pointer, since a path-scoped rule only triggers on Read and misses Bash-based reads. Also picks up the %INITIALS section that bcon-tex had and this template lacked, and un-ignores .claude/rules/ so the rule reaches repos generated from here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TTpuB1uhVcnM5bSPjrkZJy
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.
Companion to matsen/bipartite#217 and matsengrp/bcon-tex#4. Context is matsengrp/bcon-tex#3.
The prose self-check in this
CLAUDE.mdand thescientific-tex-editoragent inmatsen/bipartitecarried overlapping style rules that drifted apart, and they disagreed: this file said an em-dash pair is fine when it interrupts with a list or gloss, the agent says never use em-dashes. The agent is the one that gets iterated on, so the checklist moves there and this file points at it.Two mechanisms, covering different gaps:
.claude/rules/writing.mdscoped to**/*.tex. Path-scoped rules reload after/compact, which a launch-time instruction does not.CLAUDE.md. Path-scoped rules trigger on Read, so an agent usingcatorsednever trips them; this covers that.Also picks up the
%INITIALSsection thatbcon-texhad and this template lacked, and un-ignores.claude/rules/so the rule reaches generated repos.Repos generated from this template copy files at creation time, so the ~60 existing
-texrepos get nothing from this and need the change applied individually.bcon-texis done; the rest are a separate sweep if wanted.🤖 Generated with Claude Code
https://claude.ai/code/session_01TTpuB1uhVcnM5bSPjrkZJy