Skip to content

feat: add Phase 0 for scope and language confirmation#9

Open
weiambt wants to merge 1 commit into
zarazhangrui:mainfrom
weiambt:feat/language-confirmation
Open

feat: add Phase 0 for scope and language confirmation#9
weiambt wants to merge 1 commit into
zarazhangrui:mainfrom
weiambt:feat/language-confirmation

Conversation

@weiambt
Copy link
Copy Markdown

@weiambt weiambt commented Apr 26, 2026

Summary

  • New Phase 0 in SKILL.md: before analyzing the codebase, the skill now confirms scope and course language (English / 中文 / Other) with the user via AskUserQuestion
  • Language declaration in references/content-philosophy.md: all user-facing content uses the Phase 0-confirmed language; code syntax and technical identifiers stay unchanged

Why this matters

Without this step, the skill defaults to English regardless of the user’s language preference — a poor experience for non-English speakers.

Test plan

  • Trigger the skill with a repo URL; confirm language prompt appears before analysis begins
  • Choose 中文; verify all module text, code translations, quizzes, and animations render in Chinese
  • Choose English; verify English content renders correctly

Generated with Claude Code

Before analyzing the codebase, the skill now asks the user to
confirm scope (full codebase vs. specific area) and course language
(English / 中文 / Other). Language affects all user-facing content
including module text, code translations, quizzes, and animations.

Code syntax, function names, and technical identifiers are preserved
as-is — only explanatory text is localized.
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.

1 participant