Skip to content

Commit 88054de

Browse files
zdocappdowithless
andauthored
docs: Add Chinese (zh-CN) translations for all documentation
* docs: add Chinese versions docs * update --------- Co-authored-by: neo <neo.dowithless@gmail.com>
1 parent 1ce3a98 commit 88054de

File tree

83 files changed

+21816
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+21816
-0
lines changed

docs/zh-CN/CONTRIBUTING.md

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
# 为 Everything Claude Code 做贡献
2+
3+
感谢您希望做出贡献。这个仓库旨在成为 Claude Code 用户的社区资源。
4+
5+
## 我们寻找什么
6+
7+
### 智能体
8+
9+
能够很好地处理特定任务的新智能体:
10+
11+
* 语言特定的审查员(Python、Go、Rust)
12+
* 框架专家(Django、Rails、Laravel、Spring)
13+
* DevOps 专家(Kubernetes、Terraform、CI/CD)
14+
* 领域专家(ML 流水线、数据工程、移动端)
15+
16+
### 技能
17+
18+
工作流定义和领域知识:
19+
20+
* 语言最佳实践
21+
* 框架模式
22+
* 测试策略
23+
* 架构指南
24+
* 领域特定知识
25+
26+
### 命令
27+
28+
调用有用工作流的斜杠命令:
29+
30+
* 部署命令
31+
* 测试命令
32+
* 文档命令
33+
* 代码生成命令
34+
35+
### 钩子
36+
37+
有用的自动化:
38+
39+
* 代码检查/格式化钩子
40+
* 安全检查
41+
* 验证钩子
42+
* 通知钩子
43+
44+
### 规则
45+
46+
始终遵循的指导原则:
47+
48+
* 安全规则
49+
* 代码风格规则
50+
* 测试要求
51+
* 命名约定
52+
53+
### MCP 配置
54+
55+
新的或改进的 MCP 服务器配置:
56+
57+
* 数据库集成
58+
* 云提供商 MCP
59+
* 监控工具
60+
* 通讯工具
61+
62+
***
63+
64+
## 如何贡献
65+
66+
### 1. Fork 仓库
67+
68+
```bash
69+
git clone https://github.com/YOUR_USERNAME/everything-claude-code.git
70+
cd everything-claude-code
71+
```
72+
73+
### 2. 创建一个分支
74+
75+
```bash
76+
git checkout -b add-python-reviewer
77+
```
78+
79+
### 3. 添加您的贡献
80+
81+
将文件放在适当的目录中:
82+
83+
* `agents/` 用于新的智能体
84+
* `skills/` 用于技能(可以是单个 .md 文件或目录)
85+
* `commands/` 用于斜杠命令
86+
* `rules/` 用于规则文件
87+
* `hooks/` 用于钩子配置
88+
* `mcp-configs/` 用于 MCP 服务器配置
89+
90+
### 4. 遵循格式
91+
92+
**智能体** 应包含 frontmatter:
93+
94+
```markdown
95+
---
96+
name: agent-name
97+
description: What it does
98+
tools: Read, Grep, Glob, Bash
99+
model: sonnet
100+
---
101+
102+
Instructions here...
103+
```
104+
105+
**技能** 应清晰且可操作:
106+
107+
```markdown
108+
# Skill Name
109+
110+
## When to Use
111+
112+
...
113+
114+
## How It Works
115+
116+
...
117+
118+
## Examples
119+
120+
...
121+
```
122+
123+
**命令** 应解释其功能:
124+
125+
```markdown
126+
---
127+
description: Brief description of command
128+
---
129+
130+
# Command Name
131+
132+
Detailed instructions...
133+
```
134+
135+
**钩子** 应包含描述:
136+
137+
```json
138+
{
139+
"matcher": "...",
140+
"hooks": [...],
141+
"description": "What this hook does"
142+
}
143+
```
144+
145+
### 5. 测试您的贡献
146+
147+
在提交之前,请确保您的配置能在 Claude Code 中正常工作。
148+
149+
### 6. 提交 PR
150+
151+
```bash
152+
git add .
153+
git commit -m "Add Python code reviewer agent"
154+
git push origin add-python-reviewer
155+
```
156+
157+
然后提交一个 PR,包含以下内容:
158+
159+
* 您添加了什么
160+
* 为什么它有用
161+
* 您是如何测试的
162+
163+
***
164+
165+
## 指导原则
166+
167+
### 应该做的
168+
169+
* 保持配置专注且模块化
170+
* 包含清晰的描述
171+
* 提交前进行测试
172+
* 遵循现有模式
173+
* 记录任何依赖项
174+
175+
### 不应该做的
176+
177+
* 包含敏感数据(API 密钥、令牌、路径)
178+
* 添加过于复杂或小众的配置
179+
* 提交未经测试的配置
180+
* 创建重复的功能
181+
* 添加需要特定付费服务且没有替代方案的配置
182+
183+
***
184+
185+
## 文件命名
186+
187+
* 使用小写字母和连字符:`python-reviewer.md`
188+
* 要有描述性:`tdd-workflow.md` 而不是 `workflow.md`
189+
* 确保智能体/技能名称与文件名匹配
190+
191+
***
192+
193+
## 有问题吗?
194+
195+
请提出问题或在 X 上联系我们:[@affaanmustafa](https://x.com/affaanmustafa)
196+
197+
***
198+
199+
感谢您的贡献。让我们共同构建一个优秀的资源。

0 commit comments

Comments
 (0)