import { createCommand } from "../../../types.js";
import { listSubcommand } from "./list.js";
import { createCustomSkillSubcommand } from "./create.js";
import { saveSkillSubcommand } from "./save.js";
import { deleteSkillSubcommand } from "./delete.js";
import { bucketsSubcommand } from "./buckets.js";
import { getCommand } from "../../../command-prefix.js";
export const skillCommand = createCommand({
    name: 'skill',
    aliases: ['skills'],
    description: 'Manage Coder saved skills and skill buckets',
    tags: ['requires-auth'],
    requires: { auth: true, org: true },
    examples: [
        {
            command: getCommand('coder skill list'),
            description: 'List saved skills',
        },
        {
            command: getCommand('coder skill create --skill-id release-checklist --name "Release checklist" --content-file ./SKILL.md'),
            description: 'Create a custom skill',
        },
        {
            command: getCommand('coder skill save --repo org/repo --skill-id sk_abc --name "My Skill"'),
            description: 'Save a skill to your library',
        },
        {
            command: getCommand('coder skill delete sk_abc123'),
            description: 'Delete a saved skill',
        },
        {
            command: getCommand('coder skill buckets'),
            description: 'List skill buckets',
        },
    ],
    subcommands: [
        listSubcommand,
        createCustomSkillSubcommand,
        saveSkillSubcommand,
        deleteSkillSubcommand,
        bucketsSubcommand,
    ],
});
//# sourceMappingURL=index.js.map