(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[251],{9484:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/features/code_review",function(){return n(115)}])},115:function(e,t,n){"use strict";n.r(t),n.d(t,{__toc:function(){return h},default:function(){return m}});var i=n(5893),s=n(2673),o=n(6231),r=n(1255);n(9488);var a=n(2643),d={src:"/_next/static/media/code_review.fdac127c.gif",height:1080,width:1920,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/code_review_process.6de9e281.png",height:367,width:276,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAQAAABwz0azAAAAU0lEQVR42j3MsQ3AIAwAQe8/THaxqLwBkAIXCCEB/igpUl5zEhfm6orFJcOcyk1jmLgWyq674CordfLJp7OS8IMkoY28826ECjYpVCaYvPXQ8dUPBhRY3Qp+p+UAAAAASUVORK5CYII=",blurWidth:6,blurHeight:8},l=n(9008),u=n.n(l);let h=[{depth:2,value:"Code Review",id:"code-review"},{depth:2,value:"Code Review",id:"code-review-1"},{depth:3,value:"Key Features",id:"key-features"},{depth:3,value:"How it Works",id:"how-it-works"}];function g(e){let t=Object.assign({h2:"h2",p:"p",code:"code",a:"a",img:"img",h3:"h3",ol:"ol",li:"li",strong:"strong"},(0,a.a)(),e.components);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(u(),{children:[(0,i.jsx)("title",{children:"Code Review - Automatically Receive Feedback on Your GitHub Pull Requests"}),(0,i.jsx)("meta",{name:"description",content:"Automatically receive reviews and feedback on code changes in your GitHub pull requests. Learn how to request code reviews and understand the key features of the Kaizen code review process."}),(0,i.jsx)("meta",{name:"keywords",content:"code review, automated feedback, GitHub PRs, Kaizen, code analysis"})]}),"\n",(0,i.jsx)(t.h2,{id:"code-review",children:"Code Review"}),"\n",(0,i.jsx)(t.p,{children:"Automatically get reviews and feedback on code changes in your pull requests on GitHub, in the comments section of your Pull Requests."}),"\n",(0,i.jsxs)(t.p,{children:["Use command ",(0,i.jsx)(t.code,{children:"!review"})," in your PR comments to request a code review manually."]}),"\n",(0,i.jsx)(t.h2,{id:"code-review-1",children:"Code Review"}),"\n",(0,i.jsx)(t.p,{children:"Automatically get reviews and feedback on code changes in your pull requests on GitHub, in the comments section of your Pull Requests."}),"\n",(0,i.jsxs)(t.p,{children:["Use command ",(0,i.jsx)(t.code,{children:"!review"})," in your PR comments to request a code review, manually."]}),"\n",(0,i.jsxs)(t.p,{children:["For more information on modifying the settings for Code Review, go ",(0,i.jsx)(t.a,{href:"settings/code_review",children:"here"}),"."]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Code Review in Action",src:d})}),"\n",(0,i.jsx)(t.h3,{id:"key-features",children:"Key Features"}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Automated Code Analysis"}),": Analyzes code changes in pull requests and generates detailed feedback."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Organized Feedback"}),": Provides review comments organized by topics and confidence levels."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Interactive Reviews"}),": Allows engagement with the bot for clarification or additional context."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"PR Description Generation"}),": Automatically generates descriptive summaries of code changes."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Continuous Learning"}),": Improves review quality over time based on user interactions."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"how-it-works",children:"How it Works"}),"\n",(0,i.jsxs)(t.ol,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Diff Analysis"}),": When you create or update a pull request, the Kaizen Bot analyzes the code changes (diff) and generates detailed feedback based on the modified code snippets."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Organized Feedback"}),": The bot's feedback is organized into topics or categories like performance, security, code style, or documentation, making it easier to navigate and prioritize the comments."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Confidence Levels"}),": Each review comment includes a confidence level (critical, high, medium, low), indicating the perceived importance or severity of the issue."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Contextual Information"}),": The reviews provide context-specific details like file names, line numbers, code snippets, and explanations for the suggested changes."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"PR Description Generation"}),": The bot can generate a descriptive summary of the code changes, helping you better document your pull requests."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Code Review Process",placeholder:"blur",src:c})})]})}let p={MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:t}=Object.assign({},(0,a.a)(),e.components);return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)},pageOpts:{filePath:"pages/features/code_review.mdx",route:"/features/code_review",timestamp:1730032935e3,pageMap:[{kind:"Meta",data:{index:"Kaizen Cloud",initial_setup:"Initial Setup",features:"Features",github_commands_guide:"Github Commands Guide",settings:"Settings",contact_us:"Contact Us"}},{kind:"MdxPage",name:"contact_us",route:"/contact_us"},{kind:"Folder",name:"features",route:"/features",children:[{kind:"Meta",data:{code_scan:"Code Scan",code_review:"Code Review",unit_tests:"Unit Tests",connected_repos:"Connected Repositories"}},{kind:"MdxPage",name:"code_review",route:"/features/code_review"},{kind:"Folder",name:"code_scan",route:"/features/code_scan",children:[{kind:"Meta",data:{stats:"Stats",issues:"Issues"}},{kind:"MdxPage",name:"issues",route:"/features/code_scan/issues"},{kind:"MdxPage",name:"stats",route:"/features/code_scan/stats"}]},{kind:"MdxPage",name:"code_scan",route:"/features/code_scan"},{kind:"MdxPage",name:"connected_repos",route:"/features/connected_repos"},{kind:"MdxPage",name:"unit_tests",route:"/features/unit_tests"}]},{kind:"MdxPage",name:"features",route:"/features"},{kind:"MdxPage",name:"github_commands_guide",route:"/github_commands_guide"},{kind:"MdxPage",name:"index",route:"/"},{kind:"MdxPage",name:"initial_setup",route:"/initial_setup"},{kind:"Folder",name:"settings",route:"/settings",children:[{kind:"Meta",data:{account:"Account",subscription:"Subscription",integrations:"Integrations",code_review:"Code Review",standup_reports:"Standup Reports",api_keys:"API Keys"}},{kind:"MdxPage",name:"account",route:"/settings/account"},{kind:"MdxPage",name:"api_keys",route:"/settings/api_keys"},{kind:"Folder",name:"code_review",route:"/settings/code_review",children:[{kind:"Meta",data:{automations:"Automations",category_filters:"Category Filters"}},{kind:"MdxPage",name:"automations",route:"/settings/code_review/automations"},{kind:"MdxPage",name:"category_filters",route:"/settings/code_review/category_filters"}]},{kind:"MdxPage",name:"code_review",route:"/settings/code_review"},{kind:"Folder",name:"integrations",route:"/settings/integrations",children:[{kind:"Meta",data:{setup:"Setup",test:"Test"}},{kind:"MdxPage",name:"setup",route:"/settings/integrations/setup"},{kind:"MdxPage",name:"test",route:"/settings/integrations/test"}]},{kind:"MdxPage",name:"integrations",route:"/settings/integrations"},{kind:"MdxPage",name:"standup_reports",route:"/settings/standup_reports"},{kind:"MdxPage",name:"subscription",route:"/settings/subscription"}]},{kind:"MdxPage",name:"settings",route:"/settings"}],flexsearch:{codeblocks:!0},title:"Code Review",headings:h},pageNextRoute:"/features/code_review",nextraLayout:o.ZP,themeConfig:r.Z};var m=(0,s.j)(p)},1255:function(e,t,n){"use strict";var i=n(5893),s=n(1163),o=n(9008),r=n.n(o);t.Z={logo:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 1539 1539",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M225 257H369V372.635C450.465 304.12 556.298 262 668.5 262C829.391 262 980.056 347.15 1052.85 472.813C1077.22 468.339 1102.33 466 1128 466C1354.99 466 1539 648.892 1539 874.5C1539 1100.11 1354.99 1283 1128 1283H360C153.336 1282.83 0 1121.94 0 923.5C0 775.971 92.5735 649.197 225 593.788V257ZM225.487 593.586C248.641 507.398 300.107 430.579 369 372.637V848.202L583.8 562.602H751.8L528.6 853.002L756.6 1171H587.4L369 856.602V1171H225V593.789C225.162 593.722 225.325 593.654 225.487 593.586Z",fill:"#626ED8"})}),(0,i.jsx)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"120px",height:"160px",viewBox:"0 0 1497.000000 270.000000",preserveAspectRatio:"xMidYMid meet",children:(0,i.jsxs)("g",{transform:"translate(0.000000,270.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[(0,i.jsx)("path",{d:"M14298 2150 c-20 -11 -50 -36 -65 -57 -25 -32 -28 -45 -28 -109 0 -66 3 -76 31 -111 44 -54 86 -76 148 -76 84 0 150 48 176 129 51 154 -119 299 -262 224z"}),(0,i.jsx)("path",{d:"M1667 2143 c-4 -3 -7 -370 -7 -815 l0 -808 150 0 150 0 0 815 0 815 -143 0 c-79 0 -147 -3 -150 -7z"}),(0,i.jsx)("path",{d:"M5810 1865 c0 -157 -3 -285 -6 -285 -4 0 -22 14 -42 31 -20 18 -70 48 -111 68 -68 32 -86 36 -175 39 -57 3 -123 -1 -155 -8 -169 -37 -333 -190 -390 -363 -108 -330 18 -672 296 -805 176 -83 389 -62 529 53 23 19 45 35 48 35 3 0 6 -25 6 -55 l0 -55 150 0 150 0 -2 813 -3 812 -147 3 -148 3 0 -286z m-229 -428 c104 -25 183 -99 221 -205 28 -80 22 -205 -14 -282 -29 -63 -84 -122 -143 -153 -33 -18 -57 -22 -135 -22 -81 0 -102 4 -143 25 -61 31 -112 86 -146 159 -22 47 -26 70 -26 141 0 47 6 103 12 126 38 124 162 218 293 223 14 0 50 -5 81 -12z"}),(0,i.jsx)("path",{d:"M10307 2144 c-4 -4 -7 -151 -7 -327 l0 -319 -59 60 c-110 112 -234 162 -401 162 -173 0 -304 -54 -425 -175 -125 -124 -176 -253 -176 -440 -1 -179 51 -308 172 -432 124 -128 245 -178 429 -178 94 0 127 4 182 23 79 27 167 82 232 144 l46 45 0 -94 0 -93 80 0 80 0 -2 813 -3 812 -70 3 c-39 1 -74 0 -78 -4z m-264 -612 c120 -55 227 -185 256 -313 25 -109 6 -255 -46 -351 -86 -157 -286 -255 -466 -227 -256 39 -440 308 -384 558 33 145 134 274 260 331 82 37 94 39 212 36 87 -3 109 -7 168 -34z"}),(0,i.jsx)("path",{d:"M733 1710 c-54 -11 -168 -57 -218 -88 -133 -83 -229 -218 -271 -383 -22 -84 -15 -238 15 -331 26 -82 104 -201 171 -261 60 -54 164 -110 250 -133 82 -22 308 -26 390 -5 101 24 218 88 288 156 35 35 61 68 58 74 -4 6 -57 45 -118 86 l-111 75 -35 -35 c-100 -99 -289 -129 -433 -67 -61 26 -126 93 -157 160 -37 80 -38 202 0 282 34 76 76 121 145 157 73 38 98 44 188 44 104 0 159 -17 233 -73 l64 -49 116 64 c63 34 117 68 120 75 2 7 -29 45 -70 85 -84 83 -186 139 -294 162 -74 16 -262 18 -331 5z"}),(0,i.jsx)("path",{d:"M2592 1695 c-186 -64 -340 -219 -398 -402 -8 -26 -18 -95 -21 -153 -10 -192 47 -343 182 -476 321 -318 880 -177 1016 256 75 240 -11 524 -205 670 -122 92 -238 130 -396 130 -85 0 -119 -5 -178 -25z m334 -288 c88 -45 144 -125 164 -234 20 -116 -14 -235 -89 -310 -120 -119 -302 -125 -424 -13 -72 66 -99 128 -105 240 -6 117 19 184 97 261 73 72 120 90 226 86 62 -3 91 -9 131 -30z"}),(0,i.jsx)("path",{d:"M6873 1710 c-200 -40 -388 -195 -457 -378 -91 -242 -43 -484 130 -656 69 -70 154 -122 248 -153 71 -23 98 -26 216 -27 155 -1 221 13 339 71 52 25 95 56 143 104 37 38 68 74 68 81 0 7 -26 30 -57 50 l-57 37 -63 -60 c-108 -100 -219 -143 -369 -142 -201 2 -356 100 -442 280 -36 76 -37 81 -37 194 0 113 1 116 38 191 111 226 372 329 622 246 79 -26 118 -50 190 -119 l60 -58 58 36 c31 19 57 40 57 48 0 7 -30 45 -66 84 -53 58 -82 79 -148 110 -113 55 -191 71 -322 70 -60 -1 -128 -5 -151 -9z"}),(0,i.jsx)("path",{d:"M8243 1706 c-29 -7 -83 -28 -120 -46 -87 -42 -215 -168 -261 -257 -94 -180 -95 -418 0 -594 39 -74 141 -186 208 -229 166 -106 419 -118 607 -29 87 41 214 166 261 256 185 354 -2 800 -375 897 -73 19 -245 20 -320 2z m256 -147 c200 -46 351 -242 351 -453 -1 -133 -38 -231 -125 -324 -112 -121 -278 -169 -440 -126 -281 73 -421 413 -279 675 54 98 188 204 290 228 53 12 150 13 203 0z"}),(0,i.jsx)("path",{d:"M11173 1706 c-205 -50 -378 -237 -429 -462 -34 -153 -5 -332 73 -462 115 -190 265 -278 488 -289 236 -12 420 78 545 263 27 42 50 80 50 85 0 10 -127 76 -133 68 -2 -2 -24 -34 -50 -70 -52 -74 -97 -114 -172 -151 -134 -66 -295 -69 -416 -7 -59 30 -151 124 -184 188 -24 49 -54 160 -55 204 0 16 32 17 526 17 l526 0 -7 68 c-3 37 -13 93 -21 125 -52 206 -215 370 -419 422 -72 18 -248 19 -322 1z m302 -156 c123 -42 203 -113 256 -223 50 -107 90 -97 -397 -97 l-425 0 6 23 c42 142 145 253 277 297 75 26 207 26 283 0z"}),(0,i.jsx)("path",{d:"M13192 1709 c-202 -39 -379 -230 -422 -456 -19 -94 -8 -282 19 -363 72 -207 258 -368 451 -389 147 -16 265 15 377 100 l53 40 0 -61 0 -60 145 0 145 0 0 585 0 585 -145 0 -145 0 0 -60 0 -61 -52 40 c-131 97 -273 130 -426 100z m310 -288 c134 -65 204 -213 178 -377 -19 -117 -87 -212 -183 -255 -75 -34 -193 -34 -261 0 -63 31 -118 86 -153 153 -26 49 -28 62 -28 163 0 91 4 118 21 156 38 81 101 140 189 176 48 20 182 11 237 -16z"}),(0,i.jsx)("path",{d:"M3620 1433 c0 -309 13 -528 36 -603 70 -235 256 -354 528 -337 195 12 328 93 408 252 51 99 59 171 65 578 l6 367 -151 0 -150 0 -4 -372 -4 -373 -26 -57 c-33 -72 -83 -107 -162 -115 -97 -10 -173 33 -213 122 -16 36 -18 79 -21 418 l-3 377 -155 0 -154 0 0 -257z"}),(0,i.jsx)("path",{d:"M14240 1105 l0 -585 145 0 145 0 0 585 0 585 -145 0 -145 0 0 -585z"}),(0,i.jsx)("path",{d:"M12323 740 c-87 -53 -82 -189 8 -236 44 -22 112 -14 146 17 54 51 66 105 36 166 -32 69 -123 94 -190 53z"})]})})]}),useNextSeoProps(){let{asPath:e}=(0,s.useRouter)();return"/"!==e?{titleTemplate:"%s"}:{titleTemplate:"Cloud Code AI Docs"}},footer:{text:(0,i.jsxs)("span",{children:["MIT ",new Date().getFullYear()," \xa9"," ",(0,i.jsx)("a",{href:"https://cloudcode.ai",target:"_blank",children:"Cloud Code AI"}),"."]})},head:(0,i.jsxs)(r(),{children:[(0,i.jsx)("link",{rel:"icon",href:"/public/favicon.svg",type:"image/svg+xml"}),(0,i.jsx)("link",{rel:"icon",href:"/public/favicon.png",type:"image/png"})]}),feedback:{content:null},editLink:!1}},5789:function(){}},function(e){e.O(0,[955,888,774,179],function(){return e(e.s=9484)}),_N_E=e.O()}]);