-
Notifications
You must be signed in to change notification settings - Fork 553
Add /compound:configure with persistent user preferences
#103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aviflombaum
wants to merge
8
commits into
EveryInc:main
Choose a base branch
from
aviflombaum:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
- Add hooks/hooks.json with SessionStart hook - Add bin/auto-rebuild script to detect version changes - Rewrite configure.md to modify plugin in-place - Config persists at ~/.claude/compound-engineering.config.json - Auto-rebuilds when plugin updates from marketplace Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collaborator
|
Super cool. Let me look at this since it's a pretty big pull request. Try it out locally |
Contributor
|
Is the 9k token overhead only the frontmatter? I thought CC did a great job with not loading everything and discovering and loading skills and agents when needed. |
Collaborator
|
yeah i want to make sure we are using the tools, and we might even go to skills for more if that is a problem. |
Added: - sync-reviewer agent: Pre-analyze upstream diffs before syncing - docs/solutions/structural-fork-pattern.md: Pattern documentation Updated: - CHANGELOG.md with v2.28.0 release notes - README.md with new agent counts (28 agents, 24 commands, 15 skills) - plugin.json and marketplace.json version bumps
- Add scripts/bump-version.sh for atomic version bumps to both plugin.json and marketplace.json - Add scripts/validate-versions.sh for CI validation of version consistency - Add scripts/setup-local-dev.sh for configuring local development - Add GitHub Actions workflow that validates versions on PRs and comments with fix instructions - Update CLAUDE.md with new tooling documentation and learning entry
Added: - learnings-researcher agent - searches docs/solutions/ for past learnings - workflows/brainstorm command - new brainstorming workflow - brainstorming skill - brainstorming methodology and templates Updated: - Research agents (best-practices, framework-docs, repo-research-analyst) - Review agents (pattern-recognition-specialist) - Workflow commands (plan, review, work, compound) - Utility commands (deepen-plan, report-bug) - Skills (compound-docs, git-worktree) Local-only components preserved: - sync-reviewer agent - configure command - sync-upstream skill Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add bundles.json with 18 workflow-based component bundles - Add bundles.schema.json for validation - Update /compound:configure to use interactive bundle selection - Update bin/build to generate plugin from bundle config - Update config schema to support v2.0 bundle format - Remove hardcoded Context7 API key (security fix) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Problem
The compound-engineering plugin ships with 27 agents, 14 skills, and 23 commands. This comprehensiveness is great for covering diverse workflows, but it means ~9,000 tokens of context overhead before a user types anything.
For a Ruby developer, the Python and TypeScript reviewers are wasted context. Someone who doesn't use Figma doesn't need the design sync agents. This "context bloat" reduces the effective context window for actual work.
Solution
Add user-configurable plugin preferences that:
~/.claude/survives marketplace updatesWhat's Added
New files:
hooks/hooks.json- SessionStart hook to trigger auto-rebuildbin/auto-rebuild- Script that detects version changes and applies saved configModified:
_source/commands/configure.md- Rewritten to save config externally and modify plugin in-placecommands/configure.md- Updated copyHow It Works
/compound:configure~/.claude/compound-engineering.config.json~/.claude/compound-engineering.last-build-versionOn future plugin updates:
bin/auto-rebuildUser Impact
For a Ruby-focused developer who disables Python/TS reviewers, Figma tools, and image generation:
Config Format
{ "agents": { "enabled": ["*"], "disabled": ["kieran-python-reviewer", "figma-design-sync"] }, "skills": { "enabled": ["*"], "disabled": ["gemini-imagegen"] } }The
enabled: ["*"]withdisabled: [...]pattern means new components are enabled by default.Testing
/compound:configure-> preferences applied