{"id":1797,"date":"2026-07-28T17:50:26","date_gmt":"2026-07-28T09:50:26","guid":{"rendered":"https:\/\/www.imaseo.com\/blog\/?p=1797"},"modified":"2026-06-02T17:08:55","modified_gmt":"2026-06-02T09:08:55","slug":"8month-codex-cli-ai-coding-workflow","status":"publish","type":"post","link":"https:\/\/www.imaseo.com\/blog\/ai-tools\/8month-codex-cli-ai-coding-workflow","title":{"rendered":"\u7528\u4e86 8 \u4e2a\u6708 Codex CLI\uff0c\u603b\u7ed3\u51fa\u7684 AI \u7f16\u7a0b\u5de5\u4f5c\u6d41\u662f\u4ec0\u4e48\uff1f"},"content":{"rendered":"<p><strong>\u6211\u7528\u4e86 8 \u4e2a\u6708 Codex CLI\uff0c\u603b\u7ed3\u51fa\u8fd9\u5957 AI \u7f16\u7a0b\u5de5\u4f5c\u6d41<\/strong><\/p>\n<p>\u4ece\u53bb\u5e74\u5e95\u5230\u73b0\u5728\uff0c\u6211\u5df2\u7ecf\u6301\u7eed\u4f7f\u7528 Codex CLI \u8d85\u8fc7 8 \u4e2a\u6708\u3002\u5b83\u4ece\u4e00\u4e2a\u201c\u5076\u5c14\u5e2e\u5fd9\u5199\u4ee3\u7801\u201d\u7684\u5de5\u5177\uff0c\u9010\u6e10\u53d8\u6210\u4e86\u6211\u65e5\u5e38\u5f00\u53d1\u91cc\u6700\u91cd\u8981\u3001\u6700\u79bb\u4e0d\u5f00\u7684\u534f\u4f5c\u4f19\u4f34\u3002<\/p>\n<p>\u8fd9 8 \u4e2a\u6708\u91cc\uff0c\u6211\u7528\u5b83\u5b8c\u6210\u4e86\u65b0\u9875\u9762\u5f00\u53d1\u3001\u8001\u7ec4\u4ef6\u91cd\u6784\u3001\u7591\u96be Bug \u6392\u67e5\u3001\u5927\u578b\u9879\u76ee\u91cd\u6784\u3001\u67b6\u6784\u68b3\u7406\u3001Agent \u5de5\u5177\u8bbe\u8ba1\u3001RAG \u94fe\u8def\u4f18\u5316\u3001\u6587\u6863\u751f\u6210\u3001\u4e0a\u7ebf\u524d\u68c0\u67e5\u7b49\u51e0\u4e4e\u6240\u6709\u5f00\u53d1\u73af\u8282\u3002\u5b83\u771f\u6b63\u5e2e\u6211\u628a\u5f00\u53d1\u6d41\u7a0b\u91cd\u65b0\u7ec4\u7ec7\u4e86\u4e00\u904d\u3002<\/p>\n<p>\u4f46\u524d\u63d0\u662f\uff1a<strong>\u4f60\u5fc5\u987b\u7ed9\u5b83\u4e00\u5957\u6e05\u6670\u3001\u53ef\u91cd\u590d\u7684\u5de5\u4f5c\u6d41<\/strong>\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u6211\u5728\u771f\u5b9e\u9879\u76ee\u4e2d\u53cd\u590d\u8fed\u4ee3\u3001\u76ee\u524d\u8ba4\u4e3a\u6700\u7a33\u5b9a\u9ad8\u6548\u7684\u4e00\u5957 Codex CLI \u7f16\u7a0b\u5de5\u4f5c\u6d41\uff0c\u5168\u90e8\u5e72\u8d27\uff0c\u76f4\u63a5\u53ef\u843d\u5730\u3002<\/p>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u6700\u7ec8\u9009\u62e9\u4e86 Codex CLI<\/h3>\n<p>\u6211\u4e4b\u524d\u4e5f\u957f\u65f6\u95f4\u4f7f\u7528\u8fc7 Claude Code\u3002\u4e0d\u53ef\u5426\u8ba4\uff0cClaude \u5728\u7406\u89e3\u590d\u6742\u9700\u6c42\u548c\u751f\u6210\u8d28\u91cf\u4e0a\u786e\u5b9e\u60ca\u8273\uff0c\u4f46\u5b83\u5bf9\u56fd\u5185\u7528\u6237\u7684\u8bbf\u95ee\u7a33\u5b9a\u6027\u548c\u53ef\u6301\u7eed\u6027\u4e00\u76f4\u662f\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u5728\u591a\u6b21\u56e0\u4e3a\u7f51\u7edc\u6216\u9650\u5236\u9020\u6210\u4e2d\u65ad\u540e\uff0c\u6211\u9010\u6e10\u628a\u4e3b\u529b\u5207\u6362\u5230 Codex CLI\u3002\u534a\u5e74\u591a\u4e0b\u6765\uff0c\u5b83\u5728<strong>\u53ef\u63a7\u6027\u3001\u5de5\u7a0b\u96c6\u6210\u5ea6\u3001\u81ea\u52a8\u5316\u80fd\u529b<\/strong>\u4e0a\u7ed9\u4e86\u6211\u66f4\u5927\u7684\u786e\u5b9a\u611f\uff0c\u5df2\u7ecf\u5f7b\u5e95\u878d\u5165\u6211\u7684\u65e5\u5e38\u5f00\u53d1\u8282\u594f\u3002<\/p>\n<h3>\u4e8c\u3001\u6838\u5fc3\u524d\u63d0\uff1a\u628a\u201c\u8bb0\u5fc6\u201d\u53d8\u6210\u5236\u5ea6<\/h3>\n<p>\u521a\u5f00\u59cb\u7528 Codex CLI \u65f6\uff0c\u6211\u72af\u7684\u6700\u5927\u9519\u8bef\u662f\u4ee5\u4e3a\u5b83\u4f1a\u201c\u8bb0\u4f4f\u201d\u6211\u7684\u4e60\u60ef\u3002<\/p>\n<p>\u6bcf\u6b21\u65b0\u5f00\u4efb\u52a1\uff0c\u5b83\u5c31\u50cf\u5931\u5fc6\u4e86\u4e00\u6837\uff1a\u4e0d\u77e5\u9053\u9879\u76ee\u6280\u672f\u6808\u3001\u4e0d\u77e5\u9053\u6211\u7684\u4ee3\u7801\u98ce\u683c\u3001\u4e0d\u77e5\u9053\u6211\u8ba8\u538c\u81ea\u4f5c\u4e3b\u5f20\u6539\u76ee\u5f55\u7ed3\u6784\u2026\u2026\u6bcf\u6b21\u90fd\u8981\u91cd\u590d\u4ea4\u4ee3\uff0c\u6548\u7387\u6781\u4f4e\u3002<\/p>\n<p>\u540e\u6765\u6211\u53d1\u73b0\uff0c<strong>Codex \u672c\u8eab\u6ca1\u6709\u8de8\u4f1a\u8bdd\u7684\u6301\u4e45\u8bb0\u5fc6<\/strong>\uff0c\u5b83\u7684\u8bb0\u5fc6\u5b8c\u5168\u4f9d\u8d56\u4f60\u4e3b\u52a8\u63d0\u4f9b\u7684\u4e0a\u4e0b\u6587\u3002\u5176\u4e2d\u6700\u91cd\u8981\u7684\u5c31\u662f\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 <code>AGENTS.md<\/code> \u6587\u4ef6\u3002<\/p>\n<p><strong>AGENTS.md \u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>\u5b83\u76f8\u5f53\u4e8e\u7ed9 AI \u91cf\u8eab\u5b9a\u5236\u7684\u9879\u76ee\u8bf4\u660e\u4e66\u548c\u884c\u4e3a\u51c6\u5219\u3002Codex \u6bcf\u6b21\u542f\u52a8\u90fd\u4f1a\u81ea\u52a8\u8bfb\u53d6\u8fd9\u4e2a\u6587\u4ef6\uff0c\u628a\u91cc\u9762\u7684\u89c4\u5219\u5f53\u4f5c\u6700\u9ad8\u4f18\u5148\u7ea7\u6307\u4ee4\u6267\u884c\u3002<\/p>\n<p><strong>\u6211\u76ee\u524d\u4f7f\u7528\u7684 AGENTS.md \u6838\u5fc3\u5185\u5bb9\u5305\u62ec\uff1a<\/strong><\/p>\n<ul>\n<li>\u9ed8\u8ba4\u4f7f\u7528\u4e2d\u6587\u6c9f\u901a\uff0c\u56de\u7b54\u5fc5\u987b\u7b80\u6d01\u76f4\u63a5<\/li>\n<li>\u4e25\u683c\u9075\u5faa\u9879\u76ee\u5df2\u6709\u7684\u4ee3\u7801\u98ce\u683c\u548c\u67b6\u6784\u7ea6\u5b9a<\/li>\n<li>\u4efb\u4f55\u6539\u52a8\u524d\u5fc5\u987b\u5148\u7406\u89e3\u73b0\u6709\u4e0a\u4e0b\u6587\uff0c\u4e0d\u4e3b\u52a8\u63a8\u6d4b\u989d\u5916\u9700\u6c42<\/li>\n<li>\u6d89\u53ca\u67b6\u6784\u6216\u91cd\u8981\u6539\u52a8\u65f6\uff0c\u5fc5\u987b\u5148\u8f93\u51fa Plan \u5e76\u7b49\u5f85\u786e\u8ba4<\/li>\n<li>\u4f18\u5148\u4f7f\u7528\u73b0\u6709\u5de5\u5177\u548c\u4f9d\u8d56\uff0c\u4e0d\u968f\u610f\u5f15\u5165\u65b0\u5e93<\/li>\n<\/ul>\n<p>\u628a\u8fd9\u4e9b\u89c4\u5219\u5199\u6e05\u695a\u540e\uff0cCodex \u7684\u201c\u61c2\u4e8b\u7a0b\u5ea6\u201d\u76f4\u63a5\u63d0\u5347\u4e86\u597d\u51e0\u4e2a\u91cf\u7ea7\u3002<\/p>\n<h3>\u4e09\u3001\u6211\u7684 Codex CLI \u5b8c\u6574\u5de5\u4f5c\u6d41<\/h3>\n<p>\u7ecf\u8fc7 8 \u4e2a\u6708\u7684\u6253\u78e8\uff0c\u6211\u628a\u5de5\u4f5c\u6d41\u56fa\u5316\u6210\u4e86\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u73af\u8282\uff1a<\/p>\n<h4>1. \u56fa\u5b9a\u914d\u7f6e\u5c42\uff08\u4e00\u6b21\u8bbe\u7f6e\uff0c\u957f\u671f\u751f\u6548\uff09<\/h4>\n<ul>\n<li>\u9879\u76ee\u7ea7\u89c4\u5219\u6c89\u6dc0\u5230 <code>AGENTS.md<\/code><\/li>\n<li>\u4e2a\u4eba\u5168\u5c40\u504f\u597d\u6c89\u6dc0\u5230 <code>~\/.codex\/config.toml<\/code><\/li>\n<li>\u91cd\u590d\u6027\u4efb\u52a1\u6c89\u6dc0\u4e3a Skills\uff08\u6280\u80fd\u5305\uff09<\/li>\n<li>\u5916\u90e8\u77e5\u8bc6\u548c\u5de5\u5177\u901a\u8fc7 MCP\uff08Model Control Protocol\uff09\u63a5\u5165<\/li>\n<\/ul>\n<h4>2. \u4efb\u52a1\u5904\u7406\u5206\u5c42\u7b56\u7565<\/h4>\n<p>\u6211\u73b0\u5728\u4f1a\u6839\u636e\u4efb\u52a1\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u5904\u7406\u6a21\u5f0f\uff1a<\/p>\n<ul>\n<li><strong>\u6a21\u7cca\/\u590d\u6742\/\u9ad8\u98ce\u9669\u4efb\u52a1<\/strong>\uff1a\u5fc5\u987b\u5148\u8fdb\u5165 <strong>Plan \u6a21\u5f0f<\/strong>\u3002\u8ba9 Codex \u5148\u9605\u8bfb\u76f8\u5173\u6587\u4ef6\u3001\u68b3\u7406\u4e0a\u4e0b\u6587\u3001\u63d0\u51fa\u95ee\u9898\u3001\u8f93\u51fa\u8be6\u7ec6\u6267\u884c\u8ba1\u5212\uff0c\u5f97\u5230\u6211\u786e\u8ba4\u540e\u518d\u52a8\u624b\u4fee\u6539\u4ee3\u7801\u3002<\/li>\n<li><strong>\u524d\u7aef\u9875\u9762\u6216\u7ec4\u4ef6\u5f00\u53d1<\/strong>\uff1a\u4f7f\u7528\u622a\u56fe + Playwright \u95ed\u73af\u3002\u76f4\u63a5\u4e22\u8bbe\u8ba1\u7a3f\u6216\u9875\u9762\u622a\u56fe\u7ed9\u5b83\uff0c\u5b83\u80fd\u975e\u5e38\u7cbe\u51c6\u5730\u8fd8\u539f\u4ea4\u4e92\u548c\u6837\u5f0f\u3002<\/li>\n<li><strong>\u5e38\u89c4\u7a33\u5b9a\u4efb\u52a1<\/strong>\uff1a\u76f4\u63a5\u4f7f\u7528 <code>codex exec<\/code> \u81ea\u52a8\u5316\u6267\u884c\uff0c\u6bd4\u5982\u6d4b\u8bd5\u7528\u4f8b\u8865\u9f50\u3001\u6587\u6863\u751f\u6210\u3001\u4ee3\u7801\u683c\u5f0f\u5316\u7b49\u3002<\/li>\n<li><strong>\u9ad8\u98ce\u9669\u6539\u52a8<\/strong>\uff1a\u5f3a\u5236\u4f7f\u7528 <code>review \/ diff \/ sandbox<\/code> \u673a\u5236\uff0c\u5728\u6c99\u76d2\u73af\u5883\u4e2d\u9a8c\u8bc1\u901a\u8fc7\u540e\u518d\u5408\u5e76\u3002<\/li>\n<\/ul>\n<h4>3. \u80fd\u529b\u8fb9\u754c\u4e0e\u5b9a\u4f4d<\/h4>\n<p>\u7ecf\u8fc7\u957f\u65f6\u95f4\u4f7f\u7528\uff0c\u6211\u5bf9 Codex CLI \u7684\u80fd\u529b\u6709\u4e86\u6e05\u6670\u8ba4\u77e5\uff1a<\/p>\n<p>\u5b83\u6700\u64c5\u957f\u7684\u662f\uff1a<br \/>\n&#8211; \u65b0\u529f\u80fd\u5f00\u53d1<br \/>\n&#8211; Bug \u5b9a\u4f4d\u4e0e\u4fee\u590d<br \/>\n&#8211; \u5927\u578b\u91cd\u6784<br \/>\n&#8211; \u9057\u7559\u4ee3\u7801\u68b3\u7406<br \/>\n&#8211; \u6280\u672f\u503a\u6cbb\u7406<br \/>\n&#8211; \u81ea\u52a8\u5316\u811a\u672c\u7f16\u5199<br \/>\n&#8211; \u67b6\u6784\u7406\u89e3\u4e0e\u6587\u6863\u751f\u6210<\/p>\n<p>\u5b83\u4e0d\u662f\u4e00\u4e2a\u201c\u4f1a\u5199\u4ee3\u7801\u7684\u81ea\u52a8\u8865\u5168\u5de5\u5177\u201d\uff0c\u800c\u662f\u4e00\u4e2a<strong>\u53ef\u4ee5\u771f\u6b63\u7406\u89e3\u6574\u4e2a\u4ed3\u5e93\u3001\u5728\u4f60\u6307\u5b9a\u7684\u8fb9\u754c\u5185\u81ea\u4e3b\u5de5\u4f5c\u7684\u672c\u5730\u4ee3\u7801\u4ee3\u7406<\/strong>\u3002<\/p>\n<h3>\u56db\u3001\u771f\u6b63\u62c9\u5f00\u5dee\u8ddd\u7684\u662f\u5de5\u4f5c\u6d41<\/h3>\n<p>\u8fd9 8 \u4e2a\u6708\u6700\u5927\u7684\u611f\u89e6\u662f\uff1a<strong>AI \u5de5\u5177\u672c\u8eab\u7684\u80fd\u529b\u6b63\u5728\u5feb\u901f\u8d8b\u540c\uff0c\u771f\u6b63\u51b3\u5b9a\u6548\u7387\u548c\u4ea7\u51fa\u8d28\u91cf\u7684\uff0c\u662f\u4f60\u80fd\u5426\u628a AI \u53d8\u6210\u81ea\u5df1\u53ef\u63a7\u7684\u5de5\u7a0b\u7cfb\u7edf<\/strong>\u3002<\/p>\n<p>\u4f1a\u7528 AI \u7684\u4eba\u5f88\u591a\uff0c\u80fd\u628a AI \u5f7b\u5e95\u878d\u5165\u81ea\u5df1\u7684\u7814\u53d1\u6d41\u7a0b\u3001\u5f62\u6210\u7a33\u5b9a\u5de5\u4f5c\u6d41\u7684\u4eba\u8fd8\u5f88\u5c11\u3002\u800c\u540e\u8005\uff0c\u6b63\u5728\u5feb\u901f\u62c9\u5f00\u548c\u524d\u8005\u7684\u5dee\u8ddd\u3002<\/p>\n<p>\u6211\u73b0\u5728\u7684\u65e5\u5e38\u5f00\u53d1\u8282\u594f\u662f\uff1a<\/p>\n<ol>\n<li>\u9700\u6c42\u62c6\u89e3 \u2192 2. \u4e22\u7ed9 Codex \u505a Plan \u2192 3. \u786e\u8ba4\u8ba1\u5212 \u2192 4. \u6267\u884c + Review \u2192 5. \u81ea\u52a8\u5316\u9a8c\u8bc1<\/li>\n<\/ol>\n<p>\u6574\u4e2a\u8fc7\u7a0b\u6211\u66f4\u591a\u662f\u5728\u505a\u201c\u51b3\u7b56\u201d\u548c\u201c\u628a\u5173\u201d\uff0c\u800c\u4e0d\u662f\u673a\u68b0\u5730\u4e00\u884c\u4e00\u884c\u5199\u4ee3\u7801\u3002\u751f\u4ea7\u529b\u5f97\u5230\u4e86\u6781\u5927\u91ca\u653e\u3002<\/p>\n<h3>\u4e94\u3001\u5199\u5728\u6700\u540e<\/h3>\n<p>Codex CLI \u4e0d\u662f\u94f6\u5f39\uff0c\u4f46\u5f53\u4f60\u613f\u610f\u82b1\u65f6\u95f4\u53bb\u5efa\u8bbe\u5c5e\u4e8e\u81ea\u5df1\u7684 AGENTS.md\u3001\u914d\u7f6e\u4f53\u7cfb\u3001Skills \u5e93\u548c\u5de5\u4f5c\u6d41\u4e4b\u540e\uff0c\u5b83\u4f1a\u53d8\u6210\u4e00\u4e2a\u771f\u6b63\u61c2\u4f60\u3001\u80fd\u548c\u4f60\u957f\u671f\u914d\u5408\u7684\u201cAI \u540c\u4e8b\u201d\u3002<\/p>\n<p>\u8fd9\u5957\u5de5\u4f5c\u6d41\u6211\u4ecd\u5728\u6301\u7eed\u8fed\u4ee3\u4e2d\u3002\u672a\u6765 AI \u7f16\u7a0b\u5de5\u5177\u8fd8\u4f1a\u7ee7\u7eed\u5feb\u901f\u8fdb\u5316\uff0c\u4f46\u5e95\u5c42\u903b\u8f91\u4e0d\u4f1a\u53d8\u2014\u2014<strong>\u5de5\u5177\u4f1a\u8d8a\u6765\u8d8a\u5f3a\uff0c\u800c\u771f\u6b63\u503c\u94b1\u7684\u662f\u9a7e\u9a6d\u5de5\u5177\u7684\u7cfb\u7edf\u548c\u65b9\u6cd5<\/strong>\u3002<\/p>\n<p>\u4f60\u6b63\u5728\u4f7f\u7528 Codex CLI \u5417\uff1f\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u4f60\u7684\u5de5\u4f5c\u6d41\u548c\u8e29\u5751\u7ecf\u5386\uff0c\u6211\u4eec\u4e00\u8d77\u628a\u8fd9\u5957 AI \u7f16\u7a0b\u4f53\u7cfb\u6253\u78e8\u5f97\u66f4\u597d\u3002<\/p>\n<p>\uff08\u6b22\u8fce\u5173\u6ce8\u6211\uff0c\u6301\u7eed\u5206\u4eab AI \u7f16\u7a0b\u3001\u72ec\u7acb\u5f00\u53d1\u548c\u5168\u6808\u5b9e\u6218\u5e72\u8d27\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u7528\u4e86 8 \u4e2a\u6708 Codex CLI\uff0c\u603b\u7ed3\u51fa\u8fd9\u5957 AI \u7f16\u7a0b\u5de5\u4f5c\u6d41 \u4ece\u53bb\u5e74\u5e95\u5230\u73b0\u5728\uff0c\u6211\u5df2\u7ecf\u6301\u7eed\u4f7f\u7528 Codex CLI \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1797","post","type-post","status-publish","format-standard","hentry","category-ai-tools"],"_links":{"self":[{"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/posts\/1797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/comments?post=1797"}],"version-history":[{"count":1,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/posts\/1797\/revisions"}],"predecessor-version":[{"id":1798,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/posts\/1797\/revisions\/1798"}],"wp:attachment":[{"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/media?parent=1797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/categories?post=1797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.imaseo.com\/blog\/wp-json\/wp\/v2\/tags?post=1797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}