kcode-cli 1.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/review/SKILL.md +261 -0
- package/dist/cli.js +122612 -0
- package/dist/cli.js.map +7 -0
- package/dist/templates/core/compression.md +55 -0
- package/dist/templates/core/reminders/plan-mode.md +5 -0
- package/dist/templates/core/reminders/subagent.md +1 -0
- package/dist/templates/core/system/base.md +130 -0
- package/dist/templates/core/system/final-reminder.md +2 -0
- package/dist/templates/core/system/git-repository.md +14 -0
- package/dist/templates/core/system/tool-calling-native.md +5 -0
- package/dist/templates/runtime/next-speaker/check.md +5 -0
- package/dist/templates/runtime/todo/cleared.md +5 -0
- package/dist/templates/runtime/todo/error.md +5 -0
- package/dist/templates/runtime/todo/updated.md +7 -0
- package/dist/templates/subagents/builtin/explore.md +56 -0
- package/dist/templates/subagents/builtin/general-purpose.md +26 -0
- package/dist/templates/subagents/generator/system.md +64 -0
- package/dist/templates/subagents/generator/user.md +1 -0
- package/dist/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/dist/vendor/ripgrep/arm64-linux/rg +0 -0
- package/dist/vendor/ripgrep/x64-darwin/rg +0 -0
- package/dist/vendor/ripgrep/x64-linux/rg +0 -0
- package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/dist/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/dist/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/web/assets/__vite-browser-external-2447137e-BIHI7g3E.js +1 -0
- package/dist/web/assets/abap-BdImnpbu.js +1 -0
- package/dist/web/assets/actionscript-3-CfeIJUat.js +1 -0
- package/dist/web/assets/ada-bCR0ucgS.js +1 -0
- package/dist/web/assets/amoled-BPmWNa1u.js +1 -0
- package/dist/web/assets/android-studio-t3zZ7G0e.svg +369 -0
- package/dist/web/assets/andromeeda-C-Jbm3Hp.js +1 -0
- package/dist/web/assets/angular-html-CU67Zn6k.js +1 -0
- package/dist/web/assets/angular-ts-BwZT4LLn.js +1 -0
- package/dist/web/assets/antigravity-m-mWKI7R.svg +97 -0
- package/dist/web/assets/apache-Pmp26Uib.js +1 -0
- package/dist/web/assets/apex-DDbsPZ6N.js +1 -0
- package/dist/web/assets/apl-dKokRX4l.js +1 -0
- package/dist/web/assets/applescript-Co6uUVPk.js +1 -0
- package/dist/web/assets/ara-BRHolxvo.js +1 -0
- package/dist/web/assets/asciidoc-Dv7Oe6Be.js +1 -0
- package/dist/web/assets/asm-D_Q5rh1f.js +1 -0
- package/dist/web/assets/astro-CbQHKStN.js +1 -0
- package/dist/web/assets/aura-DiUFbFcB.js +1 -0
- package/dist/web/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/dist/web/assets/awk-DMzUqQB5.js +1 -0
- package/dist/web/assets/ayu-BMDHghKq.js +1 -0
- package/dist/web/assets/ayu-dark-Cv9koXgw.js +1 -0
- package/dist/web/assets/ballerina-BFfxhgS-.js +1 -0
- package/dist/web/assets/bat-BkioyH1T.js +1 -0
- package/dist/web/assets/beancount-k_qm7-4y.js +1 -0
- package/dist/web/assets/berry-uYugtg8r.js +1 -0
- package/dist/web/assets/bibtex-CHM0blh-.js +1 -0
- package/dist/web/assets/bicep-Bmn6On1c.js +1 -0
- package/dist/web/assets/blade-DVc8C-J4.js +1 -0
- package/dist/web/assets/bsl-BO_Y6i37.js +1 -0
- package/dist/web/assets/c-BIGW1oBm.js +1 -0
- package/dist/web/assets/cadence-Bv_4Rxtq.js +1 -0
- package/dist/web/assets/cairo-KRGpt6FW.js +1 -0
- package/dist/web/assets/carbonfox-Cw-PvMGX.js +1 -0
- package/dist/web/assets/catppuccin-Dya1UqMl.js +1 -0
- package/dist/web/assets/catppuccin-frappe-CO-cZ5_x.js +1 -0
- package/dist/web/assets/catppuccin-frappe-DFWUc33u.js +1 -0
- package/dist/web/assets/catppuccin-latte-C9dUb6Cb.js +1 -0
- package/dist/web/assets/catppuccin-macchiato-B-EcMYAa.js +1 -0
- package/dist/web/assets/catppuccin-macchiato-DQyhUUbL.js +1 -0
- package/dist/web/assets/catppuccin-mocha-D87Tk5Gz.js +1 -0
- package/dist/web/assets/clarity-D53aC0YG.js +1 -0
- package/dist/web/assets/clojure-P80f7IUj.js +1 -0
- package/dist/web/assets/cmake-D1j8_8rp.js +1 -0
- package/dist/web/assets/cobalt2-BTbi1zkd.js +1 -0
- package/dist/web/assets/cobol-nwyudZeR.js +1 -0
- package/dist/web/assets/codeowners-Bp6g37R7.js +1 -0
- package/dist/web/assets/codeql-DsOJ9woJ.js +1 -0
- package/dist/web/assets/coffee-Ch7k5sss.js +1 -0
- package/dist/web/assets/common-lisp-Cg-RD9OK.js +1 -0
- package/dist/web/assets/coq-DkFqJrB1.js +1 -0
- package/dist/web/assets/cpp-CofmeUqb.js +1 -0
- package/dist/web/assets/crystal-tKQVLTB8.js +1 -0
- package/dist/web/assets/csharp-K5feNrxe.js +1 -0
- package/dist/web/assets/css-DPfMkruS.js +1 -0
- package/dist/web/assets/csv-fuZLfV_i.js +1 -0
- package/dist/web/assets/cue-D82EKSYY.js +1 -0
- package/dist/web/assets/cursor-BCeAAy-Q.js +1 -0
- package/dist/web/assets/cypher-COkxafJQ.js +1 -0
- package/dist/web/assets/d-85-TOEBH.js +1 -0
- package/dist/web/assets/dark-plus-C3mMm8J8.js +1 -0
- package/dist/web/assets/dart-CF10PKvl.js +1 -0
- package/dist/web/assets/datetime-D2JCa3fE.js +1 -0
- package/dist/web/assets/dax-CEL-wOlO.js +1 -0
- package/dist/web/assets/desktop-BmXAJ9_W.js +1 -0
- package/dist/web/assets/dialog-ByhQA8CR.js +1 -0
- package/dist/web/assets/dialog-fork-Cmp2Zg_-.js +1 -0
- package/dist/web/assets/dialog-manage-models-DTTVfn7C.js +2 -0
- package/dist/web/assets/dialog-model-config-BmyAv4eq.js +2 -0
- package/dist/web/assets/dialog-select-file-BnW7C137.js +1 -0
- package/dist/web/assets/dialog-select-mcp-C3_oPeHg.js +1 -0
- package/dist/web/assets/diff-D97Zzqfu.js +1 -0
- package/dist/web/assets/docker-BcOcwvcX.js +1 -0
- package/dist/web/assets/dotenv-Da5cRb03.js +1 -0
- package/dist/web/assets/dracula-BzJJZx-M.js +1 -0
- package/dist/web/assets/dracula-X2TBK06F.js +1 -0
- package/dist/web/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/dist/web/assets/dream-maker-BtqSS_iP.js +1 -0
- package/dist/web/assets/edge-BkV0erSs.js +1 -0
- package/dist/web/assets/elixir-CDX3lj18.js +1 -0
- package/dist/web/assets/elm-DbKCFpqz.js +1 -0
- package/dist/web/assets/emacs-lisp-C9XAeP06.js +1 -0
- package/dist/web/assets/erb-BOJIQeun.js +1 -0
- package/dist/web/assets/erlang-DsQrWhSR.js +1 -0
- package/dist/web/assets/everforest-MOKDXL5q.js +1 -0
- package/dist/web/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/dist/web/assets/everforest-light-C8M2exoo.js +1 -0
- package/dist/web/assets/fennel-BYunw83y.js +1 -0
- package/dist/web/assets/fish-BvzEVeQv.js +1 -0
- package/dist/web/assets/flexoki-D_U6QPa4.js +1 -0
- package/dist/web/assets/fluent-C4IJs8-o.js +1 -0
- package/dist/web/assets/fortran-fixed-form-BZjJHVRy.js +1 -0
- package/dist/web/assets/fortran-free-form-D22FLkUw.js +1 -0
- package/dist/web/assets/fsharp-CXgrBDvD.js +1 -0
- package/dist/web/assets/gdresource-B7Tvp0Sc.js +1 -0
- package/dist/web/assets/gdscript-DTMYz4Jt.js +1 -0
- package/dist/web/assets/gdshader-DkwncUOv.js +1 -0
- package/dist/web/assets/genie-D0YGMca9.js +1 -0
- package/dist/web/assets/gherkin-DyxjwDmM.js +1 -0
- package/dist/web/assets/ghostty-web-BELRRBIg.js +13 -0
- package/dist/web/assets/git-commit-F4YmCXRG.js +1 -0
- package/dist/web/assets/git-rebase-r7XF79zn.js +1 -0
- package/dist/web/assets/github-dark-DHJKELXO.js +1 -0
- package/dist/web/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/dist/web/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/dist/web/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/dist/web/assets/github-light-DAi9KRSo.js +1 -0
- package/dist/web/assets/github-light-default-D7oLnXFd.js +1 -0
- package/dist/web/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/dist/web/assets/gleam-BspZqrRM.js +1 -0
- package/dist/web/assets/glimmer-js-Rg0-pVw9.js +1 -0
- package/dist/web/assets/glimmer-ts-U6CK756n.js +1 -0
- package/dist/web/assets/glsl-DplSGwfg.js +1 -0
- package/dist/web/assets/gnuplot-DdkO51Og.js +1 -0
- package/dist/web/assets/go-Dn2_MT6a.js +1 -0
- package/dist/web/assets/graphql-ChdNCCLP.js +1 -0
- package/dist/web/assets/groovy-gcz8RCvz.js +1 -0
- package/dist/web/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/dist/web/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/dist/web/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/dist/web/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/dist/web/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/dist/web/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/dist/web/assets/gruvbox-xgn7Mqom.js +1 -0
- package/dist/web/assets/hack-CaT9iCJl.js +1 -0
- package/dist/web/assets/haml-B8DHNrY2.js +1 -0
- package/dist/web/assets/handlebars-BL8al0AC.js +1 -0
- package/dist/web/assets/haskell-Df6bDoY_.js +1 -0
- package/dist/web/assets/haxe-CzTSHFRz.js +1 -0
- package/dist/web/assets/hcl-BWvSN4gD.js +1 -0
- package/dist/web/assets/hjson-D5-asLiD.js +1 -0
- package/dist/web/assets/hlsl-D3lLCCz7.js +1 -0
- package/dist/web/assets/home-CHGhoR9K.js +1 -0
- package/dist/web/assets/houston-DnULxvSX.js +1 -0
- package/dist/web/assets/html-GMplVEZG.js +1 -0
- package/dist/web/assets/html-derivative-BFtXZ54Q.js +1 -0
- package/dist/web/assets/http-jrhK8wxY.js +1 -0
- package/dist/web/assets/hurl-irOxFIW8.js +1 -0
- package/dist/web/assets/hxml-Bvhsp5Yf.js +1 -0
- package/dist/web/assets/hy-DFXneXwc.js +1 -0
- package/dist/web/assets/imba-DGztddWO.js +1 -0
- package/dist/web/assets/index-D6k9dIwV.js +2400 -0
- package/dist/web/assets/index-SW1-heh1.css +1 -0
- package/dist/web/assets/ini-BEwlwnbL.js +1 -0
- package/dist/web/assets/java-CylS5w8V.js +1 -0
- package/dist/web/assets/javascript-wDzz0qaB.js +1 -0
- package/dist/web/assets/jinja-4LBKfQ-Z.js +1 -0
- package/dist/web/assets/jison-wvAkD_A8.js +1 -0
- package/dist/web/assets/json-Cp-IABpG.js +1 -0
- package/dist/web/assets/json5-C9tS-k6U.js +1 -0
- package/dist/web/assets/jsonc-Des-eS-w.js +1 -0
- package/dist/web/assets/jsonl-DcaNXYhu.js +1 -0
- package/dist/web/assets/jsonnet-DFQXde-d.js +1 -0
- package/dist/web/assets/jssm-C2t-YnRu.js +1 -0
- package/dist/web/assets/jsx-g9-lgVsj.js +1 -0
- package/dist/web/assets/julia-C8NyazO9.js +1 -0
- package/dist/web/assets/kanagawa-D6fhEtPU.js +1 -0
- package/dist/web/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
- package/dist/web/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
- package/dist/web/assets/kanagawa-wave-DWedfzmr.js +1 -0
- package/dist/web/assets/kdl-DV7GczEv.js +1 -0
- package/dist/web/assets/kotlin-BdnUsdx6.js +1 -0
- package/dist/web/assets/kusto-BvAqAH-y.js +1 -0
- package/dist/web/assets/laserwave-DUszq2jm.js +1 -0
- package/dist/web/assets/latex-BdAV_C_H.js +1 -0
- package/dist/web/assets/lean-Bc6EcWN3.js +1 -0
- package/dist/web/assets/less-B1dDrJ26.js +1 -0
- package/dist/web/assets/light-plus-B7mTdjB0.js +1 -0
- package/dist/web/assets/liquid-DYVedYrR.js +1 -0
- package/dist/web/assets/llvm-BtvRca6l.js +1 -0
- package/dist/web/assets/log-2UxHyX5q.js +1 -0
- package/dist/web/assets/logo-BtOb2qkB.js +1 -0
- package/dist/web/assets/lua-BbnMAYS6.js +1 -0
- package/dist/web/assets/luau-CXu1NL6O.js +1 -0
- package/dist/web/assets/lucent-orng-D1rZMvl-.js +1 -0
- package/dist/web/assets/make-CHLpvVh8.js +1 -0
- package/dist/web/assets/markdown-Cvjx9yec.js +1 -0
- package/dist/web/assets/marko-CPi9NSCl.js +1 -0
- package/dist/web/assets/material-B0REbJCF.js +1 -0
- package/dist/web/assets/material-theme-D5KoaKCx.js +1 -0
- package/dist/web/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/dist/web/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/dist/web/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/dist/web/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/dist/web/assets/matlab-D7o27uSR.js +1 -0
- package/dist/web/assets/matrix-CM45y13t.js +1 -0
- package/dist/web/assets/mdc-DUICxH0z.js +1 -0
- package/dist/web/assets/mdx-Cmh6b_Ma.js +1 -0
- package/dist/web/assets/mercury-Cgs8rIFo.js +1 -0
- package/dist/web/assets/mermaid-DKYwYmdq.js +1 -0
- package/dist/web/assets/min-dark-CafNBF8u.js +1 -0
- package/dist/web/assets/min-light-CTRr51gU.js +1 -0
- package/dist/web/assets/mipsasm-CKIfxQSi.js +1 -0
- package/dist/web/assets/mojo-1DNp92w6.js +1 -0
- package/dist/web/assets/monokai-D2xrHRUd.js +1 -0
- package/dist/web/assets/monokai-D4h5O-jR.js +1 -0
- package/dist/web/assets/move-Bu9oaDYs.js +1 -0
- package/dist/web/assets/narrat-DRg8JJMk.js +1 -0
- package/dist/web/assets/nextflow-BrzmwbiE.js +1 -0
- package/dist/web/assets/nginx-DknmC5AR.js +1 -0
- package/dist/web/assets/night-owl-C39BiMTA.js +1 -0
- package/dist/web/assets/nightowl-DgF8FTco.js +1 -0
- package/dist/web/assets/nim-CVrawwO9.js +1 -0
- package/dist/web/assets/nix-c8nO5XWb.js +1 -0
- package/dist/web/assets/nord-Ddv68eIx.js +1 -0
- package/dist/web/assets/nord-DqHdiMJi.js +1 -0
- package/dist/web/assets/nushell-C-sUppwS.js +1 -0
- package/dist/web/assets/objective-c-DXmwc3jG.js +1 -0
- package/dist/web/assets/objective-cpp-CLxacb5B.js +1 -0
- package/dist/web/assets/ocaml-C0hk2d4L.js +1 -0
- package/dist/web/assets/one-dark-B-ofTg5P.js +1 -0
- package/dist/web/assets/one-dark-pro-DVMEJ2y_.js +1 -0
- package/dist/web/assets/one-light-PoHY5YXO.js +1 -0
- package/dist/web/assets/onedarkpro-DRJBR2AX.js +1 -0
- package/dist/web/assets/openscad-C4EeE6gA.js +1 -0
- package/dist/web/assets/orng-BIshfSps.js +1 -0
- package/dist/web/assets/osaka-jade-B5dRfYgs.js +1 -0
- package/dist/web/assets/palenight-CNqj9HHf.js +1 -0
- package/dist/web/assets/pascal-D93ZcfNL.js +1 -0
- package/dist/web/assets/perl-C0TMdlhV.js +1 -0
- package/dist/web/assets/php-CDn_0X-4.js +1 -0
- package/dist/web/assets/pierre-dark-ClCaJvdG.js +1 -0
- package/dist/web/assets/pierre-light-zjGsWSiE.js +1 -0
- package/dist/web/assets/pkl-u5AG7uiY.js +1 -0
- package/dist/web/assets/plastic-3e1v2bzS.js +1 -0
- package/dist/web/assets/plsql-ChMvpjG-.js +1 -0
- package/dist/web/assets/po-BTJTHyun.js +1 -0
- package/dist/web/assets/poimandres-CS3Unz2-.js +1 -0
- package/dist/web/assets/polar-C0HS_06l.js +1 -0
- package/dist/web/assets/postcss-CXtECtnM.js +1 -0
- package/dist/web/assets/powerquery-CEu0bR-o.js +1 -0
- package/dist/web/assets/powershell-Dpen1YoG.js +1 -0
- package/dist/web/assets/prisma-Dd19v3D-.js +1 -0
- package/dist/web/assets/prolog-CbFg5uaA.js +1 -0
- package/dist/web/assets/proto-DyJlTyXw.js +1 -0
- package/dist/web/assets/pug-CGlum2m_.js +1 -0
- package/dist/web/assets/puppet-BMWR74SV.js +1 -0
- package/dist/web/assets/purescript-CklMAg4u.js +1 -0
- package/dist/web/assets/python-B6aJPvgy.js +1 -0
- package/dist/web/assets/qml-3beO22l8.js +1 -0
- package/dist/web/assets/qmldir-C8lEn-DE.js +1 -0
- package/dist/web/assets/qss-IeuSbFQv.js +1 -0
- package/dist/web/assets/r-DiinP2Uv.js +1 -0
- package/dist/web/assets/racket-BqYA7rlc.js +1 -0
- package/dist/web/assets/raku-DXvB9xmW.js +1 -0
- package/dist/web/assets/razor-CE9lU5zL.js +1 -0
- package/dist/web/assets/red-bN70gL4F.js +1 -0
- package/dist/web/assets/reg-C-SQnVFl.js +1 -0
- package/dist/web/assets/regexp-CDVJQ6XC.js +1 -0
- package/dist/web/assets/rel-C3B-1QV4.js +1 -0
- package/dist/web/assets/riscv-BM1_JUlF.js +1 -0
- package/dist/web/assets/rose-pine-dawn-DHQR4-dF.js +1 -0
- package/dist/web/assets/rose-pine-moon-D4_iv3hh.js +1 -0
- package/dist/web/assets/rose-pine-qdsjHGoJ.js +1 -0
- package/dist/web/assets/rosepine-dzSpjcM5.js +1 -0
- package/dist/web/assets/rosmsg-BJDFO7_C.js +1 -0
- package/dist/web/assets/rst-B0xPkSld.js +1 -0
- package/dist/web/assets/ruby-BvKwtOVI.js +1 -0
- package/dist/web/assets/rust-B1yitclQ.js +1 -0
- package/dist/web/assets/sas-cz2c8ADy.js +1 -0
- package/dist/web/assets/sass-Cj5Yp3dK.js +1 -0
- package/dist/web/assets/scala-C151Ov-r.js +1 -0
- package/dist/web/assets/scheme-C98Dy4si.js +1 -0
- package/dist/web/assets/scss-OYdSNvt2.js +1 -0
- package/dist/web/assets/sdbl-DVxCFoDh.js +1 -0
- package/dist/web/assets/session-z2ktCReX.js +71 -0
- package/dist/web/assets/shaderlab-Dg9Lc6iA.js +1 -0
- package/dist/web/assets/shadesofpurple-Cx9uJ0Ov.js +1 -0
- package/dist/web/assets/shellscript-Yzrsuije.js +1 -0
- package/dist/web/assets/shellsession-BADoaaVG.js +1 -0
- package/dist/web/assets/slack-dark-BthQWCQV.js +1 -0
- package/dist/web/assets/slack-ochin-DqwNpetd.js +1 -0
- package/dist/web/assets/smalltalk-BERRCDM3.js +1 -0
- package/dist/web/assets/snazzy-light-Bw305WKR.js +1 -0
- package/dist/web/assets/solarized-dark-DXbdFlpD.js +1 -0
- package/dist/web/assets/solarized-eyVNPspA.js +1 -0
- package/dist/web/assets/solarized-light-L9t79GZl.js +1 -0
- package/dist/web/assets/solidity-rGO070M0.js +1 -0
- package/dist/web/assets/soy-Brmx7dQM.js +1 -0
- package/dist/web/assets/sparql-rVzFXLq3.js +1 -0
- package/dist/web/assets/splunk-BtCnVYZw.js +1 -0
- package/dist/web/assets/sprite-Fb-TFjRY.svg +11707 -0
- package/dist/web/assets/sql-BLtJtn59.js +1 -0
- package/dist/web/assets/ssh-config-_ykCGR6B.js +1 -0
- package/dist/web/assets/stata-BH5u7GGu.js +1 -0
- package/dist/web/assets/stylus-BEDo0Tqx.js +1 -0
- package/dist/web/assets/svelte-3Dk4HxPD.js +1 -0
- package/dist/web/assets/swift-Dg5xB15N.js +1 -0
- package/dist/web/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/dist/web/assets/synthwave84-CTYXmgqy.js +1 -0
- package/dist/web/assets/system-verilog-CnnmHF94.js +1 -0
- package/dist/web/assets/systemd-4A_iFExJ.js +1 -0
- package/dist/web/assets/talonscript-CkByrt1z.js +1 -0
- package/dist/web/assets/tasl-QIJgUcNo.js +1 -0
- package/dist/web/assets/tcl-dwOrl1Do.js +1 -0
- package/dist/web/assets/templ-W15q3VgB.js +1 -0
- package/dist/web/assets/terraform-BETggiCN.js +1 -0
- package/dist/web/assets/tex-CxkMU7Pf.js +1 -0
- package/dist/web/assets/tokyo-night-hegEt444.js +1 -0
- package/dist/web/assets/tokyonight-DV65dBnI.js +1 -0
- package/dist/web/assets/toml-vGWfd6FD.js +1 -0
- package/dist/web/assets/ts-tags-zn1MmPIZ.js +1 -0
- package/dist/web/assets/tsv-B_m7g4N7.js +1 -0
- package/dist/web/assets/tsx-COt5Ahok.js +1 -0
- package/dist/web/assets/turtle-BsS91CYL.js +1 -0
- package/dist/web/assets/twig-CO9l9SDP.js +1 -0
- package/dist/web/assets/typescript-BPQ3VLAy.js +1 -0
- package/dist/web/assets/typespec-BGHnOYBU.js +1 -0
- package/dist/web/assets/typst-DHCkPAjA.js +1 -0
- package/dist/web/assets/v-BcVCzyr7.js +1 -0
- package/dist/web/assets/vala-CsfeWuGM.js +1 -0
- package/dist/web/assets/vb-D17OF-Vu.js +1 -0
- package/dist/web/assets/vercel-CkbKgsSW.js +1 -0
- package/dist/web/assets/verilog-BQ8w6xss.js +1 -0
- package/dist/web/assets/vesper-B0V9cwh6.js +1 -0
- package/dist/web/assets/vesper-DU1UobuO.js +1 -0
- package/dist/web/assets/vhdl-CeAyd5Ju.js +1 -0
- package/dist/web/assets/viml-CJc9bBzg.js +1 -0
- package/dist/web/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/dist/web/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/dist/web/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/dist/web/assets/vscode-C5BXgFjm.svg +39 -0
- package/dist/web/assets/vue-DnHKYNfI.js +1 -0
- package/dist/web/assets/vue-html-CChd_i61.js +1 -0
- package/dist/web/assets/vue-vine-8moa0y9V.js +1 -0
- package/dist/web/assets/vyper-CDx5xZoG.js +1 -0
- package/dist/web/assets/wasm-CG6Dc4jp.js +1 -0
- package/dist/web/assets/wasm-MzD3tlZU.js +1 -0
- package/dist/web/assets/wenyan-BV7otONQ.js +1 -0
- package/dist/web/assets/wgsl-Dx-B1_4e.js +1 -0
- package/dist/web/assets/wikitext-BhOHFoWU.js +1 -0
- package/dist/web/assets/wit-5i3qLPDT.js +1 -0
- package/dist/web/assets/wolfram-lXgVvXCa.js +1 -0
- package/dist/web/assets/worker-BDowWIry.js +155 -0
- package/dist/web/assets/xml-sdJ4AIDG.js +1 -0
- package/dist/web/assets/xsl-CtQFsRM5.js +1 -0
- package/dist/web/assets/yaml-Buea-lGh.js +1 -0
- package/dist/web/assets/zenburn-DtW8hsHt.js +1 -0
- package/dist/web/assets/zenscript-DVFEvuxE.js +1 -0
- package/dist/web/assets/zig-VOosw3JB.js +1 -0
- package/dist/web/index.html +53 -0
- package/dist/web/site.webmanifest +0 -0
- package/package.json +39 -0
- package/script/postinstall.js +50 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review
|
|
3
|
+
description: Review changed code for correctness, security, code quality, and performance. Use when the user asks to review code changes, a PR, or specific files. Invoke with `/review`, `/review <pr-number>`, `/review <file-path>`, or `/review <pr-number> --comment` to post inline comments on the PR.
|
|
4
|
+
allowedTools:
|
|
5
|
+
- task
|
|
6
|
+
- run_shell_command
|
|
7
|
+
- grep_search
|
|
8
|
+
- read_file
|
|
9
|
+
- write_file
|
|
10
|
+
- glob
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Code Review
|
|
14
|
+
|
|
15
|
+
You are an expert code reviewer. Your job is to review code changes and provide actionable feedback.
|
|
16
|
+
|
|
17
|
+
## Step 1: Determine what to review
|
|
18
|
+
|
|
19
|
+
Your goal here is to understand the scope of changes so you can dispatch agents effectively in Step 2.
|
|
20
|
+
|
|
21
|
+
First, parse the `--comment` flag: split the arguments by whitespace, and if any token is exactly `--comment` (not a substring match — ignore tokens like `--commentary`), set the comment flag and remove that token from the argument list. If `--comment` is set but the review target is not a PR, warn the user: "Warning: `--comment` flag is ignored because the review target is not a PR." and continue without it.
|
|
22
|
+
|
|
23
|
+
Based on the remaining arguments:
|
|
24
|
+
|
|
25
|
+
- **No arguments**: Review local uncommitted changes
|
|
26
|
+
- Run `git diff` and `git diff --staged` to get all changes
|
|
27
|
+
- If both diffs are empty, inform the user there are no changes to review and stop here — do not proceed to the review agents
|
|
28
|
+
|
|
29
|
+
- **PR number or URL** (e.g., `123` or `https://github.com/.../pull/123`):
|
|
30
|
+
- Save the current branch name, stash any local changes (`git stash --include-untracked`), then `gh pr checkout <number>`
|
|
31
|
+
- Run `gh pr view <number>` and save the output (title, description, base branch, etc.) to a temp file (e.g., `/tmp/pr-review-context.md`) so agents can read it without you repeating it in each prompt
|
|
32
|
+
- Note the base branch (e.g., `main`) — agents will use `git diff <base>...HEAD` to get the diff and can read files directly
|
|
33
|
+
|
|
34
|
+
- **File path** (e.g., `src/foo.ts`):
|
|
35
|
+
- Run `git diff HEAD -- <file>` to get recent changes
|
|
36
|
+
- If no diff, read the file and review its current state
|
|
37
|
+
|
|
38
|
+
## Step 2: Parallel multi-dimensional review
|
|
39
|
+
|
|
40
|
+
Launch **four parallel review agents** to analyze the changes from different angles. Each agent should focus exclusively on its dimension.
|
|
41
|
+
|
|
42
|
+
**IMPORTANT**: Do NOT paste the full diff into each agent's prompt — this duplicates it 4x. Instead, give each agent the command to obtain the diff, a concise summary of what the changes are about, and its review focus. Each agent can read files and search the codebase on its own.
|
|
43
|
+
|
|
44
|
+
Apply the **Exclusion Criteria** (defined at the end of this document) — do NOT flag anything that matches those criteria.
|
|
45
|
+
|
|
46
|
+
Each agent must return findings in this structured format (one per issue):
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
- **File:** <file path>:<line number or range>
|
|
50
|
+
- **Issue:** <clear description of the problem>
|
|
51
|
+
- **Impact:** <why it matters>
|
|
52
|
+
- **Suggested fix:** <concrete code suggestion when possible, or "N/A">
|
|
53
|
+
- **Severity:** Critical | Suggestion | Nice to have
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
If an agent finds no issues in its dimension, it should explicitly return "No issues found."
|
|
57
|
+
|
|
58
|
+
### Agent 1: Correctness & Security
|
|
59
|
+
|
|
60
|
+
Focus areas:
|
|
61
|
+
|
|
62
|
+
- Logic errors and edge cases
|
|
63
|
+
- Null/undefined handling
|
|
64
|
+
- Race conditions and concurrency issues
|
|
65
|
+
- Security vulnerabilities (injection, XSS, SSRF, path traversal, etc.)
|
|
66
|
+
- Type safety issues
|
|
67
|
+
- Error handling gaps
|
|
68
|
+
|
|
69
|
+
### Agent 2: Code Quality
|
|
70
|
+
|
|
71
|
+
Focus areas:
|
|
72
|
+
|
|
73
|
+
- Code style consistency with the surrounding codebase
|
|
74
|
+
- Naming conventions (variables, functions, classes)
|
|
75
|
+
- Code duplication and opportunities for reuse
|
|
76
|
+
- Over-engineering or unnecessary abstraction
|
|
77
|
+
- Missing or misleading comments
|
|
78
|
+
- Dead code
|
|
79
|
+
|
|
80
|
+
### Agent 3: Performance & Efficiency
|
|
81
|
+
|
|
82
|
+
Focus areas:
|
|
83
|
+
|
|
84
|
+
- Performance bottlenecks (N+1 queries, unnecessary loops, etc.)
|
|
85
|
+
- Memory leaks or excessive memory usage
|
|
86
|
+
- Unnecessary re-renders (for UI code)
|
|
87
|
+
- Inefficient algorithms or data structures
|
|
88
|
+
- Missing caching opportunities
|
|
89
|
+
- Bundle size impact
|
|
90
|
+
|
|
91
|
+
### Agent 4: Undirected Audit
|
|
92
|
+
|
|
93
|
+
No preset dimension. Review the code with a completely fresh perspective to catch issues the other three agents may miss.
|
|
94
|
+
Focus areas:
|
|
95
|
+
|
|
96
|
+
- Business logic soundness and correctness of assumptions
|
|
97
|
+
- Boundary interactions between modules or services
|
|
98
|
+
- Implicit assumptions that may break under different conditions
|
|
99
|
+
- Unexpected side effects or hidden coupling
|
|
100
|
+
- Anything else that looks off — trust your instincts
|
|
101
|
+
|
|
102
|
+
## Step 2.5: Deduplicate and verify
|
|
103
|
+
|
|
104
|
+
### Deduplication
|
|
105
|
+
|
|
106
|
+
Before verification, merge findings that refer to the same issue (same file, same line range, same root cause) even if reported by different agents. Keep the most detailed description and note which agents flagged it.
|
|
107
|
+
|
|
108
|
+
### Independent verification
|
|
109
|
+
|
|
110
|
+
For each **unique** finding, launch an **independent verification agent**. Run verification agents in parallel, but if there are more than 10 unique findings, batch them in groups of 10 to avoid resource exhaustion.
|
|
111
|
+
|
|
112
|
+
Each verification agent receives:
|
|
113
|
+
|
|
114
|
+
- The finding description (what's wrong, file, line)
|
|
115
|
+
- The command to obtain the diff (as determined in Step 1)
|
|
116
|
+
- Access to read files and search the codebase
|
|
117
|
+
|
|
118
|
+
Each verification agent must **independently** (without seeing other agents' findings):
|
|
119
|
+
|
|
120
|
+
1. Read the actual code at the referenced file and line
|
|
121
|
+
2. Check surrounding context — callers, type definitions, tests, related modules
|
|
122
|
+
3. Verify the issue is not a false positive — reject if it matches any item in the **Exclusion Criteria**
|
|
123
|
+
4. Return a verdict:
|
|
124
|
+
- **confirmed** — with severity: Critical, Suggestion, or Nice to have
|
|
125
|
+
- **rejected** — with a one-line reason why it's not a real issue
|
|
126
|
+
|
|
127
|
+
**When uncertain, lean toward rejecting.** The goal is high signal, low noise — it's better to miss a minor suggestion than to report a false positive.
|
|
128
|
+
|
|
129
|
+
**After all verification agents complete:** remove all rejected findings. Only confirmed findings proceed to Step 3.
|
|
130
|
+
|
|
131
|
+
## Step 3: Present findings
|
|
132
|
+
|
|
133
|
+
Present the confirmed findings from Step 2.5 as a single, well-organized review. Use this format:
|
|
134
|
+
|
|
135
|
+
### Summary
|
|
136
|
+
|
|
137
|
+
A 1-2 sentence overview of the changes and overall assessment. Include verification stats: "X findings reported, Y confirmed after independent verification."
|
|
138
|
+
|
|
139
|
+
### Findings
|
|
140
|
+
|
|
141
|
+
Use severity levels:
|
|
142
|
+
|
|
143
|
+
- **Critical** — Must fix before merging. Bugs, security issues, data loss risks.
|
|
144
|
+
- **Suggestion** — Recommended improvement. Better patterns, clearer code, potential issues.
|
|
145
|
+
- **Nice to have** — Optional optimization. Minor style tweaks, small performance gains.
|
|
146
|
+
|
|
147
|
+
For each finding, include:
|
|
148
|
+
|
|
149
|
+
1. **File and line reference** (e.g., `src/foo.ts:42`)
|
|
150
|
+
2. **What's wrong** — Clear description of the issue
|
|
151
|
+
3. **Why it matters** — Impact if not addressed
|
|
152
|
+
4. **Suggested fix** — Concrete code suggestion when possible
|
|
153
|
+
|
|
154
|
+
### Verdict
|
|
155
|
+
|
|
156
|
+
One of:
|
|
157
|
+
|
|
158
|
+
- **Approve** — No critical issues, good to merge
|
|
159
|
+
- **Request changes** — Has critical issues that need fixing
|
|
160
|
+
- **Comment** — Has suggestions but no blockers
|
|
161
|
+
|
|
162
|
+
## Step 4: Post PR inline comments (only if `--comment` flag was set)
|
|
163
|
+
|
|
164
|
+
Skip this step if `--comment` was not specified or the review target is not a PR.
|
|
165
|
+
|
|
166
|
+
First, get the repository owner/repo and the PR's HEAD commit SHA:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
gh repo view --json owner,name --jq '"\(.owner.login)/\(.name)"'
|
|
170
|
+
gh pr view {pr_number} --json headRefOid --jq '.headRefOid'
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
**Important:** Use `gh pr view --json headRefOid` instead of `git rev-parse HEAD` — the local branch may be behind the remote, and the GitHub API requires the exact remote HEAD SHA. If either command fails, inform the user and skip Step 4.
|
|
174
|
+
|
|
175
|
+
Then, for each confirmed finding, post an **inline comment** on the specific file and line using `gh api`:
|
|
176
|
+
|
|
177
|
+
**Shell safety:** Review content may contain double quotes, `$VAR`, backticks, or other shell-sensitive characters. Do NOT interpolate review text directly into shell arguments. Instead, use a **two-step process**: write the body to a temp file using the `write_file` tool (which bypasses shell interpretation entirely), then reference the file with `-F body=@file` in the shell command.
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
# Step A: Use write_file tool to create /tmp/pr-comment.txt with content:
|
|
181
|
+
**[{severity}]** {issue description}
|
|
182
|
+
|
|
183
|
+
{suggested fix}
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
# Step B: Post single-line comment referencing the file:
|
|
188
|
+
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments \
|
|
189
|
+
-F body=@/tmp/pr-comment.txt \
|
|
190
|
+
-f commit_id="{commit_sha}" \
|
|
191
|
+
-f path="{file_path}" \
|
|
192
|
+
-F line={line_number} \
|
|
193
|
+
-f side="RIGHT"
|
|
194
|
+
|
|
195
|
+
# For multi-line findings (e.g., line range 42-50), add start_line and start_side:
|
|
196
|
+
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments \
|
|
197
|
+
-F body=@/tmp/pr-comment.txt \
|
|
198
|
+
-f commit_id="{commit_sha}" \
|
|
199
|
+
-f path="{file_path}" \
|
|
200
|
+
-F start_line={start_line} \
|
|
201
|
+
-F line={end_line} \
|
|
202
|
+
-f start_side="RIGHT" \
|
|
203
|
+
-f side="RIGHT"
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Repeat Steps A-B for each finding, overwriting the temp file each time. Clean up the temp file in Step 5.
|
|
207
|
+
|
|
208
|
+
If posting an inline comment fails (e.g., line not part of the diff, auth error), include the finding in the overall review summary comment instead.
|
|
209
|
+
|
|
210
|
+
**Important rules:**
|
|
211
|
+
|
|
212
|
+
- Only post **ONE comment per unique issue** — do not duplicate across lines
|
|
213
|
+
- Keep each comment concise and actionable
|
|
214
|
+
- Include the severity tag (Critical/Suggestion/Nice to have) at the start of each comment
|
|
215
|
+
- Include the suggested fix in the comment body when available
|
|
216
|
+
|
|
217
|
+
After posting all inline comments, use `write_file` to create `/tmp/pr-review-summary.txt` with the summary text, then submit the review using the action that matches the verdict from Step 3:
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
# Submit review with the matching action:
|
|
221
|
+
# If verdict is "Approve":
|
|
222
|
+
gh pr review {pr_number} --approve --body-file /tmp/pr-review-summary.txt
|
|
223
|
+
|
|
224
|
+
# If verdict is "Request changes":
|
|
225
|
+
gh pr review {pr_number} --request-changes --body-file /tmp/pr-review-summary.txt
|
|
226
|
+
|
|
227
|
+
# If verdict is "Comment":
|
|
228
|
+
gh pr review {pr_number} --comment --body-file /tmp/pr-review-summary.txt
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
If there are **no confirmed findings**:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
gh pr review {pr_number} --approve --body "No issues found. LGTM! ✅"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Step 5: Restore environment
|
|
238
|
+
|
|
239
|
+
If you checked out a PR branch in Step 1, restore the original state now: check out the original branch, `git stash pop` if changes were stashed, and remove all temp files (`/tmp/pr-review-context.md`, `/tmp/pr-comment.txt`, `/tmp/pr-review-summary.txt`).
|
|
240
|
+
|
|
241
|
+
This step runs **after** Step 4 to ensure the PR branch is still checked out when posting inline comments (Step 4 needs the correct commit SHA from the PR branch).
|
|
242
|
+
|
|
243
|
+
## Exclusion Criteria
|
|
244
|
+
|
|
245
|
+
These criteria apply to both Step 2 (review agents) and Step 2.5 (verification agents). Do NOT flag or confirm any finding that matches:
|
|
246
|
+
|
|
247
|
+
- Pre-existing issues in unchanged code (focus on the diff only)
|
|
248
|
+
- Style, formatting, or naming that matches surrounding codebase conventions
|
|
249
|
+
- Pedantic nitpicks that a senior engineer would not flag
|
|
250
|
+
- Issues that a linter or type checker would catch automatically
|
|
251
|
+
- Subjective "consider doing X" suggestions that aren't real problems
|
|
252
|
+
- If you're unsure whether something is a problem, do NOT report it
|
|
253
|
+
|
|
254
|
+
## Guidelines
|
|
255
|
+
|
|
256
|
+
- Be specific and actionable. Avoid vague feedback like "could be improved."
|
|
257
|
+
- Reference the existing codebase conventions — don't impose external style preferences.
|
|
258
|
+
- Focus on the diff, not pre-existing issues in unchanged code.
|
|
259
|
+
- Keep the review concise. Don't repeat the same point for every occurrence.
|
|
260
|
+
- When suggesting a fix, show the actual code change.
|
|
261
|
+
- Flag any exposed secrets, credentials, API keys, or tokens in the diff as **Critical**.
|