先向 agent 发送提示,然后在同一条线程中继续使用 @mintlify 提及它,以便改进和迭代它创建的拉取请求(PR;亦称“合并请求”/Merge Request)。例如:@mintlify Our quickstart page needs a new section on inviting collaborators。然后:@mintlify The new section should be called "Inviting collaborators"。接着根据需要继续进行其他迭代。
先向 Agent 下指令开始一个项目,然后检出它创建的 branch,在本地环境或网页版编辑器中完成任务。Agent 可以帮助你起步,之后你便可接手完成剩余工作。例如:@mintlify Update the quickstart page to include information about inviting collaborators,然后检出该 branch,并使用你偏好的方式进行额外修改。
当你合并功能拉取请求(PR)后,将该 PR 链接分享给智能代理(agent),以便更新相关文档。例如:@mintlify This PR adds a new authentication method. Update the docs to include the new auth flow: [PR link].