feat(skills): add bundled /review skill for out-of-the-box code review (#2348)

feat(skills): add bundled /review skill for out-of-the-box code review
This commit is contained in:
Shaojin Wen 2026-03-14 15:15:08 +08:00 committed by GitHub
parent f1ee4638b7
commit 1359563f45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 525 additions and 27 deletions

View file

@ -31,6 +31,7 @@ import type { LoadedSettings } from '../../config/settings.js';
import { type CommandContext, type SlashCommand } from '../commands/types.js';
import { CommandService } from '../../services/CommandService.js';
import { BuiltinCommandLoader } from '../../services/BuiltinCommandLoader.js';
import { BundledSkillLoader } from '../../services/BundledSkillLoader.js';
import { FileCommandLoader } from '../../services/FileCommandLoader.js';
import { McpPromptLoader } from '../../services/McpPromptLoader.js';
import { parseSlashCommand } from '../../utils/commands.js';
@ -311,6 +312,7 @@ export const useSlashCommandProcessor = (
const loaders = [
new McpPromptLoader(config),
new BuiltinCommandLoader(config),
new BundledSkillLoader(config),
new FileCommandLoader(config),
];
const commandService = await CommandService.create(