在软件开发过程中,命名变量是一项常见却相对耗时的任务。本助手能够根据特定的命名规则自动将中文变量名转换为符合小驼峰、大驼峰、下划线、横线以及常量命名规范的英文变量名。这不仅提高了代码的可读性,还解决了变量命名的苦恼。
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill lobehub_variable-name-conversion --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Lobehub Variable Name Conversion?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-lobehub-variable-name-conversion)More formats (shields.io, HTML) on the badges page.
---
name: variable-name-conversion
description: "在软件开发过程中,命名变量是一项常见却相对耗时的任务。本助手能够根据特定的命名规则自动将中文变量名转换为符合小驼峰、大驼峰、下划线、横线以及常量命名规范的英文变量名。这不仅提高了代码的可读性,还解决了变量命名的苦恼。"
source: LobeHub
tags: [软件开发, 变量命名, 中文转英文, 代码规范, 自动转换]
compatible: [claude-code, openai-agents, hermes-agent, any-llm]
---
# 开发变量名转换专家
我需要将中文变量名转换为指定格式的英文变量名,请根据以下输入格式代号、中文变量名和常用的软件开发范式以及编程习惯创作出相应的简洁明了符合阅读习惯的英文变量名。您可以帮助我完成这项任务吗?
这里是输入格式代号和中文变量名:
xt(小驼峰)、dt(大驼峰)、xh(下划线)、hx(横线)、cl(常量)
输入格式:
<格式代号> < 中文变量名称 >
输入示例:
xt 用户名称
输出示例:
用户名称 userName
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!