Skip to content

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

@daninfpj

Description

@daninfpj

Bug Description

I was trying to run a simple :ask prompt, but I get the following error caused by a skill loading:

⏺ [16:56:52] Initialize de0a6ff9-66b9-407b-a985-8985c4799f74
⏺ [16:56:53] ERROR: Failed to load skills
    Caused by: Failed to parse template Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | ```tsx
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | ```
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

    Caused by: Failed to parse template Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | ```tsx
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | ```
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

    Caused by: Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | ```tsx
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | ```
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

The skill is: 12-principles-of-animation

Steps to Reproduce

  1. Install the 12-principles-of-animation skill
  2. Run any command (:ask)
  3. Fail

Expected Behavior

Should load the skill and run the prompt.

Actual Behavior

Fails to launch with ERROR: Failed to load skills.

Error Logs

⏺ [16:56:52] Initialize de0a6ff9-66b9-407b-a985-8985c4799f74
⏺ [16:56:53] ERROR: Failed to load skills
    Caused by: Failed to parse template Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | 
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | 
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

    Caused by: Failed to parse template Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | 
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | 
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

    Caused by: Template error: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace
    --> Template error in "Unnamed":153:40
     |
 150 | **Fail:**
 151 | 
 152 | <motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
     |----------------------------------------^---------------------
 153 | // When element should bounce/settle
 154 | 
 155 |
 156 | **Pass:**
     |
     = reason: invalid handlebars syntax: expected identifier, helper_parameter, or trailing_tilde_to_omit_whitespace

Forge Version

2.1.0

Operating System

macOS

OS Version

macOS Tahoe 26.3.1 (a)

AI Provider

OpenAI

Model

gtp-5.4

Installation Method

npx forgecode@latest

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions