Skip to content

fix(skills): avoid treating skill content as a template#2703

Open
daninfpj wants to merge 3 commits intoantinomyhq:mainfrom
daninfpj:fix/handlebars-skill-parsing
Open

fix(skills): avoid treating skill content as a template#2703
daninfpj wants to merge 3 commits intoantinomyhq:mainfrom
daninfpj:fix/handlebars-skill-parsing

Conversation

@daninfpj
Copy link
Copy Markdown

@daninfpj daninfpj commented Mar 26, 2026

Fixes #2654

Uses plain string replacement when substituting path placeholders in a skill's command field to avoid treating skill content as a Handlebars template, which would break skills containing {{ }} syntax (e.g. JSX or code examples).

Verification

  • Lint and test pass
  • Ran :ask command with the 12-principles-of-animation skill loaded
  • Created skill with /create-skill and verified path replacement works correctly

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 26, 2026

CLA assistant check
All committers have signed the CLA.

@amitksingh1490 amitksingh1490 self-requested a review March 27, 2026 04:13
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.

[Bug]: Failed to load skills — Failed to parse template

2 participants