本技能介绍如何使用命令行`gh`只读查看GitHub issue正文和评论,支持通过编号或URL定位,也可指定其他仓库,并说明如何提取大量评论。
- 查看issue正文和评论
- 通过URL读取issue
- 查看其他仓库的issue
按照 Carbon 项目的模板和规范编写、提交及管理语言演进提案,结合项目目标说明方案取舍,并根据主议题整理已确定的讨论,同时保持提案摘要与拉取请求说明一致。
Instructions for writing, submitting, and managing Carbon evolution proposals.
实测评分 未实测
查看安装方法指导 Carbon 语言演进提案的编写、提交和管理。创建新提案时,会确认指定标题,并通过辅助脚本生成模板。之后按照现有提案的写法以及项目目标和原则组织内容。提案会说明各个备选方案的优点、缺点和未被采纳的原因,并确保提案摘要与拉取请求说明一致。如果要把已有讨论整理成正式提案,会参考主议题、评论和相关资料记录决策内容,使提案本身也能独立阅读。
适合提出 Carbon 语言规范或设计变更,或将讨论中已经确定的决策整理成文档。需要比较不同选择,并说明决策与项目目标之间的联系时也可以使用。
只有在收到明确要求时才创建提案。将拉取请求设为可供评审之前,应先让用户有机会审阅提案。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
This skill provides instructions and best practices for working with proposals. Only create a proposal when explicitly directed as part of the task.
Make sure to confirm the desired title for the proposal as that will govern the filename.
./proposals/scripts/new_proposal.py "Title"
to create a templated file and instructions for setting up the PR.proposals/p######-title.md,
where ###### is the 6-digit GitHub pull request number and title is a
slugified version of the proposal title.proposals/scripts/template.md,
noting the specific TODO instructions in each section for the content that
should be included there.[!IMPORTANT] Do not mark the PR ready for review. The user must have the opportunity to review the proposal produced before asking for any review.
/docs/project/goals.md and principles in
/docs/project/principles (e.g.,
error_handling.md, one_way.md).> **TODO:** Document ... adopted in [p######](/proposals/p######-title.md)). For pervasive changes, file a
GitHub issue instead of adding many TODOs.There are always alternatives to a proposal, and the proposal should carefully include sections describing all of them and the rationale for not selecting them. Any living design document updates should focus on fully describing the end-state design, and the key motivating aspects of that design. The main proposal should focus on what is changing and why it is changing, and should leave detailed description of the resulting design to the living design document, and why not rationale to the description of each alternative.
[!IMPORTANT] Don't just list the alternatives, create a sub-section for each alternative and carefully describe the alternative, the advantages, disadvantages and what the core of the decision is to reject each alternative.
[!IMPORTANT] Carefully research each alternative in the leads issue in order to provide this clear and comprehensive explanation.
Sometimes a proposal is specifically documenting and formalizing a decided leads issue. When this is the case, carefully research that leads issue, reading the original issue text and every comment on the issue. Also read any linked Google documents, linked issues, examples, gists, or other supplemental information cited.
Use the gh command line tool to query leads issues in order to carefully
examine all of the comments. Follow any mentioned links to gather more data.
Refer to the GitHub CLI usage skill for
detailed instructions on using the gh tool.
Ask the user to clarify any aspects of the leads issue that are unclear rather than continuing to edit the proposal. If there are questions that you don't find an answer to in the issue, ask this to the user and let them provide an answer that you use as the basis of what to include.
Heavily leverage examples to illustrate both the specifics of the design being proposed, and the nature of the change being proposed. More examples to illustrate more aspects, corner cases, or provide a more complete understanding are almost always good. Comments in example code should focus on what that part of the example illustrates from the proposal.
Whenever you edit the abstract or notice differences from the PR description, you should update the PR description to match the abstract. The only exception is to retain any "Assisted-by" or other tags at the end of the description that are only needed there and not in the abstract.
If you are creating or updating a proposal, make sure the PR description in
question contains an Assisted-by: tag that is appropriate for describing which
AI tool is being used.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
本技能介绍如何使用命令行`gh`只读查看GitHub issue正文和评论,支持通过编号或URL定位,也可指定其他仓库,并说明如何提取大量评论。
本技能为在 Carbon 代码库中工作的 AI 助手规定文件查看、搜索和编辑工具,并说明临时文件的存放与清理规则,以及何时可以编写和运行自定义程序。
了解如何在 Carbon 项目中通过 Bazelisk 构建、测试和运行程序,包括指定目标、启用 ASan,以及系统依赖变更后重建缓存。
本技能介绍如何为Carbon编译器添加内置函数,包括类型注册、签名验证、常量求值、运行时LLVM IR生成、Prelude绑定,以及使用最小Prelude编写针对性测试。
了解 Carbon 工具链对 Bazel、C++、Carbon、Markdown 和 Python 文件的格式规范,并查看注释、文档、命名、设计及提交说明的写作要求。
本技能介绍如何在Carbon工具链中添加或修改错误和警告,包括注册诊断类型、用带类型的参数构造消息、为源码位置添加标签和上下文,以及检查措辞规范和测试覆盖。