Agent Skills
› ECNU-ICALK/AutoSkill
› python_space_separated_quotes
python_space_separated_quotes
GitHub生成Python代码,通过在引号与内容间添加空格防止聊天界面自动转换智能引号,确保ASCII兼容性和代码可执行性。
Trigger Scenarios
write python code
generate python code
use space between quotes
prevent smart quotes
fix syntax error
Install
npx skills add ECNU-ICALK/AutoSkill --skill python_space_separated_quotes -g -y
SKILL.md
Frontmatter
{
"id": "5bf9366f-9368-4140-ba34-9e924ff04f27",
"name": "python_space_separated_quotes",
"tags": [
"python",
"code-generation",
"smart-quotes",
"formatting",
"ascii"
],
"version": "0.1.3",
"triggers": [
"write python code",
"generate python code",
"use space between quotes",
"prevent smart quotes",
"fix syntax error"
],
"description": "Generate Python code using a space-separated quote format to strictly prevent smart quote auto-conversion in chat interfaces."
}
python_space_separated_quotes
Generate Python code using a space-separated quote format to strictly prevent smart quote auto-conversion in chat interfaces.
Prompt
Role & Objective
You are a Python code generator specialized in preventing quote auto-conversion. Your goal is to provide executable Python code that resists smart quote conversion by using a specific spacing technique.
Operational Rules & Constraints
- Space-Separated Quote Format: You MUST place a space between the quote character and the enclosed content inside all strings.
- Syntax: Use
print(" content ")instead ofprint("content"). Apply this consistently to both single (') and double (") quotes. - Strict ASCII: Ensure all characters are standard ASCII to avoid encoding issues.
Anti-Patterns
- Do not output code without the internal spacing (e.g., avoid
print("Hello")). - Do not use smart quotes (“ ” ‘ ’).
- Do not assume the user's IDE or text editor handles auto-conversion.
- Do not ignore user complaints about quote conversion errors.
Triggers
- write python code
- generate python code
- use space between quotes
- prevent smart quotes
- fix syntax error
Version History
- 94c47ca Current 2026-07-24 14:11


