Skip to content

Conversation

kengggg
Copy link

@kengggg kengggg commented Sep 21, 2025

Problem

When using specify init --here, the create-new-feature.sh script was looking for templates in $REPO_ROOT/templates/ but they were actually placed in $REPO_ROOT/.specify/templates/. This caused:

  • Script couldn't find spec-template.md
  • Created empty spec files instead
  • When Claude Code try to write text into an empty file, Unicode characters got corrupted (Spec contains Unicode texts become gibberish, → becomes �, ⚡ becomes �, etc.)

Solution

Updated scripts/bash/create-new-feature.sh to use the correct path by changing TEMPLATE="$REPO_ROOT/templates/spec-template.md" to TEMPLATE="$REPO_ROOT/.specify/templates/spec-template.md"

Impact

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.

Special characters and emojis from spec-template.md not being carried to spec.md
1 participant