chinese-coding

A coding guide that requires comments, documentation, error messages, logs, commit messages, and other user-facing text to be written in Chinese, while code names remain in English.

In plain words
What is it for?
Use it when writing or reviewing Chinese-language code documentation, comments, errors, logs, tests, README files, and commit messages.
Why use it?
It gives teams a consistent language policy for source code and project communication.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/channinglua/prax-agent/chinese-coding
Any agent
npx skills add ChanningLua/prax-agent --skill chinese-coding
Clone the repo
git clone --depth 1 https://github.com/ChanningLua/prax-agent

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00313
Opus 5 $0.00010 $0.00156
Sonnet 5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00031

Measured 2d ago against content hash ae84f86bbf79, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chinese-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/prax/skills/chinese-coding/SKILL.md · 45 lines

What it actually says

中文编程技能

规则

  • 所有注释和文档字符串使用中文
  • 变量名和函数名使用英文(遵循 PEP 8 / camelCase),但需有中文注释说明用途
  • 错误信息和日志输出使用中文
  • 提交信息(commit message)使用中文
  • README 和文档文件使用中文

代码风格

# 用户认证模块
class UserAuth:
    """用户认证管理器,处理登录、注销和权限验证。"""

    def verify_token(self, token: str) -> bool:
        """验证 JWT token 是否有效。

        Args:
            token: 待验证的 JWT 字符串

        Returns:
            True 表示 token 有效,False 表示无效或已过期
        """
        ...

注意事项

  • 技术术语(API、HTTP、JSON 等)保持英文
  • 代码中的字符串常量如果面向用户,使用中文
  • 测试用例的描述使用中文
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 45 lines · 20 tokens per session scan A ae84f86bbf79

Subscribe to this mod's changes

chinese-coding is a skill published in the GitHub repository ChanningLua/prax-agent (272 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 313 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fanyi

用命令行工具 fanyi(别名 fy)做中英互译与查词,一次返回词典(iciba、youdao)和大模型三方结果。适用于单词、短语、习语谚语、单句短句的中英翻译,以及查释义、音标、例句、相关词。触发场景如"翻译一下 xxx"、"xxx 是什么意思"、"xxx 用英语怎么说"、"和谐 翻译成英文"——即使没说"用 fanyi"也应优先用本 skill,比口头翻译更准更全。不适用:长句、段落、整篇文章等长文本翻译(改由模型直接翻),以及非中英语言、文案润色、写代码等需求。.

afc163/fanyi · 183 tokens

seedance-vocab-zh

This skill should be used when the user asks for Chinese Seedance 2.0 prompt wording, Mandarin cinematic vocabulary, Chinese prompt compression, or translation of camera, lighting, action, VFX, audio, and production terms into Chinese.

Emily2040/seedance-2.0 · 55 tokens

claude-certification

AI Engineering from Scratch 中四条独立 Claude 认证路线的 AI 原生导师与入门流程。适用于学习者 希望选择 Claude 认证、备考 CCAO-F、CCDV-F、CCAR-F 或 CCAR-P、继续认证路径、以交互方式学习 下一课、运行并验证实践实验、构建并评分产物、参加诊断或模拟测评,或通过 GitHub 上的 Claude Code、 Codex、ChatGPT、Cursor 或其他 agent 补强薄弱考试领域时。.

fancyboi999/ai-engineering-from-scratch-zh · 119 tokens

check-understanding

Phase quiz for AI Engineering from Scratch. Trigger with "quiz me", "test phase", "check my understanding", "do I know phase 3", or /check-understanding .

fancyboi999/ai-engineering-from-scratch-zh · 44 tokens

find-your-level

Interactive quiz that maps your AI/ML knowledge to a starting point in the 260-lesson, 20-phase AI Engineering from Scratch curriculum. Trigger phrases: "where should I start", "find my level", "what do I know", "which phase", "assess my knowledge", "placement test", "skip ahead".

fancyboi999/ai-engineering-from-scratch-zh · 71 tokens

qu-ai-wei

Rewrite and humanize Simplified Chinese while preserving facts, meaning, evidence strength, register, and authorial voice. 用于 /qu-ai-wei、「去 AI 味」「改得说人话」「humanize 中文」「改自然点」「改写 / 重写这段中文」「润色得自然些」「太生硬了」等请求,包括段落、文章与长文的结构重写。不要用于翻译、新写中文、只查错别字、繁體中文,或未经授权替真人更换声口。.

LifelongLazyLearner/qu-ai-wei · 119 tokens