From 56b174a0563107b3084d780a1e6ae5a909ebeef3 Mon Sep 17 00:00:00 2001 From: Kieran Klaassen Date: Thu, 12 Feb 2026 11:43:16 -0600 Subject: [PATCH] Add configurable review agents via setup skill and compound-engineering.local.md (#124) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(commands): add /compound-engineering-setup for configurable agents Adds a new setup command that allows users to configure which review agents to use instead of hardcoding them in workflows. This enables: - Multi-step onboarding with AskUserQuestion for easy setup - Auto-detection of project type (Rails, Python, TypeScript, etc.) - Three setup modes: Quick (smart defaults), Advanced, and Minimal - Configuration stored in .claude/compound-engineering.json - Support for both global (~/.claude/) and project-specific config Updated workflows to read from config: - /workflows:review - reads reviewAgents from config - /plan_review - reads planReviewAgents from config - /workflows:work - references config for reviewer agents - /workflows:compound - references config for specialized agents πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 * feat: auto-trigger setup when no config exists Workflows now detect missing config and offer inline quick setup: - "Quick Setup" - auto-detect project type, create config, continue - "Full Setup" - run /compound-engineering-setup for customization - "Skip" - use defaults just this once This ensures users get onboarded automatically when running any workflow for the first time, without needing to know about the setup command beforehand. Co-Authored-By: Claude Opus 4.5 * feat(review): wire all conditionalAgents categories Extended /workflows:review to invoke conditional agents for: - migrations (existing) - frontend (new): JS/TS/Stimulus changes - architecture (new): structural changes, 10+ files - data (new): model/ActiveRecord changes Each category reads from conditionalAgents.* config key and runs appropriate specialized agents when file patterns match. Resolves: todos/001-ready-p2-conditional-agents-not-invoked.md Co-Authored-By: Claude Opus 4.5 * chore: mark todo #001 as complete * feat(setup): add custom agent discovery and modify flow - Auto-detect custom agents in .claude/agents/ and ~/.claude/agents/ - Add modify existing config flow (add/remove agents, view config) - Include guide for creating custom review agents - Add customAgents mapping in config to track agent file paths - Update changelog with new config schema including customAgents Co-Authored-By: Claude Opus 4.5 * chore: remove completed todos directory Co-Authored-By: Claude Opus 4.5 * [2.29.1] Improve /workflows:brainstorm question flow - Add "Ask more questions" option at handoff phase - Clarify that Claude should ask the user questions (not wait for user) - Require resolving ALL open questions before offering to proceed Co-Authored-By: Claude Opus 4.5 * Simplify plugin settings: replace 486-line wizard with .local.md pattern - Rewrite setup.md (486 β†’ 95 lines): detect project type, create .claude/compound-engineering.local.md with smart defaults - Make review.md and work.md config-aware: read agents from .local.md frontmatter, fall back to auto-detected defaults - Wire schema-drift-detector into review.md migrations conditional block - Delete technical_review.md (duplicated /plan_review) - Add disable-model-invocation to setup.md - Bump to v2.32.0 Co-Authored-By: Claude Opus 4.6 * Rewrite .claude/ paths for OpenCode/Codex targets, add npm publish workflow - Converters now rewrite .claude/ β†’ .opencode/ (OpenCode) and .codex/ (Codex) in command bodies and agent bodies so .local.md settings work cross-platform - Apply transformContentForCodex to agent bodies (was only commands before) - Add GitHub Action to auto-publish to npm on version bump merge to main - Bump to v0.4.0 Co-Authored-By: Claude Opus 4.6 * feat(workflows-work): require post-deploy monitoring section Add a mandatory Post-Deploy Monitoring & Validation section to the /workflows:work PR template, include no-impact fallback guidance, and enforce it in the quality checklist. * Add learnings-researcher to review workflow, fix docs site counts - Add learnings-researcher as parallel agent #14 in /workflows:review so past solutions from docs/solutions/ are surfaced during code review - Make /release-docs command invocable (remove disable-model-invocation) - Fix stale counts across docs site (agents 28β†’29, commands 19β†’24, skills 15β†’18, MCP servers 2β†’1) - Bump version to 2.32.1 Co-Authored-By: Claude Opus 4.6 * Move /release-docs to local .claude/commands/, bump to 2.32.2 Repo maintenance command doesn't need to be distributed to plugin users. Update command count 24 β†’ 23 across plugin.json, marketplace.json, and docs. Co-Authored-By: Claude Opus 4.6 * Move settings to project root: compound-engineering.local.md Tool-agnostic location β€” works for Claude, Codex, OpenCode without path rewriting. No global fallback, just project root. Update commands (setup, review, work) and converter tests. Co-Authored-By: Claude Opus 4.6 * Make /compound-engineering-setup interactive with auto-detect fast path Two paths: "Auto-configure" (one click, smart defaults) or "Customize" (pick stack, focus areas, review depth). Uses AskUserQuestion throughout. Co-Authored-By: Claude Opus 4.6 * Replace /compound-engineering-setup command with setup skill Setup is now a skill invoked on-demand when compound-engineering.local.md doesn't exist. Review and work commands just say "invoke the setup skill" instead of inlining the full setup flow. - Remove commands/setup.md (command) - Add skills/setup/SKILL.md (skill with interactive AskUserQuestion flow) - Simplify review.md and work.md to reference the skill - Counts: 29 agents, 22 commands, 19 skills Co-Authored-By: Claude Opus 4.6 * Prepare v2.33.0 release: setup skill, configurable review agents - Bump version to 2.33.0 - Consolidate CHANGELOG entries for this branch - Fix README: update counts (29/22/19), add setup + resolve-pr-parallel skills - Remove stale /compound-engineering-setup command reference Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.5 --- .claude-plugin/marketplace.json | 4 +- .../commands/release-docs.md | 1 - docs/index.html | 26 +-- docs/pages/changelog.html | 39 ++++ ...cal-md-settings-for-opencode-codex-plan.md | 143 +++++++++++++ ...2-08-feat-simplify-plugin-settings-plan.md | 195 ++++++++++++++++++ .../.claude-plugin/plugin.json | 4 +- plugins/compound-engineering/CHANGELOG.md | 24 +++ plugins/compound-engineering/README.md | 8 +- .../commands/technical_review.md | 8 - .../commands/workflows/brainstorm.md | 7 +- .../commands/workflows/compound.md | 1 + .../commands/workflows/review.md | 42 ++-- .../commands/workflows/work.md | 44 ++-- .../skills/setup/SKILL.md | 168 +++++++++++++++ src/converters/claude-to-codex.ts | 9 +- src/converters/claude-to-opencode.ts | 10 +- tests/codex-converter.test.ts | 62 ++++++ tests/converter.test.ts | 61 ++++++ 19 files changed, 787 insertions(+), 69 deletions(-) rename {plugins/compound-engineering => .claude}/commands/release-docs.md (99%) create mode 100644 docs/plans/2026-02-08-feat-convert-local-md-settings-for-opencode-codex-plan.md create mode 100644 docs/plans/2026-02-08-feat-simplify-plugin-settings-plan.md delete mode 100644 plugins/compound-engineering/commands/technical_review.md create mode 100644 plugins/compound-engineering/skills/setup/SKILL.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 92f3624..563dfcd 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,8 +11,8 @@ "plugins": [ { "name": "compound-engineering", - "description": "AI-powered development tools that get smarter with every use. Make each unit of engineering work easier than the last. Includes 29 specialized agents, 24 commands, and 18 skills.", - "version": "2.31.0", + "description": "AI-powered development tools that get smarter with every use. Make each unit of engineering work easier than the last. Includes 29 specialized agents, 22 commands, and 19 skills.", + "version": "2.33.0", "author": { "name": "Kieran Klaassen", "url": "https://github.com/kieranklaassen", diff --git a/plugins/compound-engineering/commands/release-docs.md b/.claude/commands/release-docs.md similarity index 99% rename from plugins/compound-engineering/commands/release-docs.md rename to .claude/commands/release-docs.md index 6f96e09..903d6ae 100644 --- a/plugins/compound-engineering/commands/release-docs.md +++ b/.claude/commands/release-docs.md @@ -2,7 +2,6 @@ name: release-docs description: Build and update the documentation site with current plugin components argument-hint: "[optional: --dry-run to preview changes without writing]" -disable-model-invocation: true --- # Release Documentation Command diff --git a/docs/index.html b/docs/index.html index ec26ee3..0802199 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ Compounding Engineering - AI-Powered Development Tools for Claude Code - + @@ -12,7 +12,7 @@ - + @@ -155,13 +155,13 @@
- Version 2.28.0 released! + Version 2.32.2 released!

Your Code Reviews Just Got 12 Expert Opinions. In 30 Seconds.

- Here's what happened when we shipped yesterday: security audit, performance analysis, architectural review, pattern detection, and eight more specialized checksβ€”all running in parallel. No meetings. No waiting. Just answers. That's compounding engineering: 28 specialized agents, 24 workflow commands, and 15 skills that make today's work easier than yesterday's. + Here's what happened when we shipped yesterday: security audit, performance analysis, architectural review, pattern detection, and eight more specialized checksβ€”all running in parallel. No meetings. No waiting. Just answers. That's compounding engineering: 29 specialized agents, 23 workflow commands, and 18 skills that make today's work easier than yesterday's.

@@ -179,17 +179,17 @@
-
28
+
29
Specialized Agents
-
24
+
23
Slash Commands
-
15
+
18
Intelligent Skills
@@ -244,7 +244,7 @@ The security-sentinel has checked 10,000 PRs for SQL injection. The kieran-rails-reviewer never approves a controller with business logic. They don't get tired, don't skip Friday afternoon reviews, don't forget the conventions you agreed on in March. Run /work and watch your plan execute with quality gates that actually enforce your standardsβ€”every single time.

- 27 specialized agents + 29 specialized agents /work dhh-rails-style skill git-worktree skill @@ -292,7 +292,7 @@

- 27 Specialized Agents + 29 Specialized Agents

Think of them as coworkers who never quit. The security-sentinel has seen every SQL injection variant. The kieran-rails-reviewer enforces conventions with zero compromise. The performance-oracle spots N+1 queries while you're still reading the PR. Run them solo or launch twelve in parallelβ€”your choice. @@ -531,7 +531,7 @@

- 19 Powerful Commands + 23 Powerful Commands

Slash commands that replace entire workflows. /review is your code review committee. /plan is your research team. /triage sorts 50 todos in the time it takes you to read five. Each one automates hours of work into a single line. @@ -683,7 +683,7 @@

- 12 Intelligent Skills + 18 Intelligent Skills

Domain expertise on tap. Need to write a Ruby gem? The andrew-kane-gem-writer knows the patterns Andrew uses in 50+ popular gems. Building a Rails app? The dhh-rails-style enforces 37signals conventions. Generating images? The gemini-imagegen has Google's AI on speed dial. Just invoke the skill and watch it work. @@ -825,7 +825,7 @@

- Two MCP Servers + 1 MCP Server

Playwright gives Claude a browserβ€”it can click buttons, take screenshots, fill forms, and validate what your users actually see. Context7 gives it instant access to docs for 100+ frameworks. Need to know how Next.js handles dynamic routes? Context7 fetches the answer in real-time instead of hallucinating from outdated training data. @@ -989,7 +989,7 @@ skill: gemini-imagegen Free & Open Source

Install Once. Compound Forever.

- Your next code review takes 30 seconds. The one after that? Even faster. That's compounding. Get 27 expert agents, 19 workflow commands, and 12 specialized skills working for you right now. + Your next code review takes 30 seconds. The one after that? Even faster. That's compounding. Get 29 expert agents, 23 workflow commands, and 18 specialized skills working for you right now.

diff --git a/docs/pages/changelog.html b/docs/pages/changelog.html index 7cf731c..dd0c72d 100644 --- a/docs/pages/changelog.html +++ b/docs/pages/changelog.html @@ -48,6 +48,8 @@