技能和代码风格贡献

工程开发 社区

技能解读

当前原文的自动摘译,尚未人工审校。

1. 通过提案创建问题

欢迎大家踊跃投稿!在创建新提案之前,请检查当前提案列表。这些建议稍后将在代码改进会议上与套件团队成员讨论。一旦我们就首选解决方案达成一致,添加提案的人员将负责对代码库实施任何相关更改和/或在本指南中记录决策。

2. 创建拉取请求

使用建议的代码样式更改创建拉取请求,以便我们可以直接在 PR 中进行讨论。对于不需要太多讨论并且没有那么有争议的较小更改来说,这是一个不错的选择。对于较大的更改,我们建议首先创建一个问题,以便在实施之前进行更有针对性的讨论。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
工程开发
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@trezor · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Skills and Code Style Contribution

## How to Contribute

You have two options for contributing to the code style guide:

### 1. Create an Issue with a Proposal

Everyone is welcome to make contributions! Check the list of [current proposals](https://github.com/trezor/trezor-suite/issues?q=is%3Aissue%20state%3Aopen%20label%3Aproposal) before you [create a new one](https://github.com/trezor/trezor-suite/issues/new?template=08_code_improvement_proposal.md). These proposals shall later be discussed at the Code Improvements meetings with members of the Suite team. Once we agree on a preferred solution, the person who added the proposal is responsible for implementing any related changes to the codebase and/or documenting the decision in this guide.

### 2. Create a Pull Request

Create a pull request with the proposed code style change so we can have a discussion directly in the PR. This is a good option for smaller changes that don't require much discussion and are not that controversial. For larger changes, we recommend creating an issue first to have a more focused discussion before implementation.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。