@tencent-ai/agent-sdk 0.3.99 → 0.3.100

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.
Files changed (458) hide show
  1. package/cli/CHANGELOG.md +26 -0
  2. package/cli/dist/codebuddy-headless.js +53 -53
  3. package/cli/dist/web-ui/assets/index-BoMlEqUE.js +439 -0
  4. package/cli/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
  5. package/cli/dist/web-ui/docs/cn/cli/acp.md +152 -0
  6. package/cli/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
  7. package/cli/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
  8. package/cli/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
  9. package/cli/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
  10. package/cli/dist/web-ui/docs/cn/cli/channels.md +215 -0
  11. package/cli/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
  12. package/cli/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
  13. package/cli/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
  14. package/cli/dist/web-ui/docs/cn/cli/costs.md +174 -0
  15. package/cli/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
  16. package/cli/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
  17. package/cli/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
  18. package/cli/dist/web-ui/docs/cn/cli/headless.md +258 -0
  19. package/cli/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
  20. package/cli/dist/web-ui/docs/cn/cli/hooks.md +805 -0
  21. package/cli/dist/web-ui/docs/cn/cli/iam.md +530 -0
  22. package/cli/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
  23. package/cli/dist/web-ui/docs/cn/cli/installation.md +291 -0
  24. package/cli/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
  25. package/cli/dist/web-ui/docs/cn/cli/mcp.md +739 -0
  26. package/cli/dist/web-ui/docs/cn/cli/memory.md +436 -0
  27. package/cli/dist/web-ui/docs/cn/cli/models.md +356 -0
  28. package/cli/dist/web-ui/docs/cn/cli/overview.md +100 -0
  29. package/cli/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
  30. package/cli/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
  31. package/cli/dist/web-ui/docs/cn/cli/plugins.md +689 -0
  32. package/cli/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
  33. package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
  34. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
  35. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
  36. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
  37. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
  38. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
  39. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
  40. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
  41. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
  42. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
  43. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
  44. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
  45. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
  46. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
  47. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
  48. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
  49. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
  50. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
  51. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
  52. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
  53. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
  54. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
  55. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
  56. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
  57. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
  58. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
  59. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
  60. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
  61. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
  62. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
  63. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
  64. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
  65. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
  66. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
  67. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
  68. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
  69. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
  70. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
  71. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
  72. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
  73. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
  74. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
  75. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
  76. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
  77. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
  78. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
  79. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
  80. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
  81. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
  82. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
  83. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
  84. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
  85. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
  86. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
  87. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
  88. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
  89. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
  90. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
  91. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
  92. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
  93. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
  94. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
  95. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
  96. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
  97. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
  98. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
  99. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
  100. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
  101. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
  102. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
  103. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
  104. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
  105. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
  106. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
  107. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
  108. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
  109. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
  110. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
  111. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
  112. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
  113. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
  114. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
  115. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
  116. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
  117. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
  118. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
  119. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
  120. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
  121. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
  122. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
  123. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
  124. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
  125. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
  126. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
  127. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
  128. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
  129. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
  130. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
  131. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
  132. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
  133. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
  134. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
  135. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
  136. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
  137. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
  138. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
  139. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
  140. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
  141. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
  142. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
  143. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
  144. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
  145. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
  146. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
  147. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
  148. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
  149. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
  150. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
  151. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
  152. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
  153. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
  154. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
  155. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
  156. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
  157. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
  158. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
  159. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
  160. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
  161. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
  162. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
  163. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
  164. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
  165. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
  166. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
  167. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
  168. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
  169. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
  170. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
  171. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
  172. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
  173. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
  174. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
  175. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
  176. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
  177. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
  178. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
  179. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
  180. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
  181. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
  182. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
  183. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
  184. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
  185. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
  186. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
  187. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
  188. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
  189. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  190. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  191. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  192. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  193. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  194. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  195. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  196. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  197. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  198. package/cli/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  199. package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  200. package/cli/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  201. package/cli/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  202. package/cli/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  203. package/cli/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  204. package/cli/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  205. package/cli/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  206. package/cli/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  207. package/cli/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  208. package/cli/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  209. package/cli/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  210. package/cli/dist/web-ui/docs/cn/cli/security.md +387 -0
  211. package/cli/dist/web-ui/docs/cn/cli/settings.md +602 -0
  212. package/cli/dist/web-ui/docs/cn/cli/skills.md +448 -0
  213. package/cli/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  214. package/cli/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  215. package/cli/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  216. package/cli/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  217. package/cli/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  218. package/cli/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  219. package/cli/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  220. package/cli/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  221. package/cli/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  222. package/cli/dist/web-ui/docs/en/cli/acp.md +126 -0
  223. package/cli/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  224. package/cli/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
  225. package/cli/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  226. package/cli/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  227. package/cli/dist/web-ui/docs/en/cli/channels.md +215 -0
  228. package/cli/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  229. package/cli/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  230. package/cli/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
  231. package/cli/dist/web-ui/docs/en/cli/costs.md +174 -0
  232. package/cli/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  233. package/cli/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  234. package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  235. package/cli/dist/web-ui/docs/en/cli/headless.md +258 -0
  236. package/cli/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  237. package/cli/dist/web-ui/docs/en/cli/hooks.md +801 -0
  238. package/cli/dist/web-ui/docs/en/cli/iam.md +526 -0
  239. package/cli/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  240. package/cli/dist/web-ui/docs/en/cli/installation.md +266 -0
  241. package/cli/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  242. package/cli/dist/web-ui/docs/en/cli/mcp.md +739 -0
  243. package/cli/dist/web-ui/docs/en/cli/memory.md +436 -0
  244. package/cli/dist/web-ui/docs/en/cli/models.md +355 -0
  245. package/cli/dist/web-ui/docs/en/cli/overview.md +100 -0
  246. package/cli/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  247. package/cli/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  248. package/cli/dist/web-ui/docs/en/cli/plugins.md +688 -0
  249. package/cli/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  250. package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
  251. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  252. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  253. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  254. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  255. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  256. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  257. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  258. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  259. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  260. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  261. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  262. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  263. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  264. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  265. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  266. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  267. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  268. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  269. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  270. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  271. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  272. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  273. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  274. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  275. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  276. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  277. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  278. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  279. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  280. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  281. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  282. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  283. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  284. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  285. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  286. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  287. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  288. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  289. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  290. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  291. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  292. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  293. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  294. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  295. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  296. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  297. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  298. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  299. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  300. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  301. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  302. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  303. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  304. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  305. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  306. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  307. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  308. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  309. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  310. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  311. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  312. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  313. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  314. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  315. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  316. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  317. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  318. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  319. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  320. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  321. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  322. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  323. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  324. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  325. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  326. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  327. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  328. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  329. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  330. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  331. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  332. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  333. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  334. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  335. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  336. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  337. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  338. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  339. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  340. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  341. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  342. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  343. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  344. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  345. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  346. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  347. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  348. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  349. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  350. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  351. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  352. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  353. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  354. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  355. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  356. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  357. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  358. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  359. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  360. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  361. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  362. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  363. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  364. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  365. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  366. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  367. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  368. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  369. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  370. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  371. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  372. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  373. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  374. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  375. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  376. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  377. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  378. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  379. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  380. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  381. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  382. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  383. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  384. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  385. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  386. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  387. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  388. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  389. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  390. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  391. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  392. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  393. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  394. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  395. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  396. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  397. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  398. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  399. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  400. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  401. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  402. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  403. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  404. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  405. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  406. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  407. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  408. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  409. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  410. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  411. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  412. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  413. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  414. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  415. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  416. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  417. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  418. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  419. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  420. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  421. package/cli/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  422. package/cli/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  423. package/cli/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  424. package/cli/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  425. package/cli/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  426. package/cli/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  427. package/cli/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  428. package/cli/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  429. package/cli/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
  430. package/cli/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  431. package/cli/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
  432. package/cli/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  433. package/cli/dist/web-ui/docs/en/cli/security.md +388 -0
  434. package/cli/dist/web-ui/docs/en/cli/settings.md +602 -0
  435. package/cli/dist/web-ui/docs/en/cli/skills.md +448 -0
  436. package/cli/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  437. package/cli/dist/web-ui/docs/en/cli/statusline.md +525 -0
  438. package/cli/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  439. package/cli/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  440. package/cli/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  441. package/cli/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  442. package/cli/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  443. package/cli/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  444. package/cli/dist/web-ui/docs/en/cli/worktree.md +660 -0
  445. package/cli/dist/web-ui/docs/search-index-en.json +1 -0
  446. package/cli/dist/web-ui/docs/search-index-zh.json +1 -0
  447. package/cli/dist/web-ui/docs/sidebar-en.json +1 -0
  448. package/cli/dist/web-ui/docs/sidebar-zh.json +1 -0
  449. package/cli/dist/web-ui/index.html +2 -2
  450. package/cli/package.json +1 -1
  451. package/cli/product.cloudhosted.json +2 -2
  452. package/cli/product.internal.json +2 -2
  453. package/cli/product.ioa.json +2 -2
  454. package/cli/product.json +3 -3
  455. package/cli/product.selfhosted.json +2 -2
  456. package/package.json +1 -1
  457. package/cli/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
  458. package/cli/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,554 @@
