refactor(cli)!: rename all skills and agents to consistent ce- prefix (#503)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user