Fix “SKILL.md must start with YAML frontmatter” at byte 1
Fix the Claude Code error SKILL.md must start with YAML frontmatter (---): the valid shape plus five ways files fail it, with broken vs fixed examples.
Resources
These write-ups came out of problems that showed up while building Chion: how the pipeline handles a prompt-injection attempt, and what to do when Claude Code rejects a SKILL.md for its frontmatter.
Each write-up documents one mechanism in Chion's pipeline and names the code path it lives in. They are written for the engineer who has to decide whether a control actually holds.
Fix the Claude Code error SKILL.md must start with YAML frontmatter (---): the valid shape plus five ways files fail it, with broken vs fixed examples.
How Chion handles text-to-sql prompt injection (OWASP LLM01): a prompt escaper, two code validators, and a 1,000-row capped database role.
Resources
These write-ups came out of problems that showed up while building Chion: how the pipeline handles a prompt-injection attempt, and what to do when Claude Code rejects a SKILL.md for its frontmatter.
Each write-up documents one mechanism in Chion's pipeline and names the code path it lives in. They are written for the engineer who has to decide whether a control actually holds.
Fix the Claude Code error SKILL.md must start with YAML frontmatter (---): the valid shape plus five ways files fail it, with broken vs fixed examples.
How Chion handles text-to-sql prompt injection (OWASP LLM01): a prompt escaper, two code validators, and a 1,000-row capped database role.