Skip to content

Fix obsidian-bases skill failing to load: reorder YAML special-char list#116

Open
Anneo22 wants to merge 1 commit into
kepano:mainfrom
Anneo22:fix-obsidian-bases-yaml-char-list-loader-crash
Open

Fix obsidian-bases skill failing to load: reorder YAML special-char list#116
Anneo22 wants to merge 1 commit into
kepano:mainfrom
Anneo22:fix-obsidian-bases-yaml-char-list-loader-crash

Conversation

@Anneo22

@Anneo22 Anneo22 commented Jun 27, 2026

Copy link
Copy Markdown

Problem

skills/obsidian-bases/SKILL.md fails to load in skill loaders that expand the inline !`command` dynamic-command syntax.

Line 437 lists the YAML special characters, each wrapped in its own inline-code span:

Strings containing `:`, … `=`, `!`, `%`, `@`, ` ` must be quoted.

The `!`, `%` portion places ! immediately before a backtick. A loader that scans each line for the !`…` pattern therefore matches !`, ` and tries to run , as a shell command, so the skill aborts on load with command not found.

Fix

Move the `!` item to the end of the list, so nothing with a backtick follows it on that line:

Strings containing `:`, … `=`, `%`, `@`, ` `, `!` must be quoted.

Same documented rule, no content change — just reordered so the accidental !`…` match disappears. One-line diff.

…char list

Line 437 lists YAML special characters, each in its own inline-code span.
The `!`, `%` sequence places `!` immediately before a backtick, so skill
loaders that expand the `!`command` inline dynamic-command syntax match
`!`, ` on that line and try to run `, ` as a shell command, aborting the
skill load with "command not found".

Move the `!` item to the end of the list so no backtick follows it. Same
documented rule, no content change, accidental match removed.
Copilot AI review requested due to automatic review settings June 27, 2026 21:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the obsidian-bases skill documentation to avoid an accidental match of the inline dynamic-command syntax (!command``) by certain skill loaders, which can cause the skill to abort during load.

Changes:

  • Reorders the inline-code list of “unquoted special characters” so `!` appears last on the line, preventing a stray !…`` match.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants