{"id":2623,"date":"2026-05-29T12:17:34","date_gmt":"2026-05-29T04:17:34","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/29\/github-copilot%ef%bc%9a%e7%bc%96%e7%a8%8b%e7%95%8c%e7%9a%84ai%e5%89%af%e9%a9%be%e9%a9%b6\/"},"modified":"2026-05-29T12:17:34","modified_gmt":"2026-05-29T04:17:34","slug":"github-copilot%ef%bc%9a%e7%bc%96%e7%a8%8b%e7%95%8c%e7%9a%84ai%e5%89%af%e9%a9%be%e9%a9%b6","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/29\/github-copilot%ef%bc%9a%e7%bc%96%e7%a8%8b%e7%95%8c%e7%9a%84ai%e5%89%af%e9%a9%be%e9%a9%b6\/","title":{"rendered":"GitHub Copilot\uff1a\u7f16\u7a0b\u754c\u7684AI\u526f\u9a7e\u9a76"},"content":{"rendered":"<p>\u4e09\u79d2\u949f\u770b\u61c2\uff1a\u57fa\u4e8eOpenAI Codex\u6a21\u578b\uff0c\u5728VS Code\u4e2d\u5b9e\u65f6\u9884\u6d4b\u5e76\u8865\u5168\u6574\u6bb5\u4ee3\u7801\uff0c\u8ba9\u5199\u4ee3\u7801\u50cf\u6253\u5b57\u4e00\u6837\u81ea\u7136\u6d41\u7545\u3002<\/p>\n<p>\u4f5c\u4e3a\u5168\u7403\u88c5\u673a\u91cf\u6700\u5927\u7684AI\u7f16\u7a0b\u52a9\u624b\uff0cGitHub Copilot\u5df2\u7ecf\u4ece\u4e00\u4e2a\u9177\u70ab\u7684\u73a9\u5177\u8fdb\u5316\u6210\u65e0\u6570\u5f00\u53d1\u8005\u7684\u65e5\u5e38\u6807\u914d\u3002\u5b83\u4e0d\u50cf\u90a3\u4e9b\u9700\u8981\u4f60\u624b\u52a8\u8f93\u5165prompt\u7684\u4ee3\u7801\u751f\u6210\u5668\uff0c\u800c\u662f\u6084\u65e0\u58f0\u606f\u5730\u6f5c\u5165\u4f60\u7684\u7f16\u7801\u6d41\uff0c\u5728\u4f60\u6572\u4e0b\u6ce8\u91ca\u6216\u51fd\u6570\u540d\u65f6\uff0c\u7acb\u523b\u5410\u51fa\u6574\u6bb5\u903b\u8f91\u3002\u8fd9\u79cd\u611f\u89c9\u5c31\u50cf\u4f60\u6709\u4e2a\u5168\u6808\u5de5\u7a0b\u5e08\u5750\u5728\u65c1\u8fb9\uff0c\u8bdd\u4e0d\u591a\uff0c\u4f46\u6bcf\u6b21\u5f00\u53e3\u90fd\u5207\u4e2d\u8981\u5bb3\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>Copilot\u7684\u6838\u5fc3\u5f15\u64ce\u662fOpenAI\u7684Codex\u6a21\u578b\uff0c\u7ecf\u8fc7\u6d77\u91cf\u516c\u5f00\u4ee3\u7801\u5e93\u7684\u8bad\u7ec3\u3002\u5b83\u4e0d\u53ea\u662f\u7b80\u5355\u7684\u4ee3\u7801\u8865\u5168\u2014\u2014\u5b83\u80fd\u7406\u89e3\u51fd\u6570\u7b7e\u540d\u3001\u53d8\u91cf\u547d\u540d\u4e60\u60ef\uff0c\u751a\u81f3\u80fd\u6839\u636e\u4f60\u5199\u7684\u6d4b\u8bd5\u7528\u4f8b\u53cd\u5411\u751f\u6210\u5b9e\u73b0\u903b\u8f91\u3002\u5b9e\u6d4b\u4e0b\u6765\uff0c\u5728Python\u3001JavaScript\u3001TypeScript\u3001Go\u3001Rust\u7b49\u4e3b\u6d41\u8bed\u8a00\u4e0a\u8868\u73b0\u6700\u597d\uff0c\u5bf9C++\u548cJava\u7684\u652f\u6301\u4e5f\u76f8\u5f53\u624e\u5b9e\u3002<\/p>\n<p>\u6280\u672f\u53c2\u6570\u65b9\u9762\uff0cCopilot\u7684\u4e0a\u4e0b\u6587\u7a97\u53e3\u5927\u7ea6\u5728\u51e0\u5343\u4e2atoken\u5de6\u53f3\uff0c\u8fd9\u610f\u5473\u7740\u5b83\u80fd\u8bb0\u4f4f\u4f60\u5f53\u524d\u6587\u4ef6\u7684\u5927\u90e8\u5206\u5185\u5bb9\uff0c\u751a\u81f3\u8de8\u6587\u4ef6\u5f15\u7528\u3002\u5b83\u652f\u6301\u591a\u884c\u8865\u5168\uff0c\u4f60\u6309\u4e00\u4e0bTab\u5c31\u80fd\u63d2\u5165\u4e00\u6574\u6bb5if-else\u6216for\u5faa\u73af\u3002\u6700\u65b0\u7248\u672c\u8fd8\u52a0\u5165\u4e86\u201cCopilot Chat\u201d\u529f\u80fd\uff0c\u76f4\u63a5\u5728\u7f16\u8f91\u5668\u91cc\u8ddf\u4f60\u5bf9\u8bdd\uff0c\u89e3\u91ca\u4ee3\u7801\u3001\u91cd\u6784\u903b\u8f91\u3001\u751a\u81f3\u5e2e\u4f60\u5199commit message\u3002\u8fd9\u4e00\u70b9\u76f4\u63a5\u628aCopilot\u4ece\u201c\u8865\u5168\u5de5\u5177\u201d\u5347\u7ea7\u6210\u4e86\u201c\u7f16\u7a0b\u4f19\u4f34\u201d\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>1. \u5feb\u901f\u642d\u5efa\u811a\u624b\u67b6\uff1a\u6bd4\u5982\u4f60\u8981\u5199\u4e00\u4e2aFlask API\u63a5\u53e3\uff0c\u53ea\u9700\u6572\u4e0b\u201c\u521b\u5efa\u4e00\u4e2a\u7528\u6237\u767b\u5f55\u63a5\u53e3\u201d\uff0cCopilot\u5c31\u4f1a\u81ea\u52a8\u751f\u6210\u8def\u7531\u3001\u8bf7\u6c42\u6821\u9a8c\u3001\u6570\u636e\u5e93\u67e5\u8be2\u548c\u8fd4\u56de\u683c\u5f0f\u3002\u6211\u4e0a\u5468\u642d\u4e00\u4e2aRESTful\u670d\u52a1\uff0c50%\u7684\u4ee3\u7801\u90fd\u662fTab\u952e\u6572\u51fa\u6765\u7684\uff0c\u6548\u7387\u76f4\u63a5\u7ffb\u500d\u3002<\/p>\n<p>2. \u5199\u5355\u5143\u6d4b\u8bd5\uff1a\u8fd9\u662f\u5f88\u591a\u5f00\u53d1\u8005\u7684\u75db\u70b9\u3002\u7528Copilot\uff0c\u4f60\u53ea\u9700\u5199\u597d\u4e00\u4e2a\u6d4b\u8bd5\u51fd\u6570\u7684\u540d\u5b57\uff0c\u6bd4\u5982\u201ctest_login_success\u201d\uff0c\u5b83\u5c31\u80fd\u81ea\u52a8\u751f\u6210mock\u6570\u636e\u548c\u65ad\u8a00\u903b\u8f91\u3002\u6211\u6d4b\u8bd5\u8fc7\u4e00\u4e2aDjango\u9879\u76ee\uff0cCopilot\u751f\u6210\u7684\u6d4b\u8bd5\u8986\u76d6\u7387\u8fbe\u523080%\uff0c\u800c\u4e14\u903b\u8f91\u57fa\u672c\u6b63\u786e\u3002<\/p>\n<p>3. \u5b66\u4e60\u65b0\u8bed\u8a00\uff1a\u6bd4\u5982\u4f60\u4ecePython\u8f6cGo\uff0cCopilot\u4f1a\u5e2e\u4f60\u5199\u51fa\u7b26\u5408Go\u98ce\u683c\u7684\u4ee3\u7801\u3002\u6211\u5199Go\u7684goroutine\u65f6\uff0c\u5b83\u81ea\u52a8\u8865\u5168\u4e86channel\u901a\u4fe1\u6a21\u5f0f\uff0c\u7701\u53bb\u4e86\u7ffb\u6587\u6863\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u628aCopilot\u548cAmazon CodeWhisperer\u653e\u5728\u4e00\u8d77\u6bd4\u6700\u5408\u9002\u3002CodeWhisperer\u7684\u4f18\u52bf\u5728\u4e8e\u514d\u8d39\uff08\u5bf9\u4e2a\u4eba\u7528\u6237\uff09\u548c\u6df1\u5ea6\u96c6\u6210AWS\u751f\u6001\uff0c\u6bd4\u5982\u5b83\u53ef\u4ee5\u76f4\u63a5\u751f\u6210\u8c03\u7528S3\u6216Lambda\u7684\u4ee3\u7801\u3002\u4f46Copilot\u5728\u4ee3\u7801\u8d28\u91cf\u3001\u4e0a\u4e0b\u6587\u7406\u89e3\u3001\u4ee5\u53ca\u201c\u4eba\u5473\u513f\u201d\u4e0a\u660e\u663e\u66f4\u5f3a\u3002\u6bd4\u5982\u4f60\u5199\u4e00\u4e2a\u590d\u6742\u7684\u9012\u5f52\u51fd\u6570\uff0cCopilot\u80fd\u6839\u636e\u4f60\u7684\u6ce8\u91ca\u548c\u4e0a\u4e00\u6bb5\u903b\u8f91\u731c\u51fa\u4f60\u60f3\u8981\u7684\u7b97\u6cd5\uff0c\u800cCodeWhisperer\u6709\u65f6\u4f1a\u7ed9\u51fa\u8fc7\u4e8e\u6cdb\u5316\u7684\u6a21\u677f\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u7ade\u54c1\u662fTabnine\uff0c\u5b83\u66f4\u6ce8\u91cd\u9690\u79c1\u4fdd\u62a4\uff08\u652f\u6301\u672c\u5730\u6a21\u578b\uff09\uff0c\u4f46\u4ee3\u7801\u751f\u6210\u80fd\u529b\u660e\u663e\u4e0d\u5982Copilot\u3002Tabnine\u66f4\u9002\u5408\u5bf9\u6570\u636e\u5b89\u5168\u6781\u5176\u654f\u611f\u7684\u4f01\u4e1a\uff0c\u4f46\u5982\u679c\u4f60\u8ffd\u6c42\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\uff0cCopilot\u662f\u9996\u9009\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>Copilot\u4e2a\u4eba\u7248\u662f\u6bcf\u670810\u7f8e\u5143\uff08\u6216\u6bcf\u5e74100\u7f8e\u5143\uff09\uff0c\u4f01\u4e1a\u7248\u662f\u6bcf\u4eba\u6bcf\u670819\u7f8e\u5143\u3002\u5bf9\u4e8e\u5b66\u751f\u548c\u5f00\u6e90\u7ef4\u62a4\u8005\uff0cGitHub\u63d0\u4f9b\u514d\u8d39\u4f7f\u7528\u3002\u8fd9\u4e2a\u4ef7\u683c\u8d35\u4e0d\u8d35\uff1f\u5982\u679c\u4f60\u662f\u4e2a\u5168\u804c\u5f00\u53d1\u8005\uff0c\u6bcf\u5929\u5199\u4ee3\u78015\u5c0f\u65f6\u4ee5\u4e0a\uff0cCopilot\u81f3\u5c11\u80fd\u5e2e\u4f60\u7701\u4e0b20%\u7684\u65f6\u95f4\u3002\u6309\u6708\u85aa\u8ba1\u7b97\uff0c10\u7f8e\u5143\u6362\u6765\u7684\u6548\u7387\u63d0\u5347\u7b80\u76f4\u662f\u8840\u8d5a\u3002\u4f46\u5982\u679c\u4f60\u53ea\u662f\u5076\u5c14\u5199\u5199\u811a\u672c\uff0c\u53ef\u80fd\u89c9\u5f97\u4e0d\u503c\uff0c\u56e0\u4e3a\u514d\u8d39\u65b9\u6848\uff08\u6bd4\u5982CodeWhisperer\u6216Kite\uff09\u4e5f\u80fd\u6ee1\u8db3\u57fa\u672c\u9700\u6c42\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\uff1a\u5168\u6808\u5f00\u53d1\u8005\u3001\u6570\u636e\u79d1\u5b66\u5bb6\u3001DevOps\u5de5\u7a0b\u5e08\u3001\u4ee5\u53ca\u4efb\u4f55\u9700\u8981\u9891\u7e41\u5199\u4ee3\u7801\u7684\u4eba\u3002\u7279\u522b\u9002\u5408\u5199\u6837\u677f\u4ee3\u7801\u3001\u91cd\u590d\u903b\u8f91\u3001\u6216\u8005\u5b66\u4e60\u65b0\u6846\u67b6\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u4eba\u7fa4\uff1a\u5b8c\u5168\u96f6\u57fa\u7840\u7684\u65b0\u624b\u3002Copilot\u751f\u6210\u7684\u4ee3\u7801\u6709\u65f6\u6709bug\u6216\u5b89\u5168\u6f0f\u6d1e\uff0c\u5982\u679c\u4f60\u770b\u4e0d\u61c2\u5b83\u7ed9\u51fa\u7684\u4ee3\u7801\uff0c\u76f2\u76ee\u63a5\u53d7\u4f1a\u57cb\u4e0b\u9690\u60a3\u3002\u53e6\u5916\uff0c\u5bf9\u4ee3\u7801\u7248\u6743\u6781\u5ea6\u654f\u611f\u7684\u4f01\u4e1a\uff08Copilot\u7684\u8bad\u7ec3\u6570\u636e\u6d89\u53ca\u516c\u5f00\u4ee3\u7801\u5e93\u7684\u7248\u6743\u4e89\u8bae\uff0c\u5c3d\u7ba1GitHub\u5df2\u63a8\u51fa\u201c\u4ee3\u7801\u5f15\u7528\u201d\u529f\u80fd\u6765\u89c4\u907f\uff09\u3002<\/p>\n<p>PM \u6d4b\u8bc4\u7ed3\u8bba<\/p>\n<p>\u63a8\u8350\u6307\u6570\uff1a\u2605\u2605\u2605\u2605\u2606<\/p>\n<p>\u4e00\u53e5\u8bdd\u63a8\u8350\u7406\u7531\uff1a\u5199\u4ee3\u7801\u50cf\u5f00\u6302\uff0c\u6027\u4ef7\u6bd4\u70b8\u88c2\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4ee3\u7801\u5f00\u53d1\/\u6548\u7387\u5de5\u5177\/\u5b66\u4e60\u8f85\u52a9<\/p>\n<p>\u901a\u8fc7 AI\u521b\u4f5c\u793e \u5bf9\u8be5\u5de5\u5177\u751f\u6210\u7684\u4f5c\u54c1\u8fdb\u884c\u7248\u6743\u5b58\u8bc1\uff0c\u53ef\u83b7\u5f97\u5b8c\u6574\u7684\u521b\u4f5c\u8fc7\u7a0b\u8bc1\u660e\u94fe\uff0c\u6709\u6548\u4fdd\u62a4\u6570\u5b57\u8d44\u4ea7\u3002<\/p>\n<p>&#8212;<br \/>\n**\u7248\u6743\u63d0\u793a**\uff1a\u4f7f\u7528\u8be5\u5de5\u5177\u521b\u4f5c\u540e\uff0c\u8bf7\u52a1\u5fc5\u524d\u5f80 [AI\u521b\u4f5c\u793e](https:\/\/www.aichuangzuoshe.com) \u8fdb\u884c\u7248\u6743\u5b58\u8bc1\uff0c\u83b7\u53d6\u5177\u6709\u6cd5\u5f8b\u6548\u529b\u7684\u521b\u4f5c\u65f6\u95f4\u6233\uff0c\u6709\u6548\u4fdd\u62a4\u60a8\u7684\u6570\u5b57\u4f5c\u54c1\u6743\u76ca\u3002<\/p>\n<p>&#8212;<br \/>\n\u672c\u6587\u6536\u5f55\u5de5\u5177\u7ecf **[AI\u521b\u4f5c\u793e](https:\/\/aichuangzuoshe.com) \u7248\u6743\u4fdd\u62a4\u534f\u8bae**\u8ba4\u8bc1\u3002\u8be5\u5de5\u5177\u751f\u6210\u7684\u4f5c\u54c1\u5df2\u63a5\u5165 AI \u521b\u4f5c\u793e\u7248\u6743\u4fdd\u62a4\u901a\u9053\uff0c\u4f7f\u7528 AI \u521b\u4f5c\u793e\u53ef\u5bf9\u60a8\u7684\u6570\u5b57\u4f5c\u54c1\u8fdb\u884c\u4e00\u952e\u5b58\u8bc1\uff0c\u4fdd\u62a4\u521b\u4f5c\u6743\u76ca\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI\u7f16\u7a0b\u52a9\u624b\uff0c\u4ee3\u7801\u8865\u5168\uff0c\u5f00\u53d1\u8005\u5de5\u5177<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_ai_cert_trace_id":"","_ai_cert_hash":"","_ai_cert_time":"","footnotes":""},"categories":[62],"tags":[10,11],"class_list":["post-2623","post","type-post","status-publish","format-standard","hentry","category-ai","tag-ai","tag-11"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/comments?post=2623"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2623\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}