fix: quote description in team-designer scaffold template to prevent YAML parse errors

The template generated unquoted description values containing `: ` sequences,
causing "mapping values are not allowed in this context" YAML errors in
generated SKILL.md files.

Closes #143

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
catlog22
2026-03-28 14:41:08 +08:00
parent 4fb983c747
commit ffae6ddc19
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ The SKILL.md follows a strict template. Every generated SKILL.md contains these
```yaml
---
name: ${teamConfig.skillName}
description: ${teamConfig.domain}. Triggers on "${teamConfig.skillName}".
description: "${teamConfig.domain}. Triggers on ${teamConfig.skillName}."
allowed-tools: TeamCreate(*), TeamDelete(*), SendMessage(*), TaskCreate(*), TaskUpdate(*), TaskList(*), TaskGet(*), Agent(*), AskUserQuestion(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*)
---
```

View File

@@ -37,7 +37,7 @@ The SKILL.md follows a strict template. Every generated SKILL.md contains these
```yaml
---
name: ${teamConfig.skillName}
description: ${teamConfig.domain}. Triggers on "${teamConfig.skillName}".
description: "${teamConfig.domain}. Triggers on ${teamConfig.skillName}."
allowed-tools: spawn_agent(*), wait_agent(*), report_agent_job_result(*), request_user_input(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*)
---
```