Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 3 additions & 19 deletions packages/wbfy/src/generators/skills.ts
Original file line number Diff line number Diff line change
@@ -1,25 +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<void> {
export async function installAgentSkills(_rootConfig: PackageConfig): Promise<void> {
return logger.functionIgnoringException('installAgentSkills', async () => {
// TODO: We are temporarily removing agent skills from the repo
// 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,
}),
fs.rm(path.resolve(rootConfig.dirPath, 'skills-lock.json'), {
force: true,
}),
]);
// TODO: We are temporarily not installing managed agent skills into repos.
// await runInstallAgentSkills(_rootConfig);
});
}
Loading