refactor(skills): remove ce-onboarding skill (#639)
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.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-21 18:15:36 -07:00
committed by GitHub
parent 701ae10c2d
commit 19bbb60e90
9 changed files with 100 additions and 1267 deletions

View File

@@ -138,7 +138,7 @@ describe("CLI", () => {
await fs.mkdir(path.join(codexRoot, "skills", "ce:review-beta"), { recursive: true })
await fs.writeFile(path.join(codexRoot, "skills", "ce:review-beta", "SKILL.md"), "legacy raw colon beta skill")
await fs.mkdir(path.join(codexRoot, "skills", "ce-update"), { recursive: true })
await fs.writeFile(path.join(codexRoot, "skills", "ce-update", "SKILL.md"), "legacy claude-only skill")
await fs.writeFile(path.join(codexRoot, "skills", "ce-update", "SKILL.md"), "legacy pre-namespaced flat skill")
// A user-authored skill at a flat path whose name happens to collide with
// a current CE skill name (ce-debug is a current CE skill that has never
// been on the historical flat-path allow-list). The cleanup MUST NOT move
@@ -202,9 +202,12 @@ describe("CLI", () => {
}
expect(stdout).toContain("Cleaned codex")
// 6 historical artifacts get backed up: ce:plan, ce:review-beta, ce-update,
// report-bug.md, the .agents/skills/ce-plan symlink-equivalent, and the
// namespaced compound-engineering/repo-research-analyst directory.
// 6 historical artifacts get backed up: ce:plan, ce:review-beta, ce-update
// (pre-namespaced flat path; ce-update is a current skill but its managed
// install is at ~/.codex/skills/compound-engineering/ce-update, so the
// flat path is legacy), report-bug.md, the .agents/skills/ce-plan
// symlink-equivalent, and the namespaced
// compound-engineering/repo-research-analyst directory.
// The user-authored ce-debug skill is preserved.
expect(stdout).toContain("backed up 6 artifact")
expect(await exists(path.join(codexRoot, "skills", "ce:plan"))).toBe(false)