chore(claude): optimize config for agentic coding#606
Merged
Chemaclass merged 9 commits intomainfrom Mar 14, 2026
Merged
Conversation
Rules reduced from ~1,268 to ~230 lines. Opus doesn't need verbose examples of generic Bash/TDD knowledge — only project-specific conventions and constraints.
Skills reduced from ~1,490 to ~310 lines total. Removed generic instructions Opus already knows, verbose example blocks, and dead @AGENTS.md references.
Auto-runs shellcheck on .sh files after Edit/Write tool calls, catching issues immediately instead of waiting for commit-time.
Sync the GitHub PR template structure (Background + Changes) with what the /pr skill generates, ensuring consistency.
Codifies source-path and external-sources settings so shellcheck behaves consistently across CLI, hooks, and CI.
Task files add friction for small fixes. Now recommended for non-trivial changes only, skippable for single-test bug fixes.
No pre-push hook exists — the pre-commit hook handles quality checks. Updated docs to reflect actual hook setup.
Rules have paths: frontmatter that auto-loads them when editing matching files. The @ references in CLAUDE.md force-loaded all rules in every conversation, wasting context.
Contributor
✅ Contributor ReportUser: @Chemaclass This user is on the trusted contributors list and was automatically approved. |
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.
Background
Optimize the
.claude/configuration for better agentic performance with Claude Opus. Rules and skills were bloated with generic knowledge that Opus already has, wasting context window on every conversation.Changes
.shfile edits/prskill format, add.shellcheckrc, fix false pre-push hook docs@includes from CLAUDE.md — rules now auto-load via path-scoped frontmatter