chore(integration): snapshot local main worktree
This commit is contained in:
@@ -74,16 +74,16 @@ export async function listProductCodingSkills(
|
||||
): Promise<ProductCodingSkill[]> {
|
||||
const selected = selectedSkillIds(selectedIds);
|
||||
return await Promise.all(BUNDLED_CODING_SKILL_IDS.map(async (id) => {
|
||||
const location = path.join(bundledSkillsDir, id);
|
||||
const content = await readFile(path.join(location, 'SKILL.md'), 'utf8');
|
||||
const skillDirectory = path.join(bundledSkillsDir, id);
|
||||
const content = await readFile(path.join(skillDirectory, 'SKILL.md'), 'utf8');
|
||||
return {
|
||||
id,
|
||||
name: frontmatterScalar(content, 'name') ?? id,
|
||||
description: frontmatterScalar(content, 'description') ?? '',
|
||||
selected: selected.has(id),
|
||||
location,
|
||||
location: path.posix.join('resources', 'coding-skills', id),
|
||||
content,
|
||||
entries: await listSkillEntries(location),
|
||||
entries: await listSkillEntries(skillDirectory),
|
||||
};
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user