惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
Recent Announcements
Recent Announcements
H
Help Net Security
Y
Y Combinator Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
小众软件
小众软件
Last Week in AI
Last Week in AI
U
Unit 42
Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
云风的 BLOG
云风的 BLOG
V
V2EX
博客园 - 聂微东
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Compound Engineering: A Plugin That Makes Your AI Coding ...
ArshTechPro · 2026-05-31 · via DEV Community

Most developers using AI coding tools hit the same ceiling eventually. The agent writes code, you accept or reject it, and next time it starts from scratch again. There's no memory of what worked, no accumulated judgment about your codebase, no improvement from one session to the next. You're getting faster, but the tool isn't getting better at helping you specifically.

Compound Engineering is a plugin that tries to fix that. Built by Every.to and available for Claude Code, Cursor, Codex, GitHub Copilot, and a growing list of other tools, it introduces a structured workflow designed around a simple principle: each unit of engineering work should make the next one easier.


The Core Idea

Traditional development accumulates technical debt. Features add complexity, bug fixes leave behind knowledge no one wrote down, and the codebase slowly becomes harder to change.

The Compound Engineering philosophy inverts the ratio: 80% of the effort goes into planning and review, 20% into execution. The thinking is that a sharp plan produces a smaller, cleaner implementation. A good code review catches a pattern, not just a specific bug. A documented learning means the agent doesn't have to rediscover the same constraint next week.

The plugin ships 37 skills and 51 agents that implement this workflow as slash commands you run inside your AI coding tool.


The Workflow Loop

The core loop looks like this:

/ce-brainstorm "add retry logic to background jobs"
/ce-plan docs/brainstorms/background-job-retry-requirements.md
/ce-work
/ce-code-review
/ce-compound

Here's what each step actually does:

/ce-brainstorm runs an interactive Q&A session. It asks clarifying questions about your feature or problem, then produces a right-sized requirements document. The output is a file you can hand directly to the next step.

/ce-plan takes that requirements document and turns it into a detailed implementation plan: what to change, what to test, what the edge cases are.

/ce-work executes the plan. It uses worktrees for isolation and tracks tasks as it goes.

/ce-code-review is a multi-agent review pass before you merge. It looks for issues but, more importantly, tries to catch patterns — recurring problems that are worth documenting rather than just fixing.

/ce-compound is where the compounding happens. It documents the learnings from this cycle so the agent has better context the next time you work on something similar.

There are also two commands that sit outside the core loop:

/ce-strategy creates and maintains a STRATEGY.md file — the product's target problem, approach, personas, and key metrics. When this file exists, brainstorm and plan commands read it as grounding, so your strategy choices flow naturally into feature decisions.

/ce-ideate sits upstream of brainstorm for bigger questions. Instead of jumping into requirements, it generates and critically evaluates several ideas, then routes the strongest one into the brainstorm step.

/ce-debug is for bug investigations. It systematically reproduces the failure, traces the root cause, and implements a fix rather than just patching the symptom.

/ce-product-pulse generates a time-windowed report on usage, performance, and errors. Reports are saved to docs/pulse-reports/ so they accumulate into a browseable history of how the product is actually performing.


Installation

Claude Code (simplest path)

/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering

No Bun required. After installing, run /ce-setup to check your environment and bootstrap project config.

Cursor

In Cursor Agent chat:

/add-plugin compound-engineering

Or search for "compound engineering" in the plugin marketplace.

GitHub Copilot (VS Code)

  1. Open the VS Code command palette
  2. Run Chat: Install Plugin from Source
  3. Enter EveryInc/compound-engineering-plugin as the repo
  4. Select compound-engineering when VS Code shows the available plugins

Codex (three steps required)

Codex currently needs an extra step because its native plugin spec handles skills but not custom agents. The agents are what power commands like /ce-code-review and /ce-plan.

# Step 1: Register the marketplace
codex plugin marketplace add EveryInc/compound-engineering-plugin

# Step 2: Install the agents via Bun
bunx @every-env/compound-plugin install compound-engineering --to codex

# Step 3: Launch Codex, run /plugins, find Compound Engineering, and install
codex

All three steps are required. Skipping the Bun step means delegation-based skills will report missing agents.

Gemini CLI, OpenCode, Kiro, Pi

bunx @every-env/compound-plugin install compound-engineering --to gemini
bunx @every-env/compound-plugin install compound-engineering --to opencode
bunx @every-env/compound-plugin install compound-engineering --to kiro
bunx @every-env/compound-plugin install compound-engineering --to pi


A Typical Bug Investigation

For debugging, the flow is shorter:

/ce-debug "checkout webhook sometimes creates duplicate invoices"
/ce-code-review
/ce-compound

/ce-debug doesn't just jump to a fix. It reproduces the failure first, traces where it originates, then implements a targeted fix. After a review and a compound step, that knowledge about the invoicing edge case is now part of the project's accumulated context.


What Actually Gets Written to Disk

This is worth understanding. Compound Engineering is not just about prompts — it produces files in your project:

  • STRATEGY.md — the product anchor document, if you use /ce-strategy
  • docs/brainstorms/ — requirements documents from /ce-brainstorm
  • docs/pulse-reports/ — product performance reports from /ce-product-pulse
  • Compound notes written by /ce-compound, stored wherever the plugin is configured to put them

These files are meant to persist across sessions and become grounding context for future agent interactions. The point is that each cycle is building toward a more informed next cycle, not starting fresh.


Is It Worth Using?

The plugin is a genuine attempt to solve a real problem: AI coding agents are stateless by default, and their usefulness degrades over the life of a complex project unless you actively manage context.

It's worth trying if:

  • You're working on a non-trivial codebase where decisions have history and context matters
  • You find yourself re-explaining the same architectural constraints to your agent in every session
  • You want more structured reviews than just "does this code work"
  • You're using Claude Code, Cursor, or Copilot and want a workflow rather than just a chat interface

It may be overkill if:

  • You're working on small, self-contained scripts or prototypes
  • Your sessions are isolated enough that accumulated context doesn't matter
  • You prefer a lighter workflow and the brainstorm/plan/compound ceremony feels like friction

The contribution policy is also worth knowing: the author explicitly does not accept outside contributions and reviews issues and PRs through their own agents rather than directly. That's an unusual choice for an open-source tool, but it's stated clearly and the release cadence (153 releases, latest in May 2026) suggests active maintenance regardless.

One honest note: the value of this plugin scales with how consistently you run the full loop. If you only use /ce-work and skip /ce-compound, you're leaving the most important part on the table. The compounding only happens if you complete the cycle.


Quick Reference

Command What it does
/ce-setup First-time setup and environment check
/ce-strategy Create or update STRATEGY.md
/ce-ideate Big-picture ideation before brainstorming
/ce-brainstorm Interactive requirements doc generation
/ce-plan Turn requirements into an implementation plan
/ce-work Execute the plan
/ce-debug Reproduce, trace, and fix a bug
/ce-code-review Multi-agent pre-merge review
/ce-doc-review Documentation review
/ce-compound Document learnings for future sessions
/ce-product-pulse Time-windowed usage and error report

GitHub: https://github.com/EveryInc/compound-engineering-plugin