在 Slack 线程中迭代优化提示词
@mintlify 提及它,以便细化和迭代 agent 创建的拉取请求(PR;亦称“合并请求”或 Merge Request)。
例如:@mintlify Our quickstart page needs a new section on inviting collaborators。接着:@mintlify The new section should be called "Inviting collaborators"。然后再根据需要继续进行其他迭代。
从 agent 开始,由你手动完成
@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 Add descriptive alt text to every image on the quickstart page。
在需要身份验证的部署中,agent 只会查看它已读取的已发布页面中出现的图片。
审查现有内容
@mintlify 请审查 API 限流部分。我们上个月更改了限制。
回应用户反馈
@mintlify Users are getting confused by step 3 in the setup guide. What might be making it unclear?。