label-schemes

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Label Schemes

标签方案

Naming Conventions

命名规范

Consistent prefixes make labels scannable and filterable.
bash
undefined
统一的前缀可让标签更易于快速识别和筛选。
bash
undefined

Type

Type

tea labels create --name "type:bug" --color "#d73a4a" --description "Something isn't working" tea labels create --name "type:feature" --color "#a2eeef" --description "New feature or request" tea labels create --name "type:docs" --color "#0075ca" --description "Documentation" tea labels create --name "type:chore" --color "#e4e669" --description "Maintenance" tea labels create --name "type:refactor" --color "#d4c5f9" --description "Code restructuring"
tea labels create --name "type:bug" --color "#d73a4a" --description "Something isn't working" tea labels create --name "type:feature" --color "#a2eeef" --description "New feature or request" tea labels create --name "type:docs" --color "#0075ca" --description "Documentation" tea labels create --name "type:chore" --color "#e4e669" --description "Maintenance" tea labels create --name "type:refactor" --color "#d4c5f9" --description "Code restructuring"

Priority

Priority

tea labels create --name "priority:critical" --color "#b60205" tea labels create --name "priority:high" --color "#d93f0b" tea labels create --name "priority:medium" --color "#fbca04" tea labels create --name "priority:low" --color "#0e8a16"
tea labels create --name "priority:critical" --color "#b60205" tea labels create --name "priority:high" --color "#d93f0b" tea labels create --name "priority:medium" --color "#fbca04" tea labels create --name "priority:low" --color "#0e8a16"

Status

Status

tea labels create --name "status:blocked" --color "#000000" tea labels create --name "status:in-progress" --color "#1d76db" tea labels create --name "status:needs-review" --color "#5319e7"
tea labels create --name "status:blocked" --color "#000000" tea labels create --name "status:in-progress" --color "#1d76db" tea labels create --name "status:needs-review" --color "#5319e7"

Scope

Scope

tea labels create --name "scope:frontend" --color "#bfd4f2" tea labels create --name "scope:backend" --color "#c2e0c6" tea labels create --name "scope:api" --color "#d4c5f9"
undefined
tea labels create --name "scope:frontend" --color "#bfd4f2" tea labels create --name "scope:backend" --color "#c2e0c6" tea labels create --name "scope:api" --color "#d4c5f9"
undefined

Export / Import

导出/导入

bash
tea labels list --output json > labels.json
tea labels create --file labels.csv
bash
tea labels list --output json > labels.json
tea labels create --file labels.csv

Bulk Operations

批量操作

Use
tea labels list --output json
when parsing is necessary, then apply
tea labels update
,
tea labels delete
, or
tea issues edit
to the selected IDs/issues.
如需解析,请使用
tea labels list --output json
,然后对选定的ID/issue执行
tea labels update
、
tea labels delete
或
tea issues edit
操作。

Organization-Level Labels

组织级标签

For organization-level label actions, see
actions/org-labels/README.md
.
When resolving
actions/...
paths, use the
actions/
directory bundled relative to this skill directory.
有关组织级标签的操作,请参阅
actions/org-labels/README.md
。
解析
actions/...
路径时,请使用随此skill目录一同提供的
actions/
目录,路径以skill目录为基准。