865
const INSTRUCTION_FILE_SUFFIX = '.instructions.md';
866
868
>
pluginRoot: URI,
869
>
dirs: readonly URI[],
870
>
fileService: IFileService,
871
>
options?: { readonly childDirectoriesOnly?: boolean; readonly containmentRoot?: URI },
872
>
): Promise<readonly INamedPluginResource[]> {
873
>
const seen = new Set<string>();
874
>
const skills: INamedPluginResource[] = [];
875
>
876
>
const addSkill = async (name: string, skillMd: URI) => {
877
if (options?.containmentRoot && !await isResolvedWithin(options.containmentRoot, skillMd, fileService)) {
878
return;