返回 CodeWhale
contribution.yml
根目录 / .github / ISSUE_TEMPLATE / contribution.yml
1 name: Contribution
2 description: Share a design, a reproduction, a translation, or a branch or patch. 贡献方案、复现、翻译、分支或补丁。
3 labels: ["contribution", "needs-triage"]
4 body:
5 - type: markdown
6 attributes:
7 value: |
8 Thank you for contributing. English or 中文 are both fine. Short is good, and rough is fine.
9
10 A maintainer reads this, brings accepted work up to date with `main`, runs the Linux, macOS and Windows checks and writes the changelog entry. You are credited as the commit's author when your change lands, or as co-author when it is adapted or rebuilt from your idea, and you get a note saying what was kept, adapted or left out. [How contributions land](https://github.com/codewhale-hq/CodeWhale/blob/main/CONTRIBUTING.md#how-your-contribution-lands).
11
12 - This form is for everything in this repository: code, docs, translations, website, providers.
13 - Plugin catalog entries go to [codewhale-plugin-marketplace](https://github.com/codewhale-hq/codewhale-plugin-marketplace).
14 - Security problem? Do not post it here. Use a [private advisory](https://github.com/codewhale-hq/CodeWhale/security/advisories/new).
15
16 - type: dropdown
17 id: kind
18 attributes:
19 label: What are you sharing? 贡献类型
20 options:
21 - A branch, commit or patch
22 - A design or specification
23 - A reproduction or failing test
24 - A platform, provider or reliability audit
25 - A translation or docs change
26 validations:
27 required: true
28
29 - type: textarea
30 id: summary
31 attributes:
32 label: What should change, and how do we know it works? 目标行为与完成标准
33 description: What changes for the person using Codewhale, why it matters, and what "done" looks like. Link the issue if there is one.
34 validations:
35 required: true
36
37 - type: textarea
38 id: reference
39 attributes:
40 label: Branch, commit or patch (optional) 参考分支、提交或补丁(可选)
41 description: A link to a branch or commit on your fork, a gist, or a pasted diff. It does not need to be rebased or finished. Name anyone else whose commits are in the branch, so they are credited too.
42 placeholder: "https://github.com/<you>/CodeWhale/tree/<branch>"
43
44 - type: textarea
45 id: edge_cases
46 attributes:
47 label: Edge cases and what you tested (optional) 边界情况与本地验证(可选)
48 description: Cases your design or branch handles on purpose, the OS, terminal or model you used, and the commands you ran.
49
50 - type: dropdown
51 id: surface
52 attributes:
53 label: Where? 涉及范围
54 multiple: true
55 options:
56 - TUI (terminal interface)
57 - CLI command (codewhale exec, ...)
58 - Engine, turn loop or subagents
59 - Sandbox, permissions or hooks
60 - Plugins or plugin host
61 - MCP
62 - Providers and models
63 - State, sessions or persistence
64 - Docs, translations or website
65 - Other / not sure
66 validations:
67 required: true
68
69 - type: checkboxes
70 id: terms
71 attributes:
72 label: License 许可
73 options:
74 - label: I wrote this or may submit it, and I contribute it, including any linked branch or pasted patch, under the MIT License. 我有权提交此内容并按 MIT 协议贡献。
75 required: true
76
76 lines YAML