1
+ # CodeBuddy Code Best Practices
2
+
3
+ > From configuring your environment to parallel scaling, master the techniques and patterns that make CodeBuddy Code work at its best.
4
+
5
+ CodeBuddy Code is an intelligent programming environment. Unlike traditional Q&A assistants, CodeBuddy can read files, execute commands, modify code, and autonomously solve problems while you observe, guide, or step away.
6
+
7
+ This changes how you work. Instead of writing code yourself and asking for review, you describe goals and let CodeBuddy explore, plan, and implement.
8
+
9
+ This guide covers patterns that have proven effective across various codebases, languages, and environments.
10
+
11
+
12
+ ## Give CodeBuddy Ways to Verify Its Work
13
+
14
+ > **Core Advice**: Provide tests, screenshots, or expected outputs so CodeBuddy can self-check. This is the single practice that improves results the most.
15
+
16
+ CodeBuddy performs significantly better when it can verify its own work—running tests, comparing screenshots, validating outputs.
17
+
18
+ Without clear success criteria, it may produce results that look correct but don't actually work. You become the only feedback loop, and every mistake requires your attention.
19
+
20
+ | Strategy | Before | After |
21
+ |----------|--------|-------|
22
+ | **Provide verification criteria** | *"Implement a function that validates emails"* | *"Write a validateEmail function. Test cases: user@example.com returns true, invalid returns false, user@.com returns false. Run the tests after implementing"* |
23
+ | **Verify UI changes visually** | *"Make the dashboard look better"* | *"[paste screenshot] Implement this design. After finishing, take a screenshot and compare with the original, list differences and fix them"* |
24
+ | **Address root causes** | *"Build is failing"* | *"Build is failing, error message: [paste error]. Fix it and verify the build succeeds. Address the root cause, don't just suppress the error"* |
25
+
26
+ Verification can be a test suite, linter, or Bash command that checks output. Invest time to make verification reliable.
27
+
28
+ ---
29
+
30
+ ## Explore First, Plan Second, Code Third
31
+
32
+ > **Core Advice**: Separate research and planning from implementation to avoid solving the wrong problem.
33
+
34
+ Having CodeBuddy code directly may produce code that solves the wrong problem. Use plan mode to separate exploration from execution.
35
+
36
+ The recommended workflow has four phases:
37
+
38
+ ### 1. Explore
39
+
40
+ Enter plan mode. CodeBuddy reads files and answers questions but doesn't make any changes.
41
+
42
+ ```
43
+ > Read src/auth and understand how we handle sessions and login.
44
+ > Also look at how we manage environment variables for keys.
45
+ ```
46
+
47
+ ### 2. Plan
48
+
49
+ Have CodeBuddy create a detailed implementation plan.
50
+
51
+ ```
52
+ > I want to add OAuth login. What files need to be modified? What's the session flow? Create a plan.
53
+ ```
54
+
55
+ Press `Ctrl+G` to open the plan in a text editor and edit directly before CodeBuddy continues.
56
+
57
+ ### 3. Implement
58
+
59
+ Switch back to normal mode and let CodeBuddy code, validating against the plan.
60
+
61
+ ```
62
+ > Implement the OAuth flow according to your plan. Write tests for the callback handler, run the test suite and fix any failures.
63
+ ```
64
+
65
+ ### 4. Commit
66
+
67
+ Have CodeBuddy commit with a descriptive message and create an MR.
68
+
69
+ ```
70
+ > Commit with a descriptive message and open an MR
71
+ ```
72
+
73
+ > **Note**: Plan mode is useful but adds overhead. For tasks with clear scope and small modifications (like fixing typos, adding log lines, renaming variables), let CodeBuddy execute directly. Planning is most valuable when you're uncertain about the approach, changes span multiple files, or you're unfamiliar with the code being modified.
74
+
75
+ ---
76
+
77
+ ## Provide Specific Context in Prompts
78
+
79
+ > **Core Advice**: The more precise your instructions, the fewer corrections needed.
80
+
81
+ CodeBuddy can infer intent but can't read minds. Reference specific files, mention constraints, point to example patterns.
82
+
83
+ | Strategy | Before | After |
84
+ |----------|--------|-------|
85
+ | **Scope the task** | *"Add tests for foo.py"* | *"Write tests for foo.py covering edge cases for user logout. Avoid using mocks"* |
86
+ | **Point to sources** | *"Why is ExecutionFactory's API so weird?"* | *"Look at ExecutionFactory's git history and summarize how its API evolved"* |
87
+ | **Reference existing patterns** | *"Add a calendar component"* | *"Look at how existing components on the homepage are implemented to understand the pattern. HotDogWidget.php is a good example. Follow this pattern to implement a new calendar component that supports month selection and year navigation. Build from scratch, don't use libraries beyond what the codebase already has"* |
88
+ | **Describe symptoms** | *"Fix the login bug"* | *"Users report login fails after session timeout. Check the authentication flow in src/auth/, especially token refresh. Write a failing test that reproduces the issue, then fix it"* |
89
+
90
+ Vague prompts are also useful during exploration, where iteration is acceptable. Prompts like `"What would you improve about this file?"` can surface questions you didn't know to ask.
91
+
92
+ ### Provide Rich Content
93
+
94
+ > **Core Advice**: Use `@` to reference files, paste screenshots/images, or pipe in data directly.
95
+
96
+ You can provide rich data to CodeBuddy in multiple ways:
97
+
98
+ - **Reference files with `@`**: CodeBuddy reads files before responding, no need to describe code locations
99
+ - **Paste images directly**: Copy/paste or drag-drop images into prompts
100
+ - **Provide URLs**: Links to documentation and API references. Use `/permissions` to allow common domains
101
+ - **Pipe in data**: Run `cat error.log | codebuddy` to send file content directly
102
+ - **Let CodeBuddy fetch it**: Tell CodeBuddy to use Bash commands, MCP tools, or read files to get context
103
+
104
+ ---
105
+
106
+ ## Configure Your Environment
107
+
108
+ A few setup steps can make CodeBuddy Code significantly more effective across all sessions.
109
+
110
+ ### Set Your Preferred Language
111
+
112
+ If you want CodeBuddy Code to always respond in a specific language (e.g., Simplified Chinese), you can set the Language option via the `/config` command:
113
+
114
+ ```
115
+ > /config
116
+ # Select Language, enter your preferred language, e.g., "Simplified Chinese"
117
+ ```
118
+
119
+ Or configure it directly in `~/.codebuddy/settings.json`:
120
+
121
+ ```json
122
+ {
123
+ "language": "Simplified Chinese"
124
+ }
125
+ ```
126
+
127
+ After setting, CodeBuddy Code will use the specified language for all responses and explanations, while technical terms and code identifiers remain unchanged. Leave it empty to automatically detect based on your input language.
128
+
129
+ ### Write an Effective CODEBUDDY.md
130
+
131
+ > **Core Advice**: Run `/init` to generate an initial CODEBUDDY.md based on your current project structure, then refine it over time.
132
+
133
+ CODEBUDDY.md is a special file CodeBuddy reads at the start of every conversation. Include Bash commands, code style, and workflow rules. This provides CodeBuddy with persistent context that **cannot be inferred from code**.
134
+
135
+ The `/init` command analyzes the codebase, detects build systems, test frameworks, and code patterns, giving you a foundation to refine.
136
+
137
+ CODEBUDDY.md has no fixed format, but keep it short and human-readable. For example:
138
+
139
+ ```markdown
140
+ # Code Style
141
+ - Use ES modules (import/export) syntax, not CommonJS (require)
142
+ - Destructure imports where possible (e.g., import { foo } from 'bar')
143
+
144
+ # Workflow
145
+ - Always type-check after completing a series of code changes
146
+ - For performance, prefer running single tests over the entire test suite
147
+ ```
148
+
149
+ CODEBUDDY.md loads every session, so only include broadly applicable content. For domain knowledge or workflows relevant only in specific situations, use [Skills](skills.md) instead. CodeBuddy loads them on demand without bloating every conversation.
150
+
151
+ Keep it concise. For each line, ask yourself: *"Would removing this cause CodeBuddy to make mistakes?"* If not, remove it. A bloated CODEBUDDY.md causes CodeBuddy to ignore your actual instructions.
152
+
153
+ | Should Include | Should Not Include |
154
+ |----------------|-------------------|
155
+ | Bash commands CodeBuddy can't guess | Content CodeBuddy can figure out by reading code |
156
+ | Code style rules different from defaults | Standard language conventions CodeBuddy already knows |
157
+ | Test instructions and preferred test runner | Detailed API documentation (use links instead) |
158
+ | Repository etiquette (branch naming, MR conventions) | Information that changes frequently |
159
+ | Project-specific architectural decisions | Long explanations or tutorials |
160
+ | Development environment quirks (required env vars) | File-by-file description of the codebase |
161
+ | Common pitfalls or non-obvious behavior | Self-evident practices like "write clean code" |
162
+
163
+ If CodeBuddy still does things you don't want despite having rules, the file may be too long and rules are being ignored. If CodeBuddy asks questions answered in CODEBUDDY.md, the wording may be ambiguous. Treat CODEBUDDY.md like code: review when things go wrong, regularly trim, and test changes by observing whether CodeBuddy's behavior actually changes.
164
+
165
+ You can increase compliance by adding emphasis (like "IMPORTANT" or "YOU MUST"). Commit CODEBUDDY.md to git so the team can contribute. The value of this file compounds over time.
166
+
167
+ CODEBUDDY.md files can import other files using `@path/to/import` syntax:
168
+
169
+ ```markdown
170
+ See @README.md for project overview, @package.json for available npm commands.
171
+
172
+ # Additional Notes
173
+ - Git workflow: @docs/git-instructions.md
174
+ - Personal overrides: @~/.codebuddy/my-project-instructions.md
175
+ ```
176
+
177
+ You can place CODEBUDDY.md files in multiple locations:
178
+
179
+ - **Home directory (`~/.codebuddy/CODEBUDDY.md`)**: Applies to all CodeBuddy sessions
180
+ - **Project root (`./CODEBUDDY.md`)**: Commit to git to share with the team, or name it `CODEBUDDY.local.md` and `.gitignore` it
181
+ - **Parent directories**: For monorepos, both `root/CODEBUDDY.md` and `root/foo/CODEBUDDY.md` are automatically loaded
182
+ - **Subdirectories**: When CodeBuddy works with files in these subdirectories, subdirectory CODEBUDDY.md files are loaded on demand
183
+
184
+ ### Configure Permissions
185
+
186
+ > **Core Advice**: Use `/permissions` to allow safe commands, or use `/sandbox` for OS-level isolation. This reduces interruptions while maintaining control.
187
+
188
+ By default, CodeBuddy Code requests permission for operations that may modify the system: file writes, Bash commands, MCP tools, etc. This is safe but tedious. After the tenth approval, you're not really reviewing anymore, just clicking through. There are two ways to reduce these interruptions:
189
+
190
+ - **Permission allowlist**: Allow specific tools you know are safe (like `npm run lint` or `git commit`)
191
+ - **Sandbox**: Enable OS-level isolation that limits filesystem and network access, allowing CodeBuddy to work more freely within defined boundaries
192
+
193
+ Alternatively, use `--dangerously-skip-permissions` to bypass all permission checks, suitable for contained workflows like fixing lint errors or generating boilerplate code.
194
+
195
+ > **Warning**: Letting CodeBuddy run arbitrary commands can lead to data loss, system damage, or data exfiltration through prompt injection. Only use `--dangerously-skip-permissions` in sandboxes without network access.
196
+
197
+ Learn more about [configuring permissions](settings.md) and [enabling sandboxing](sandboxing.md).
198
+
199
+ ### Use CLI Tools
200
+
201
+ > **Core Advice**: Tell CodeBuddy Code to use CLI tools like `gh`, `sentry-cli`, etc. when interacting with external services.
202
+
203
+ CLI tools are the most context-efficient way to interact with external services. If you use GitHub/GitLab, install the respective CLI. CodeBuddy knows how to use it to create issues, open MRs, and read comments. Without the CLI, CodeBuddy can still use APIs, but unauthenticated requests often hit rate limits.
204
+
205
+ CodeBuddy is also good at learning CLI tools it doesn't recognize. Try prompts like: `Use 'foo-cli-tool --help' to learn about the foo tool, then use it to solve A, B, C.`
206
+
207
+ ### Connect MCP Servers
208
+
209
+ > **Core Advice**: Run `codebuddy mcp add` to connect external tools like Notion, Figma, or your database.
210
+
211
+ Through [MCP servers](mcp.md), you can have CodeBuddy implement features from issue trackers, query databases, analyze monitoring data, integrate designs from Figma, and automate workflows.
212
+
213
+ ### Set Up Hooks
214
+
215
+ > **Core Advice**: Use hooks for operations that must happen every time without exception.
216
+
217
+ [Hooks](hooks-guide.md) automatically run scripts at specific points in CodeBuddy's workflow. Unlike CODEBUDDY.md instructions which are advisory, hooks are deterministic and guarantee operations happen.
218
+
219
+ CodeBuddy can write hooks for you. Try prompts like: *"Write a hook that runs eslint after every file edit"* or *"Write a hook that blocks writes to the migrations folder"*. Run `/hooks` for interactive configuration, or edit `.codebuddy/settings.json` directly.
220
+
221
+ ### Create Skills
222
+
223
+ > **Core Advice**: Create `SKILL.md` files in `.codebuddy/skills/` to provide CodeBuddy with domain knowledge and reusable workflows.
224
+
225
+ [Skills](skills.md) extend CodeBuddy's knowledge with project, team, or domain-specific information. CodeBuddy automatically applies them when relevant, or you can invoke them directly with `/skill-name`.
226
+
227
+ Create skills by adding a directory with a `SKILL.md` file in `.codebuddy/skills/`:
228
+
229
+ ```markdown
230
+ # .codebuddy/skills/api-conventions/SKILL.md
231
+ ---
232
+ name: api-conventions
233
+ description: REST API design conventions for our services
234
+ ---
235
+ # API Conventions
236
+ - Use kebab-case for URL paths
237
+ - Use camelCase for JSON properties
238
+ - Always include pagination for list endpoints
239
+ - Version APIs in URL paths (/v1/, /v2/)
240
+ ```
241
+
242
+ Skills can also define repeatable workflows you invoke directly:
243
+
244
+ ```markdown
245
+ # .codebuddy/skills/fix-issue/SKILL.md
246
+ ---
247
+ name: fix-issue
248
+ description: Fix a GitHub issue
249
+ disable-model-invocation: true
250
+ ---
251
+ Analyze and fix GitHub issue: $ARGUMENTS.
252
+
253
+ 1. Use `gh issue view` to get issue details
254
+ 2. Understand the problem described in the issue
255
+ 3. Search for relevant files in the codebase
256
+ 4. Implement necessary changes to fix the issue
257
+ 5. Write and run tests to verify the fix
258
+ 6. Ensure code passes lint and type checks
259
+ 7. Create a descriptive commit message
260
+ 8. Push and create an MR
261
+ ```
262
+
263
+ Run `/fix-issue 1234` to invoke it. Use `disable-model-invocation: true` for workflows with side effects that you want to trigger manually.
264
+
265
+ ### Create Custom Subagents
266
+
267
+ > **Core Advice**: Define specialized helpers in `.codebuddy/agents/` that CodeBuddy can delegate isolated tasks to.
268
+
269
+ [Subagents](sub-agents.md) run in their own context with their own set of allowed tools. They're suitable for tasks that read many files or require focus without cluttering your main conversation.
270
+
271
+ ```markdown
272
+ # .codebuddy/agents/security-reviewer.md
273
+ ---
274
+ name: security-reviewer
275
+ description: Review code for security vulnerabilities
276
+ tools: Read, Grep, Glob, Bash
277
+ model: opus
278
+ ---
279
+ You are a senior security engineer. Review code for:
280
+ - Injection vulnerabilities (SQL, XSS, command injection)
281
+ - Authentication and authorization flaws
282
+ - Secrets or credentials in code
283
+ - Insecure data handling
284
+
285
+ Provide specific line number references and suggested fixes.
286
+ ```
287
+
288
+ Explicitly tell CodeBuddy to use subagents: *"Use a subagent to review this code for security issues."*
289
+
290
+ ### Install Plugins
291
+
292
+ > **Core Advice**: Run `/plugin` to browse the marketplace. Plugins add skills, tools, and integrations without configuration.
293
+
294
+ [Plugins](plugins.md) package skills, hooks, subagents, and MCP servers into single installable units provided by the community and officially. If you use typed languages, install code intelligence plugins to give CodeBuddy precise symbol navigation and automatic error detection after edits.
295
+
296
+ For guidance on choosing between skills, subagents, hooks, and MCP, see [Extending CodeBuddy Code](plugins.md).
297
+
298
+ ---
299
+
300
+ ## Communicate Effectively
301
+
302
+ How you communicate with CodeBuddy Code significantly affects result quality.
303
+
304
+ ### Ask Questions About the Codebase
305
+
306
+ > **Core Advice**: Ask CodeBuddy questions like you would ask a senior engineer.
307
+
308
+ When familiarizing yourself with a new codebase, use CodeBuddy Code for learning and exploration. You can ask CodeBuddy the same kinds of questions you'd ask other engineers:
309
+
310
+ - How does the logging system work?
311
+ - How do I create a new API endpoint?
312
+ - What does the `async move { ... }` on line 134 of foo.rs do?
313
+ - What edge cases does CustomerOnboardingFlowImpl handle?
314
+ - Why does this code call `foo()` instead of `bar()` at line 333?
315
+
316
+ Using CodeBuddy Code this way is an effective onboarding workflow, improving ramp-up time and reducing dependency on other engineers. No special prompting techniques needed: just ask directly.
317
+
318
+ ### Have CodeBuddy Interview You
319
+
320
+ > **Core Advice**: For larger features, have CodeBuddy interview you first. Start with a brief prompt and let CodeBuddy use the AskUserQuestion tool to interview you.
321
+
322
+ CodeBuddy will ask about things you may not have considered, including technical implementation, UI/UX, edge cases, and tradeoffs.
323
+
324
+ ```
325
+ I want to build [brief description]. Use the AskUserQuestion tool to interview me in detail.
326
+
327
+ Ask about technical implementation, UI/UX, edge cases, concerns, and tradeoffs. Don't ask obvious questions, dig deep into difficult points I may not have considered.
328
+
329
+ Continue interviewing until we've covered everything, then write the complete spec to SPEC.md.
330
+ ```
331
+
332
+ Once the spec is complete, start a new session to execute it. The new session has clean context fully focused on implementation, and you have a written spec to reference.
333
+
334
+ ---
335
+
336
+ ## Manage Your Sessions
337
+
338
+ Conversations are persistent and reversible. Take advantage of this!
339
+
340
+ ### Correct Early and Often
341
+
342
+ > **Core Advice**: Correct CodeBuddy as soon as you notice it going off course.
343
+
344
+ The best results come from tight feedback loops. While CodeBuddy can occasionally solve problems perfectly on the first try, quick corrections usually lead to better solutions faster.
345
+
346
+ - **`Esc`**: Stop CodeBuddy midway with the `Esc` key. Context is preserved and you can redirect
347
+ - **`Esc + Esc` or `/rewind`**: Press `Esc` twice or run `/rewind` to open the rewind menu and restore previous conversation and code state
348
+ - **`"Undo that"`**: Have CodeBuddy revert its changes
349
+ - **`/clear`**: Reset context between unrelated tasks. Long sessions with irrelevant context degrade performance
350
+
351
+ If you're correcting CodeBuddy on the same issue more than twice in the same session, context is already cluttered with failed attempts. Run `/clear` and start fresh with a more specific prompt incorporating what you learned. A clean session with a better prompt almost always outperforms a long session accumulating corrections.
352
+
353
+ ### Actively Manage Context
354
+
355
+ > **Core Advice**: Run `/clear` between unrelated tasks to reset context.
356
+
357
+ When you approach the context limit, CodeBuddy Code automatically compresses conversation history, preserving important code and decisions while freeing space.
358
+
359
+ In long sessions, CodeBuddy's context window can fill with irrelevant conversations, file contents, and commands. This degrades performance and sometimes distracts CodeBuddy.
360
+
361
+ - Use `/clear` frequently between tasks to completely reset the context window
362
+ - When auto-compression triggers, CodeBuddy summarizes the most important content including code patterns, file states, and key decisions
363
+ - For more control, run `/compact <instructions>`, like `/compact focus on API changes`
364
+ - Customize compression behavior in CODEBUDDY.md with instructions like `"When compressing, always preserve the complete list of modified files and any test commands"` to ensure critical context is retained
365
+
366
+ ### Use Subagents for Investigation
367
+
368
+ > **Core Advice**: Delegate research with `"Use a subagent to investigate X"`. They explore in a separate context, keeping your main conversation clean for implementation.
369
+
370
+ Since context is your fundamental constraint, subagents are one of the most powerful tools available. When CodeBuddy researches the codebase, it reads many files, all consuming your context. Subagents run in a separate context window and return summaries:
371
+
372
+ ```
373
+ Use a subagent to investigate how our authentication system handles token refresh,
374
+ and whether we have any existing OAuth utilities we can reuse.
375
+ ```
376
+
377
+ The subagent explores the codebase, reads relevant files, and returns findings, all without cluttering your main conversation.
378
+
379
+ You can also use subagents for validation after CodeBuddy implements something:
380
+
381
+ ```
382
+ Use a subagent to review this code for edge cases
383
+ ```
384
+
385
+ ### Use Checkpoints to Roll Back
386
+
387
+ > **Core Advice**: Every operation CodeBuddy makes creates a checkpoint. You can restore conversation, code, or both to any previous checkpoint.
388
+
389
+ CodeBuddy automatically creates checkpoints before changes. Double-tap `Escape` or run `/rewind` to open the checkpoint menu. You can restore just the conversation (keeping code changes), just the code (keeping conversation), or both.
390
+
391
+ No need to carefully plan every step—you can tell CodeBuddy to try something risky. If it doesn't work, roll back and try a different approach. Checkpoints persist across sessions, so you can close the terminal and still roll back later.
392
+
393
+ > **Warning**: Checkpoints only track changes *CodeBuddy* makes, not external processes. This is not a replacement for git.
394
+
395
+ ### Resume Conversations
396
+
397
+ > **Core Advice**: Run `codebuddy --continue` to pick up where you left off, or `--resume` to select from recent sessions.
398
+
399
+ CodeBuddy Code saves conversations locally. When tasks span multiple sessions (you start a feature, get interrupted, come back the next day), you don't have to re-explain context:
400
+
401
+ ```bash
402
+ codebuddy --continue # Resume the most recent conversation
403
+ codebuddy --resume # Select from recent conversations
404
+ ```
405
+
406
+ Use `/rename` to give sessions descriptive names (`"oauth-migration"`, `"debugging-memory-leak"`) to find them later. Treat sessions like branches. Different workflows can have separate, persistent contexts.
407
+
408
+ ---
409
+
410
+ ## Automate and Scale
411
+
412
+ Once you can use one CodeBuddy effectively, multiply your output with parallel sessions, headless mode, and fan-out patterns.
413
+
414
+ Everything so far assumes one person, one CodeBuddy, one conversation. But CodeBuddy Code can scale horizontally. The techniques in this section show how you can accomplish more.
415
+
416
+ ### Run Headless Mode
417
+
418
+ > **Core Advice**: Use `codebuddy -p "prompt"` in CI, pre-commit hooks, or scripts. Add `--output-format stream-json` for streaming JSON output.
419
+
420
+ With `codebuddy -p "your prompt"`, you can run CodeBuddy headlessly without an interactive session. Headless mode is how you integrate CodeBuddy into CI pipelines, pre-commit hooks, or any automated workflow. Output formats (plain text, JSON, streaming JSON) let you parse results programmatically.
421
+
422
+ ```bash
423
+ # One-off queries
424
+ codebuddy -p "Explain what this project does"
425
+
426
+ # Structured output for scripts
427
+ codebuddy -p "List all API endpoints" --output-format json
428
+
429
+ # Streaming output for real-time processing
430
+ codebuddy -p "Analyze this log file" --output-format stream-json
431
+ ```
432
+
433
+ ### Run Multiple CodeBuddy Sessions
434
+
435
+ > **Core Advice**: Run multiple CodeBuddy sessions in parallel to accelerate development, run isolated experiments, or launch complex workflows.
436
+
437
+ There are two main ways to run parallel sessions:
438
+
439
+ - **Multiple terminal windows**: Start multiple CodeBuddy instances in different directories
440
+ - **Git Worktrees**: Each session works in its own isolated worktree
441
+
442
+ Beyond parallelizing work, multiple sessions enable quality-oriented workflows. Fresh context improves code review because CodeBuddy won't be biased toward code it just wrote.
443
+
444
+ For example, use a writer/reviewer pattern:
445
+
446
+ | Session A (Writer) | Session B (Reviewer) |
447
+ |--------------------|---------------------|
448
+ | `Implement a rate limiter for our API endpoints` | |
449
+ | | `Review the rate limiter implementation in @src/middleware/rateLimiter.ts. Look for edge cases, race conditions, and consistency with our existing middleware patterns.` |
450
+ | `Here's the review feedback: [Session B output]. Address these issues.` | |
451
+
452
+ You can do something similar with tests: have one CodeBuddy write tests, then another write code to pass them.
453
+
454
+ ### Fan Out Across Files
455
+
456
+ > **Core Advice**: Loop over tasks, calling `codebuddy -p` for each. Use `--allowedTools` to scope permissions for batch operations.
457
+
458
+ For large migrations or analysis, you can distribute work across multiple parallel CodeBuddy invocations:
459
+
460
+ **1. Generate a task list**
461
+
462
+ Have CodeBuddy list all files that need migration (e.g., `List all 2000 Python files that need migration`)
463
+
464
+ **2. Write a script to loop over the list**
465
+
466
+ ```bash
467
+ for file in $(cat files.txt); do
468
+ codebuddy -p "Migrate $file from React to Vue. Return OK or FAIL." \
469
+ --allowedTools "Edit,Bash(git commit *)"
470
+ done
471
+ ```
472
+
473
+ **3. Test on a few files first, then run at scale**
474
+
475
+ Refine the prompt based on what goes wrong with the first 2-3 files, then run on the full set. The `--allowedTools` flag limits what CodeBuddy can do, which is important for unattended runs.
476
+
477
+ You can also integrate CodeBuddy into existing data/processing pipelines:
478
+
479
+ ```bash
480
+ codebuddy -p "<your prompt>" --output-format json | your_command
481
+ ```
482
+
483
+ Use `--verbose` when developing, turn it off in production.
484
+
485
+ ### Safe Autonomous Mode
486
+
487
+ Use `codebuddy --dangerously-skip-permissions` to bypass all permission checks and let CodeBuddy work uninterrupted. This is suitable for workflows like fixing lint errors or generating boilerplate code.
488
+
489
+ > **Warning**: Letting CodeBuddy run arbitrary commands is risky and can lead to data loss, system damage, or data exfiltration (e.g., through prompt injection attacks). To minimize these risks, use `--dangerously-skip-permissions` in containers without network access.
490
+ >
491
+ > With sandboxing enabled (`/sandbox`), you get similar autonomy with better security. Sandboxing pre-defines boundaries rather than bypassing all checks.
492
+
493
+ ---
494
+
495
+ ## Avoid Common Failure Modes
496
+
497
+ These are common mistakes. Recognizing them early saves time:
498
+
499
+ ### 1. Kitchen Sink Sessions
500
+
501
+ You start with one task, then ask CodeBuddy about unrelated things, then return to the first task. Context fills with irrelevant information.
502
+
503
+ **Solution**: Use `/clear` between unrelated tasks.
504
+
505
+ ### 2. Repeated Corrections
506
+
507
+ CodeBuddy gets something wrong, you correct it, still wrong, you correct again. Context becomes polluted with failed attempts.
508
+
509
+ **Solution**: After two failed corrections, `/clear` and write a better initial prompt incorporating what you learned.
510
+
511
+ ### 3. Over-specified CODEBUDDY.md
512
+
513
+ If your CODEBUDDY.md is too long, CodeBuddy will ignore half of it because important rules get lost in noise.
514
+
515
+ **Solution**: Trim ruthlessly. If CodeBuddy already gets it right without that instruction, remove it or convert to a hook.
516
+
517
+ ### 4. Trust-Then-Verify Gap
518
+
519
+ CodeBuddy produces an implementation that looks reasonable but doesn't handle edge cases.
520
+
521
+ **Solution**: Always provide verification (tests, scripts, screenshots). If you can't verify it, don't ship it.
522
+
523
+ ### 5. Infinite Exploration
524
+
525
+ You tell CodeBuddy to "investigate" something without scoping it. CodeBuddy reads hundreds of files, filling up context.
526
+
527
+ **Solution**: Scope investigations narrowly, or use subagents so exploration doesn't consume your main context.
528
+
529
+ ---
530
+
531
+ ## Cultivate Your Intuition
532
+
533
+ The patterns in this guide aren't set in stone. They're starting points that usually work, but may not be optimal for every situation.
534
+
535
+ Sometimes you *should* let context accumulate because you're deep into a complex problem and history is valuable. Sometimes you should skip planning and let CodeBuddy figure it out because the task is exploratory. Sometimes a vague prompt is exactly right because you want to see how CodeBuddy interprets the problem before constraining it.
536
+
537
+ Notice what works. When CodeBuddy produces great output, notice what you did: prompt structure, context you provided, mode you were in. When CodeBuddy struggles, ask why. Context too noisy? Prompt too vague? Task too big for one pass?
538
+
539
+ Over time, you'll develop intuition that no guide can capture. You'll know when to be specific and when to be open, when to plan and when to explore, when to clear context and when to let it accumulate.
540
+
541
+ ---
542
+
543
+ ## Related Resources
544
+
545
+ - **[Quick Start Guide](quickstart.md)** - Get started in 5 minutes
546
+ - **[Common Workflows](common-workflows.md)** - Step-by-step guides for debugging, testing, MRs, and more
547
+ - **[CODEBUDDY.md Memory Management](memory.md)** - Store project conventions and persistent context
548
+ - **[Skills System](skills.md)** - Extend AI expertise
549
+ - **[Settings Configuration](settings.md)** - Configure CodeBuddy Code behavior
550
+ - **[CLI Reference](cli-reference.md)** - Complete command line reference
551
+
552
+ ---
553
+
554
+ *Master these best practices and make CodeBuddy Code your most capable programming companion*