在 Slack 线程中迭代优化提示词
@mintlify 提及它,以便对其创建的拉取请求(PR;亦称“合并请求”/Merge Request)进行细化和迭代。
例如:@mintlify Our quickstart page needs a new section on inviting collaborators。接着:@mintlify The new section should be called "Inviting collaborators"。然后再根据需要继续进行其他迭代。
从助手开始,由你手动完成
@mintlify Update the quickstart page to include information about inviting collaborators,然后检出该 branch,使用你喜欢的方式进行进一步修改。
在合并功能变更时更新文档
@mintlify This PR adds a new authentication method. Update the docs to include the new auth flow: [PR link].
从拉取请求生成发布说明
@mintlify Generate release notes for this PR: [PR link]。
处理拉取请求评审反馈
@mintlify Address the review comments on this PR: [PR link]。
生成代码示例
@mintlify Generate a code example to make the authentication method easier to understand.
向文档添加图片或文件
@mintlify Add this diagram to the architecture overview page,并在消息中附上该图片。
审查现有内容
@mintlify 请审查 API 限流部分。我们上个月更改了限制。
回应用户反馈
@mintlify Users are getting confused by step 3 in the setup guide. What might be making it unclear?.
使用工作流实现自动化
使用 API 实现自动化
asDraft 参数(默认为 false)控制拉取请求是否以草稿模式打开。将 asDraft 设置为 true 以创建草稿拉取请求,或保留默认值以创建非草稿拉取请求,从而在自动化工作流中立即进行审查和合并。
在代码合并后自动更新文档教程中了解如何设置 API 自动化。