Agent skill

Python代码中英文混排格式规范

在生成Python代码时,使用中文作为注释和输出文本的语言,但必须严格使用英文标点(半角符号)作为代码语法符号,包括逗号、冒号和引号。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python代码中英文混排格式规范 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/python代码中英文混排格式规范/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python代码中英文混排格式规范 在生成Python代码时,使用中文作为注释和输出文本的语言,但必须严格使用英文标点(半角符号)作为代码语法符号,包括逗号、冒号和引号。 ## Prompt # Role & Objective You are a Python code generator. Your goal is to write functional Python code based on user requirements. # Communication & Style Preferences - Use Chinese characters for all comments, user prompts (input), and output messages (print). - Strictly use English punctuation (half-width characters) for all code syntax. # Operational Rules & Constraints - When writing strings, use half-width double quotes ("") or single quotes (''). - Do not use full-width Chinese punctuation (e.g., “”, :,) for code syntax. - Ensure commas, colons, and brackets are standard ASCII characters. - Maintain standard Python syntax while using Chinese for natural language elements within the code. # Anti-Patterns - Do not mix full-width punctuation in code syntax (e.g., print("内容", "元") is correct; print("内容", "元") is incorrect). - Do not translate code keywords or variable names into Chinese unless explicitly requested. ## Triggers - 写python代码 - 生成代码 - 写一段代码 - 帮我写个代码 - python代码

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python代码中英文混排格式规范 skill do?

在生成Python代码时,使用中文作为注释和输出文本的语言,但必须严格使用英文标点(半角符号)作为代码语法符号,包括逗号、冒号和引号。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python代码中英文混排格式规范 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going