From 8388dd63fe723e7814a3e218541e54999ac7cde0 Mon Sep 17 00:00:00 2001 From: Marcos Paulo Date: Sat, 5 Sep 2026 17:24:54 +0000 Subject: [PATCH] fix(skills): keep file-prefix and label joined by template literal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prettier reformats JSX into one expression per line; splitting "{file.prefix}{file.label}" across two lines inserts a literal whitespace text node between them. Snapshot diff against .agents/snapshots/skills.txt showed the rendered HTML emitted "├── SKILL.md" (two spaces) where vanilla showed one. Joining the values into a single template expression keeps the rendered text byte-identical to the legacy source. --- src/components/islands/SkillPackageExplorer.astro | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/islands/SkillPackageExplorer.astro b/src/components/islands/SkillPackageExplorer.astro index c6ccb35..2018019 100644 --- a/src/components/islands/SkillPackageExplorer.astro +++ b/src/components/islands/SkillPackageExplorer.astro @@ -73,10 +73,7 @@ const packageFiles: PackageFile[] = [ role="tab" aria-selected={String(index === 0)} > - - {file.prefix} - {file.label} - + {`${file.prefix}${file.label}`} {file.caption} ))