From 8e3bddf07c33db25d5cd79e0153f326eab912747 Mon Sep 17 00:00:00 2001 From: m4nt0de4 Date: Tue, 3 Feb 2026 08:35:20 +0100 Subject: [PATCH] fix: Move YAML frontmatter before HTML comment in PAI skill The HTML build comment was placed before the YAML frontmatter delimiter in 00-frontmatter.md, causing GenerateSkillIndex.ts to skip PAI/SKILL.md entirely. The parseFrontmatter() regex uses ^--- which requires frontmatter at the very start of the file. Also renames `name: CORE` to `name: PAI` to match ALWAYS_LOADED_SKILLS. Fixes #568 Co-Authored-By: Claude Opus 4.5 --- .../v2.5/.claude/skills/PAI/Components/00-frontmatter.md | 8 ++++---- Releases/v2.5/.claude/skills/PAI/SKILL.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Releases/v2.5/.claude/skills/PAI/Components/00-frontmatter.md b/Releases/v2.5/.claude/skills/PAI/Components/00-frontmatter.md index 866166ef..409f0997 100644 --- a/Releases/v2.5/.claude/skills/PAI/Components/00-frontmatter.md +++ b/Releases/v2.5/.claude/skills/PAI/Components/00-frontmatter.md @@ -1,9 +1,9 @@ +--- +name: PAI +description: Personal AI Infrastructure core. The authoritative reference for how PAI works. +--- ---- -name: CORE -description: Personal AI Infrastructure core. The authoritative reference for how PAI works. ---- diff --git a/Releases/v2.5/.claude/skills/PAI/SKILL.md b/Releases/v2.5/.claude/skills/PAI/SKILL.md index 4859e70d..2582577b 100755 --- a/Releases/v2.5/.claude/skills/PAI/SKILL.md +++ b/Releases/v2.5/.claude/skills/PAI/SKILL.md @@ -1,13 +1,13 @@ +--- +name: PAI +description: Personal AI Infrastructure core. The authoritative reference for how PAI works. +--- ---- -name: CORE -description: Personal AI Infrastructure core. The authoritative reference for how PAI works. ---- # Intro to PAI