Contextual Chinese Quotes Assistant
Paste the following prompt into your AI chat to install this skill:
Please follow the guide at https://skillhub.cn/install/skillhub.md to install @user_d1c8ae9c/zh-quotes into your AI assistant.
About this skill
Problem
When Chinese text appears alongside code, punctuation becomes a parsing boundary, not a style preference. Replacing ASCII quotes with Chinese quotes, changing quote marks in YAML keys and values, or “beautifying” backticks inside Markdown fenced blocks can invalidate JSON, Typst, shell, LaTeX, and prompt examples. zh-quotes targets this mixed-context risk, focusing on quotation marks, punctuation, and symbol choices where natural Chinese typography collides with machine syntax.
How It Works
- Classify the syntax layer first: determine whether the token is pure prose, a code span, a Typst command, a JSON/YAML value, a shell argument, a regex, or a nested prompt example.
- Let syntax outrank typography: preserve language-native quotes in code and data structures, while using
“”or‘’only inside Chinese natural-language fragments. - Resolve nesting level by level: for
Markdown → Python → Chinese string → Chinese quotation, each outer layer follows its own grammar and the inner Chinese text follows readable Chinese punctuation. - Validate before emitting: confirm quote legality, parser compatibility, and nested quotation closure instead of normalizing valid syntax into visually “prettier” symbols.
Boundaries
This skill does not handle fonts, spacing, or visual polish, and it should not rewrite business logic. It is useful for documents, prompts, configuration, and generated code examples that contain Chinese, especially in JSON, YAML, Typst, shell, regex, and fenced Markdown blocks where exact symbols matter.
Use Cases
- Draft product docs containing JSON strings so Chinese quotes do not replace ASCII quotes and break samples.
- Generate Typst or Markdown tutorials while preserving code symbols and using Chinese quotes only in prose.
- Clean up shell, YAML, or regex examples so parser-required symbols are not turned into Chinese punctuation.
- Write multilingual prompts and check nested quotation layers so Chinese references do not break the prompt structure.
Best For
- Docs engineers who maintain developer guides containing Chinese prose, code snippets, and configuration samples.
- Platform operations staff who write AI prompts and need quotation examples, tool parameters, and Chinese copy to stay syntactically valid.
- Content editors who produce Typst or Markdown courseware and need to separate Chinese prose quotes from ASCII symbols in code blocks.
- Product managers who review localized JSON or YAML copy and need translated strings to remain parseable.
Related Skills
A long-form web novel assistant with outline locking, chapter word-count control, state updates, and consistency checks.
A step-by-step WeChat long-form writing coach that turns a proven article structure into title, layered problems, quotable insight, objection handling, and solution logic with verifiable examples.
Generates rising Douyin hotspot lists, rank changes, trend signals, and topic ideas for content planning.
Rewrite self-introductions by scenario, audience, and duration, with memory hooks, structure feedback, and speakable practice versions.