Slim down CLAUDE.md to project-specific guardrails#1605
Open
lukaszlenart wants to merge 1 commit intorelease/struts-6-8-xfrom
Open
Slim down CLAUDE.md to project-specific guardrails#1605lukaszlenart wants to merge 1 commit intorelease/struts-6-8-xfrom
lukaszlenart wants to merge 1 commit intorelease/struts-6-8-xfrom
Conversation
Based on benchmark findings that generic instructions degrade Claude's performance on bug-fix and code-generation tasks. Remove architecture descriptions, common patterns, and technology lists that Claude already knows from training. Keep only build commands, project-specific traps, and module layout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
sepe81
reviewed
Mar 2, 2026
| - **Security**: Always validate inputs and follow OWASP guidelines | ||
| - **Performance**: Leverage built-in caching (OGNL expressions, templates) | ||
| - **Deprecation**: Some legacy XWork components marked for removal | ||
| - This is the **6.8.x** branch (`release/struts-6-8-x`), version `6.8.1-SNAPSHOT`. |
Contributor
There was a problem hiding this comment.
I suggest skipping the current version to simplify releases and avoid updating the file each time, since the version is already defined in the pom.xml.
Member
Author
There was a problem hiding this comment.
I'm working on simplifying branch structure and to have just two:
- main -> Struts 7
- support/6.x -> Struts 6
and then I will update CLAUDE.md
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.




Summary
Based on CLAUDE.md benchmark results showing that generic instructions degrade performance on bug-fix and code-generation tasks, while project-specific guardrails raise worst-case scores.
Test plan
🤖 Generated with Claude Code