orchestrate
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseThis skill loads orchestrate mode to guide you on the loop you are in
If you are on plan mode just plan like you normally would, if not, still do a plan for yourself, but regardless, the very first task of the plan should always be to write/update BDD specs on specs/
There should always be a specs/ folder at the root of the project for all the requirements and expected behaviors of the entire application on .feature files, which should always be kept up to date, with subfolders as the project get big.
Then, as you start the implementation, every implementation task should be intertwined with tests, most importantly actual integration tests, really proving everything works, no mocks. If it’s for the backend then it should really talk all the way to the database, no mocking, if it’s frontend, then react-testing-library tests should be used, really rendering that whole component tree, no shallow no mocks, and if it’s an agent, then it should use LangWatch scenario tests to prove the behaviour
Once you have something mostly done all tests passing all typechecks, you can open a PR to run the CI and get automated code reviews from coderabbit and so on which you should verify around every 5 minute again after having open the PR and pushed fixes and see if there is anything to address/reply why not valid
Then when you think you are done with the implementation, stop, you are NOT done until you’ve done QA ad-nauseum, it doesn’t matter how much green the tests are, you need to dogfood your work as a real user would, if you haven’t used it yourself, it’s the same as nothing.
So if the work at hand is something that can be accessed through the frontend at all, you MUST drive a real browser to verify it. Load the skill before you start the QA phase — it has the playbook for which browser stack to use (Playwright MCP vs Claude-in-Chrome + computer-use), the failure modes to avoid, and the up-front permission requests to make so you don't get blocked mid-task waiting for user approval. Do not improvise browser automation if exists; load it and follow it.
/browser-qa/browser-qaIf the work isn't frontend (CLI, SDK, agent), still use it like a real user — build example applications to test it, use it for real from every way and angle, perfect the experience. Do not worry about making the PR big.
Do not save any screenshots to the repo except if for docs, put on a .claude or temp folder instead, and use the service https://img402.dev/ () to upload it for the pull request (the skill covers this in more detail).
curl -F image=@screenshot.png https://img402.dev/api/free/browser-qaOnly really say done after you have QAed, took screenshots, babysitted the PR for CI and coderabbit comments, added user docs for all of it as needed, then even so think again what haven’t you QAed, and open the screen and QA again, until really done, proved and proved again
If what you are doing is some kinda of small internal task and what I’m saying about QAing doesn’t make sense, still think how would the principle adapt to your context, really proving the delivery in a great shape.
该Skill加载编排模式,为你当前所处的循环流程提供指引
如果你处于规划模式,只需按常规方式制定计划即可;若未处于规划模式,也请为自己制定一份计划,但无论哪种情况,计划的第一项任务都必须是在specs/目录下编写/更新BDD规范
项目根目录下必须始终存在specs/文件夹,用于存放整个应用所有需求和预期行为的.feature文件,需持续保持更新,随着项目规模扩大可创建子文件夹
开始实现后,每一项实现任务都应与测试紧密结合,最重要的是采用真实的集成测试,切实验证所有功能正常运行,禁止使用模拟。如果是后端实现,需直接连接数据库进行测试,不得模拟;如果是前端实现,则应使用react-testing-library进行测试,完整渲染整个组件树,禁止使用浅层渲染或模拟;如果是Agent实现,则应使用LangWatch场景测试来验证行为
当功能基本完成、所有测试通过且类型检查无误后,你可以发起PR以运行CI,并获取CodeRabbit等工具的自动化代码评审。发起PR并推送修复后,你应每隔5分钟检查一次,确认是否有需要处理的问题,或回复说明某些建议为何不适用
当你认为实现工作已完成时,请暂停——在完成反复QA之前,工作并未真正完成。无论测试结果有多“绿”,你都需要像真实用户一样内部测试自己的工作成果。如果你自己都没有使用过,那么这项工作等同于未完成
因此,如果当前工作涉及前端可访问的功能,你必须通过真实浏览器进行验证。在开始QA阶段前,请加载 Skill——它包含了应使用的浏览器栈指南(Playwright MCP vs Claude-in-Chrome + computer-use)、需要避免的失败模式,以及提前申请权限的要求,避免在任务中途因等待用户批准而受阻。如果 Skill存在,请不要自行编写浏览器自动化脚本;加载该Skill并遵循其指引
/browser-qa/browser-qa如果工作不涉及前端(如CLI、SDK、Agent),仍需像真实用户一样使用它——构建示例应用进行测试,从各个角度全面使用,优化体验。无需担心PR规模过大
除非用于文档,否则请勿将任何截图保存到仓库中,可将其存放在.claude或临时文件夹中,并使用服务https://img402.dev/(命令:`curl -F image=@screenshot.png https://img402.dev/api/free`)上传截图用于拉取请求(`/browser-qa` Skill对此有更详细的说明)
只有在完成QA、截取截图、监控PR的CI和CodeRabbit评论、按需添加用户文档后,才能真正宣布完成。即便如此,也要再次检查是否有遗漏的QA环节,打开界面再次进行QA,直到真正完成并反复验证
如果你正在处理某项小型内部任务,上述QA原则可能不完全适用,请思考如何根据你的场景调整原则,切实确保交付成果的高质量