Files
everyinc__compound-engineer…/.opencode/plugins/compound-engineering.js
Trevin Chow 5bbb0e1dfd refactor(plugin): make plugin skills-only and root-native
Flatten the plugin to the repo root, remove standalone agents (43 -> 0),
retire 12 standalone skills, and move specialist behavior into skill-local
prompt assets under references/agents and references/personas.

Integrate main's ce-code-review deletion-signal coverage and ce-simplify-code
simplification safety hardening (#969) while preserving agentless local-prompt
naming in review output sections.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 02:29:40 -07:00

18 lines
511 B
JavaScript

import path from "path"
import { fileURLToPath } from "url"
const pluginDir = path.dirname(fileURLToPath(import.meta.url))
const skillsDir = path.resolve(pluginDir, "../../skills")
export const CompoundEngineeringPlugin = async () => ({
config: async (config) => {
config.skills = config.skills || {}
config.skills.paths = config.skills.paths || []
if (!config.skills.paths.includes(skillsDir)) {
config.skills.paths.push(skillsDir)
}
},
})
export default CompoundEngineeringPlugin