Skip to content

Agents: trim boilerplate that agents already follow#308

Merged
ericholscher merged 1 commit into
mainfrom
claude/agents-trim-boilerplate
Jun 2, 2026
Merged

Agents: trim boilerplate that agents already follow#308
ericholscher merged 1 commit into
mainfrom
claude/agents-trim-boilerplate

Conversation

@ericholscher

@ericholscher ericholscher commented Jun 2, 2026

Copy link
Copy Markdown
Member

HS: I asked the agent how to improve the Agent file, and this is what it came up with. And they can make sense, we should only be stating things that are unique to our codebase. It knows to follow the existing style.

AGENTS.md tells agents to cut filler, then spends whole sections on advice any competent agent already follows — PEP 8, "be aware of OWASP", "write descriptive test names." That boilerplate buries the rules that are genuinely RTD-specific and easy to get wrong (the tox recipes, the migration check, the marketing-names rule). Removing it so the guidance that remains is worth reading.

If any of the dropped sections was load-bearing for a reason I'm missing, say so and I'll restore it — ideally replaced with a concrete, RTD-specific rule rather than a placeholder.

Stacked on #307 to avoid conflicts on the same file; rebase onto main once that lands.

@ericholscher ericholscher marked this pull request as ready for review June 2, 2026 05:46
@ericholscher ericholscher requested a review from a team as a code owner June 2, 2026 05:46
@ericholscher ericholscher requested a review from humitos June 2, 2026 05:46
Base automatically changed from claude/agents-pr-description-guidelines-OMdXH to main June 2, 2026 15:08
@ericholscher

Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Copilot AI force-pushed the claude/agents-trim-boilerplate branch from 96306c9 to 6e831c1 Compare June 2, 2026 15:12

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Rebased onto main in 6e831c1. The intermediate commits from the stack (#307) were already upstream, so git dropped them automatically — the branch now has a single commit on top of main.

@ericholscher ericholscher merged commit 9624772 into main Jun 2, 2026
@ericholscher ericholscher deleted the claude/agents-trim-boilerplate branch June 2, 2026 15:36
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.

4 participants