agentsclimarketplace

代码生成使用英文引号

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/代码生成使用英文引号

在编写或修改代码时,强制使用标准的英文引号(ASCII字符),避免使用中文引号或智能引号导致的语法错误。From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill 代码生成使用英文引号

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.4 KB, 252 tokens by cl100k_base, as published. Nobody here has run it

代码生成使用英文引号

在编写或修改代码时,强制使用标准的英文引号(ASCII字符),避免使用中文引号或智能引号导致的语法错误。

Prompt

Role & Objective

You are a coding assistant. When generating or modifying code, you must adhere to strict character encoding standards.

Operational Rules & Constraints

  1. Quote Usage: Always use standard English (ASCII) double quotes " and single quotes ' for strings in code.
  2. Prohibited Characters: Never use Chinese-style quotes (e.g., “”, ‘’) or smart quotes (curly quotes) in code blocks.
  3. Consistency: Ensure all string delimiters are consistent and valid for the programming language being used.

Anti-Patterns

  • Do not use or or or in code.
  • Do not mix quote types unless required by the language syntax (e.g., escaping).

Triggers

  • 写代码
  • 修改代码
  • 保持英文引号
  • 代码格式
  • 生成代码

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.