refactor(cli)!: rename all skills and agents to consistent ce- prefix (#503)
Some checks failed
CI / pr-title (push) Has been cancelled
CI / test (push) Has been cancelled
Release PR / release-pr (push) Has been cancelled
Release PR / publish-cli (push) Has been cancelled

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-18 15:44:22 -07:00
committed by GitHub
parent 49249d7317
commit 5c0ec9137a
233 changed files with 3199 additions and 936 deletions

View File

@@ -7,8 +7,15 @@ const pluginRoot = path.join(process.cwd(), "plugins", "compound-engineering")
describe("sanitizePathName", () => {
test("replaces colons with hyphens", () => {
expect(sanitizePathName("ce:brainstorm")).toBe("ce-brainstorm")
expect(sanitizePathName("ce:plan")).toBe("ce-plan")
expect(sanitizePathName("other:skill")).toBe("other-skill")
expect(sanitizePathName("other:tool")).toBe("other-tool")
})
test("no CE skill name contains a colon", async () => {
const plugin = await loadClaudePlugin(pluginRoot)
for (const skill of plugin.skills) {
expect(skill.name).not.toContain(":")
}
})
test("passes through names without colons", () => {