From 8573bc038e5a0271d8a63c52e9cc14dd94a488c7 Mon Sep 17 00:00:00 2001 From: "Sakamoto, Kazunori" Date: Sat, 9 May 2026 23:17:23 +0900 Subject: [PATCH 1/2] fix: preserve agent skill files during wbfy Co-authored-by: WillBooster (Codex CLI) --- packages/wbfy/src/generators/skills.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/wbfy/src/generators/skills.ts b/packages/wbfy/src/generators/skills.ts index 32e5eb435..d93057788 100644 --- a/packages/wbfy/src/generators/skills.ts +++ b/packages/wbfy/src/generators/skills.ts @@ -6,13 +6,9 @@ import type { PackageConfig } from '../packageConfig.js'; export async function installAgentSkills(rootConfig: PackageConfig): Promise { return logger.functionIgnoringException('installAgentSkills', async () => { - // TODO: We are temporarily removing agent skills from the repo + // TODO: We are temporarily not installing managed agent skills into repos. // await runInstallAgentSkills(rootConfig); await Promise.all([ - fs.rm(path.resolve(rootConfig.dirPath, '.agents'), { - force: true, - recursive: true, - }), fs.rm(path.resolve(rootConfig.dirPath, '.claude'), { force: true, recursive: true, From f7b3e62310fcd16f8d6228df564a49f449fa7364 Mon Sep 17 00:00:00 2001 From: "Sakamoto, Kazunori" Date: Sat, 9 May 2026 23:25:06 +0900 Subject: [PATCH 2/2] fix: preserve all agent skills Co-authored-by: WillBooster (Codex CLI) --- packages/wbfy/src/generators/skills.ts | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/packages/wbfy/src/generators/skills.ts b/packages/wbfy/src/generators/skills.ts index d93057788..7db3ef9a6 100644 --- a/packages/wbfy/src/generators/skills.ts +++ b/packages/wbfy/src/generators/skills.ts @@ -1,21 +1,9 @@ -import fs from 'node:fs/promises'; -import path from 'node:path'; - import { logger } from '../logger.js'; import type { PackageConfig } from '../packageConfig.js'; -export async function installAgentSkills(rootConfig: PackageConfig): Promise { +export async function installAgentSkills(_rootConfig: PackageConfig): Promise { return logger.functionIgnoringException('installAgentSkills', async () => { // TODO: We are temporarily not installing managed agent skills into repos. - // await runInstallAgentSkills(rootConfig); - await Promise.all([ - fs.rm(path.resolve(rootConfig.dirPath, '.claude'), { - force: true, - recursive: true, - }), - fs.rm(path.resolve(rootConfig.dirPath, 'skills-lock.json'), { - force: true, - }), - ]); + // await runInstallAgentSkills(_rootConfig); }); }