Skip to content
Back to skills

代码生成使用英文引号

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill '代码生成使用英文引号' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 代码生成使用英文引号?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 代码生成使用英文引号
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-meta-skill-evloving-7c3e2c70/badge)](https://www.skillsdirectory.com/skills/david-li0406-meta-skill-evloving-7c3e2c70)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "b27cea5e-4ceb-4213-a911-9dadc73ccfc1"
name: "代码生成使用英文引号"
description: "在编写或修改代码时,强制使用标准的英文引号(ASCII字符),避免使用中文引号或智能引号导致的语法错误。"
version: "0.1.0"
tags:
  - "代码规范"
  - "引号"
  - "ASCII"
  - "编程"
  - "格式"
triggers:
  - "写代码"
  - "修改代码"
  - "保持英文引号"
  - "代码格式"
  - "生成代码"
---

# 代码生成使用英文引号

在编写或修改代码时,强制使用标准的英文引号(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

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…