Skip to content

fix(skills): make kernel-ops frontmatter portable - #4

Open
FabioMalpezzi wants to merge 1 commit into
Pinperepette:mainfrom
FabioMalpezzi:fix/kernel-ops-skill-frontmatter
Open

fix(skills): make kernel-ops frontmatter portable#4
FabioMalpezzi wants to merge 1 commit into
Pinperepette:mainfrom
FabioMalpezzi:fix/kernel-ops-skill-frontmatter

Conversation

@FabioMalpezzi

Copy link
Copy Markdown
Contributor

Problema

Il frontmatter di kernel-ops/SKILL.md usa una descrizione YAML plain-style che contiene Esempi: seguito da valori tra virgolette. Pi e Codex segnalano un errore di parsing equivalente a:

Nested mappings are not allowed in compact mappings

Claude Code sembra invece accettare il file, verosimilmente grazie a un parsing più permissivo.

Correzione

Converte description in un folded block scalar YAML (>-), preservando integralmente il testo e rendendo il frontmatter portabile tra i diversi skill loader.

Verifica

  • npm test — passato
  • parsing YAML del frontmatter — passato
  • loader skill nativo di Pi — kernel-ops caricata senza diagnostiche

La compatibilità Claude non cambia semanticamente: il valore risultante di description resta una singola stringa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant