feat(skill): 上架中文编辑 zh-editor 1.0.0 (#336)

新增可选安装的中文编辑技能及中英文目录信息。
This commit is contained in:
yige authored and GitHub committed 2026-11-23 01:01:03 +08:00
1 parent dc05a96efc
commit 28763ca9ff
6 files changed
+200 -2

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 DesireCore
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+51
View File
@@ -0,0 +1,51 @@
---
name: zh-editor
description: 润色或审阅已有中文稿件和译稿,理顺句子并保留作者语气、事实和限定条件。Edit existing Chinese drafts and translations.
license: MIT
version: 1.0.0
type: procedural
risk_level: low
status: enabled
disable-model-invocation: true
tags:
- writing
- editing
- chinese
metadata:
author: desirecore
updated_at: '2026-11-22'
i18n:
default_locale: en-US
source_locale: zh-CN
locales:
- zh-CN
- en-US
zh-CN:
name: 中文编辑
short_desc: 润色中文稿和译稿,理顺句子,保留作者语气、事实与限定条件
description: 适合文章、邮件、公告和文档正文。轻改翻译腔和套话,核对责任主体、审批条件、范围和承诺。需要时查阅中文改写示例。
body: ./SKILL.zh-CN.md
en-US:
name: Chinese Editing
short_desc: Polish Chinese drafts and translations while preserving author voice, facts, and conditions
description: Edit articles, emails, announcements, and document prose. Smooth awkward phrasing while keeping responsibilities, approval conditions, scope, and commitments intact. Consult Chinese examples for tricky passages.
body: ./SKILL.md
source_hash: sha256:589cad5f4969e318
market:
category: creative
maintainer:
name: DesireCore Official
verified: true
channel: latest
---
# Chinese Editing
Identify the audience, purpose, and passages the user wants edited. By default, change only awkward, repetitive, or empty wording. When the user asks for a final or copy-ready draft, start with its first sentence and end with its last.
- **Preserve fact-bearing phrases.** Keep a person, role qualifier, and count together in the original wording. For example, retain “two on-site colleagues” in full even if the draft already mentions that they are on-site. Keep times, scope, negation, attribution, completion status, and certainty aligned with the source. “Maintenance may proceed only after the person in charge confirms” can become “Wait for the person in charge to confirm before carrying out the maintenance.” “The maintenance time is pending confirmation” changes the condition. Keep the original wording if an equivalent rewrite is unclear.
- **Work with Chinese sentence patterns.** Connect each sentence through a topic the reader already knows. Omit an unnecessary pronoun when the subject is clear, and name the known actor when the subject changes or responsibility could be confused. Split hard-to-read modifiers and use direct verbs. For example, shorten “审批通过后对座位表进行更新” to “审批通过后更新座位表.”
- **Fit the genre.** Cut setup without independent information, repetition, and unsupported emphasis. Keep useful connectors, terminology, and distinct points in lists. Maintain the formality and courtesy the genre calls for, as well as the script and regional usage. Use author samples to match syntax, diction, and rhythm.
- **Check the draft before delivery.** Check which action each condition governs. Use only reasons, experiences, plans, and commitments supplied by the source, including any promise to notify readers or investigate. State facts separately when the source gives no relationship. Remove “Here is the draft,” change notes, and invitations for follow-up from a final draft. For review, identify the passage and give advice only. Write back to files only when requested, preserving quotes, code, link destinations, data, and heading anchors.
When tone, responsibility, or conditions are difficult to resolve, consult the relevant [Chinese examples](references/examples.md).
+12
View File
@@ -0,0 +1,12 @@
<!-- locale: zh-CN -->
# 中文编辑
先看稿件写给谁、用在哪、用户要改哪些地方。默认只动拗口、重复或空泛的片段。用户要成稿或可直接复制的文字时,回复从正文第一句开始,到正文最后一句结束。
- **保住事实词组。** 人、角色限定和数量作为一个词组原样保留,如「两位驻场同事」即使前面提过驻场也保留。原有时间、范围、否定、归因、完成状态和把握程度要对齐。「负责人确认后方可维护」可写成「等负责人确认后才能维护」。「维护时间待确认」改变了条件。拿不准就沿用原句。
- **按中文理句子。** 用读者已知的话题接下一句。主体清楚可省代词,换主体或责任易混时点明已知主体。拆开难读的长定语,把「审批通过后对座位表进行更新」改成「审批通过后更新座位表」。
- **按文体取舍。** 删掉没有独立信息的铺垫、复述和无依据的拔高。有用的连接词、术语和并列项照留。保持文体需要的正式程度、礼貌、繁简和地区用语。作者样文只用来校准句法、用词和节奏。
- **对照原稿交付。** 逐句核对条件约束的动作。材料没给的理由、经历、计划或承诺不写进稿件,包括「会再通知」和「会顺带排查」。原稿没交代关系的事实分开陈述。成稿里去掉「以下是成稿」、改动说明和邀约。审阅只给位置和建议。仅在用户要求修改文件时写回,保护引文、代码、链接目标、数据和标题锚点。
遇到语气、责任或条件难拿捏的稿件,按需读[改写对照](references/examples.md)中的相关例子。
+75
View File
@@ -0,0 +1,75 @@
{
"$schema": "../../schemas/catalog-metadata.v1.schema.json",
"schemaVersion": 1,
"identity": {
"kind": "skill",
"id": "zh-editor"
},
"presentation": {
"defaultLocale": "en-US",
"i18n": {
"en-US": {
"name": "Chinese Editing",
"summary": "Polish Chinese drafts and translations while preserving author voice, facts, and conditions",
"description": "Edit articles, emails, announcements, and document prose. Smooth awkward phrasing while keeping responsibilities, approval conditions, scope, and commitments intact. Consult Chinese examples for tricky passages."
},
"zh-CN": {
"name": "中文编辑",
"summary": "润色中文稿和译稿,理顺句子,保留作者语气、事实与限定条件",
"description": "适合文章、邮件、公告和文档正文。轻改翻译腔和套话,核对责任主体、审批条件、范围和承诺。需要时查阅中文改写示例。"
}
},
"category": "creative",
"tags": [
"writing",
"editing",
"chinese"
]
},
"release": {
"state": "known",
"version": "1.0.0",
"versionScheme": "semver"
},
"timestamps": {
"catalogUpdatedAt": {
"state": "known",
"value": "2026-11-22",
"precision": "day"
},
"releasePublishedAt": {
"state": "unknown"
},
"reviewedAt": {
"state": "unknown"
},
"upstreamObservedAt": {
"state": "unknown"
}
},
"provenance": {},
"governance": {
"stewardship": "official",
"availability": "installable",
"license": {
"state": "known",
"value": "MIT",
"evidencePath": "LICENSE"
},
"redistribution": "allowed",
"listingMaintainer": {
"name": "DesireCore Official",
"verified": true
}
},
"compatibility": {
"platforms": {
"state": "unknown"
}
},
"spec": {
"kind": "skill",
"riskLevel": "low",
"skillType": "procedural"
}
}
+39
View File
@@ -0,0 +1,39 @@
# 中文改写对照
## 公告写给受影响的人
> 为了给大家带来更好的体验,团队拟于周六 22:00 至 23:00 进行维护。届时只有导出暂停,已生成的文件仍可下载。
可改为「团队拟于周六 22:00 至 23:00 维护。期间仅暂停导出,已生成的文件仍可下载。」
把时间和影响说清,保留「拟」和「仅」。
## 主体不明,沿用中文省略
> 已通知仓库,数量确认后方可发货。
可以原样保留。「仓库」是通知对象,谁确认数量或负责发货仍需原文交代。
## 技术判断要保留来源和把握程度
> 收到了两位试用者关于卡顿的反馈。值班工程师认为可能与缓存有关,尚未复现。
可改为「两位试用者反馈出现了卡顿。值班工程师认为,卡顿可能与缓存有关。目前尚未复现。」
拆句后仍让推测归值班工程师。「尚未复现」也保留在成稿里。
## 长定语拆开,条件跟着动作走
> 对已登记且经班组长复核的设备进行贴标。未完成复核的设备不得入库。
可改为「设备登记并经班组长复核后再贴标。未完成复核的设备不得入库。」
登记和复核是贴标的两个条件。第二句只约束入库前的复核。
## 正式文字要准确,个人文字要有原来的口气
「买方书面确认样品后,供应商方可安排生产。」可照留。「方可」把买方书面确认列为安排生产的前置条件。
「我本来想把入口藏到设置里。同事第三次问去哪点,我就把按钮挪回来了。」可照留。作者已经给了细节和节奏,保留这两句即可。
编辑边界参考 [Humanizer-zh](https://github.com/op7418/Humanizer-zh/blob/main/SKILL.md)。