{"id":8023,"date":"2026-03-09T05:18:16","date_gmt":"2026-03-09T02:18:16","guid":{"rendered":"https:\/\/x0ct.com\/ai\/?p=8023"},"modified":"2026-03-09T05:18:16","modified_gmt":"2026-03-09T02:18:16","slug":"pridumal-ya-vot-takuyu-avtomatizatsiyu-dlya-claude-code-snachala-install-github-app-ustanovite-githab","status":"publish","type":"post","link":"https:\/\/x0ct.com\/ai\/?p=8023","title":{"rendered":"\u041f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0434\u043b\u044f Claude Code\n\n\u0421\u043d\u0430\u0447\u0430\u043b\u0430: install-github-app &#8212; \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0433\u0438\u0442\u0445\u0430\u0431"},"content":{"rendered":"<p><b>\u041f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0434\u043b\u044f Claude Code<\/b><\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430: \/install-github-app &#8212; \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0433\u0438\u0442\u0445\u0430\u0431 \u043f\u043b\u0430\u0433\u0438\u043d \u0432 \u0440\u0435\u043f\u043e, \u0432\u043d\u0443\u0442\u0440\u0438 \u0421\u0421 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u043a\u0446\u0438\u044f \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c: \/sandbox &#8212; \u0447\u0442\u043e\u0431\u044b \u0421\u0421 \u0437\u0430\u0434\u0430\u0432\u0430\u043b \u043f\u043e\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c: \/pr-draft &#8212; \u0442\u0443\u0442 \u043c\u043d\u0435 \u0447\u0442\u043e \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0434\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c PR \u0432\u0440\u0443\u0447\u043d\u0443\u044e (\u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043d\u0430\u0434\u043e \u043d\u043e\u0432\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u0440\u0430\u043d\u0435\u0435).<\/p>\n<p>\u041f\u043e\u0442\u043e\u043c: \/plan &#8212; \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<p>\u041f\u0440\u043e\u043c\u043f\u0442:<\/p>\n<p><code>1. Comment \"@claude review\" to request a review<br \/>\n2. Wait 3 minutes and check the reviewer's response<br \/>\n3. Fix all issues<br \/>\n4. Commit and push the changes<br \/>\n5. Repeat until no more issues<br \/>\n6. Then merge, delete branch, switch to main and pull<br \/>\n<\/code><br \/>\n\u0438 \u0432\u0438\u0448\u0435\u043d\u043a\u0430 \u043d\u0430 \u0442\u043e\u0440\u0442\u0435 shift+tab (\u0447\u0442\u043e\u0431\u044b \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0435 \u043e\u043a\u043d\u043e)<\/p>\n<p><i class=\"emoji\" style=\"background-image:url('\/\/telegram.org\/img\/emoji\/40\/F09FA4AF.png')\"><b>\ud83e\udd2f<\/b><\/i><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0432 \u0441\u043f\u043e\u0440\u0442\u0437\u0430\u043b \u043d\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0438\u043a\u0430, \u0430\u0433\u0435\u043d\u0442\u044b \u043d\u0430\u0447\u043d\u0443\u0442 \u0441\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u0440\u0435\u0432\u044c\u044e\u0438\u0442\u044c \u0438 \u0438\u0441\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u0431\u0430\u0433\u0438. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u043d\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c. \u041d\u043e \u0441\u043a\u0430\u0436\u0443 \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043e\u043f\u044b\u0442\u0443, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044e\u0442 \u043e\u043d\u0438 \u0442\u0430\u043c \u043a\u0443\u0434\u0430 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043f\u043e\u0440\u0442\u044f\u0442.<\/p>\n<p>____<\/p>\n<p>I came up with this automation for Claude Code.<\/p>\n<p>First: \/install-github-app &#8212; install the GitHub plugin in the repo; there are instructions for doing this within CC.<\/p>\n<p>Then: \/sandbox &#8212; so CC asks fewer questions.<\/p>\n<p>Then: \/pr-draft &#8212; what I don&#8217;t like here is that it creates a draft; you need to follow the link and create a PR manually (you need to create a new branch in advance).<\/p>\n<p>Then: \/plan &#8212; switch to planning mode<\/p>\n<p>Prompt:<\/p>\n<p><code>1. Comment \"@claude review\" to request a review<br \/>\n2. Wait 3 minutes and check the reviewer's response<br \/>\n3. Fix all issues<br \/>\n4. Commit and push the changes<br \/>\n5. Repeat until there are no more issues<br \/>\n6. Then merge, delete branch, switch to main, and pull<br \/>\n<\/code><br \/>\nAnd the icing on the cake: shift+tab (to clear the context window)<\/p>\n<p><i class=\"emoji\" style=\"background-image:url('\/\/telegram.org\/img\/emoji\/40\/F09FA4AF.png')\"><b>\ud83e\udd2f<\/b><\/i><\/p>\n<p>After that, you can go to the gym for half an hour, and the agents will start chatting and reviewing and fixing any bugs they find. Of course, they don&#8217;t always fix what needs fixing. But in my experience, they fix far more than they break.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0434\u043b\u044f Claude Code \u0421\u043d\u0430\u0447\u0430\u043b\u0430: \/install-github-app &#8212; \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0433\u0438\u0442\u0445\u0430\u0431 \u043f\u043b\u0430\u0433\u0438\u043d \u0432 \u0440\u0435\u043f\u043e, \u0432\u043d\u0443\u0442\u0440\u0438 \u0421\u0421 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u043a\u0446\u0438\u044f \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u041f\u043e\u0442\u043e\u043c: \/sandbox &#8212; \u0447\u0442\u043e\u0431\u044b \u0421\u0421 \u0437\u0430\u0434\u0430\u0432\u0430\u043b \u043f\u043e\u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u041f\u043e\u0442\u043e\u043c: \/pr-draft &#8212; \u0442\u0443\u0442 \u043c\u043d\u0435 \u0447\u0442\u043e \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0434\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c PR \u0432\u0440\u0443\u0447\u043d\u0443\u044e (\u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043d\u0430\u0434\u043e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8023","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=\/wp\/v2\/posts\/8023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8023"}],"version-history":[{"count":0,"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=\/wp\/v2\/posts\/8023\/revisions"}],"wp:attachment":[{"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/x0ct.com\/ai\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}