chore(integration): snapshot local main worktree

This commit is contained in:
inman
2026-08-31 10:23:21 +08:00
parent 48a9189939
commit 33fb31fb28
116 changed files with 8108 additions and 3026 deletions

View File

@@ -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),
};
}));
}