{"id":2415,"date":"2026-05-25T12:18:36","date_gmt":"2026-05-25T04:18:36","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/25\/github-copilot%ef%bc%9aai-%e7%bc%96%e7%a8%8b%e7%9a%84%e6%a0%87%e9%85%8d%e5%a4%a7%e8%84%91\/"},"modified":"2026-05-25T12:18:36","modified_gmt":"2026-05-25T04:18:36","slug":"github-copilot%ef%bc%9aai-%e7%bc%96%e7%a8%8b%e7%9a%84%e6%a0%87%e9%85%8d%e5%a4%a7%e8%84%91","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/25\/github-copilot%ef%bc%9aai-%e7%bc%96%e7%a8%8b%e7%9a%84%e6%a0%87%e9%85%8d%e5%a4%a7%e8%84%91\/","title":{"rendered":"GitHub Copilot\uff1aAI \u7f16\u7a0b\u7684\u6807\u914d\u5927\u8111"},"content":{"rendered":"<p>\u6df1\u5ea6\u8bc4\u6d4b\u6b63\u6587\uff1a<\/p>\n<p>\u5982\u679c\u4f60\u662f\u4e2a\u7a0b\u5e8f\u5458\uff0c\u8fd8\u6ca1\u7528\u8fc7 GitHub Copilot\uff0c\u90a3\u4f60\u53ef\u80fd\u5df2\u7ecf\u843d\u540e\u4e8e\u65f6\u4ee3\u4e86\u3002\u8fd9\u6b3e\u7531\u5fae\u8f6f\u548c GitHub \u8054\u624b\u6253\u9020\u3001\u57fa\u4e8e OpenAI Codex \u6a21\u578b\uff08\u6700\u65b0\u7248\u5df2\u5347\u7ea7\u5230 GPT-4\uff09\u7684 AI \u7f16\u7a0b\u52a9\u624b\uff0c\u51e0\u4e4e\u6210\u4e86\u73b0\u4ee3\u5f00\u53d1\u8005\u7684\u6807\u914d\u3002\u622a\u6b62\u76ee\u524d\uff0cCopilot \u7684\u6708\u8bbf\u95ee\u91cf\u9ad8\u8fbe 1 \u4ebf\u6b21\uff0c\u5168\u7403\u88c5\u673a\u91cf\u8d85\u8fc7 200 \u4e07\uff0c\u662f VSCode \u751f\u6001\u91cc\u5f53\u4e4b\u65e0\u6127\u7684\u201c\u63d2\u4ef6\u4e4b\u738b\u201d\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>Copilot \u7684\u6838\u5fc3\u80fd\u529b\u5c31\u4e00\u4e2a\u5b57\uff1a\u5feb\u3002\u5b83\u5728\u4f60\u5199\u4ee3\u7801\u65f6\uff0c\u5c31\u50cf\u4e00\u4e2a\u5148\u77e5\uff0c\u4f60\u521a\u6572\u51fa\u51fd\u6570\u540d\uff0c\u5b83\u5c31\u628a\u6574\u6bb5\u903b\u8f91\u7ed9\u4f60\u8865\u5168\u4e86\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5b83\u7684\u6280\u672f\u4eae\u70b9\u5305\u62ec\uff1a<\/p>\n<p>1. \u4e0a\u4e0b\u6587\u611f\u77e5\u7684\u4ee3\u7801\u8865\u5168\uff1aCopilot \u4e0d\u53ea\u770b\u4f60\u5f53\u524d\u7684\u6587\u4ef6\uff0c\u8fd8\u4f1a\u5206\u6790\u9879\u76ee\u91cc\u76f8\u5173\u7684\u4ee3\u7801\u3001\u6ce8\u91ca\u751a\u81f3 import \u8bed\u53e5\uff0c\u7ed9\u51fa\u7cbe\u51c6\u5efa\u8bae\u3002\u6bd4\u5982\u4f60\u5728\u5199\u4e00\u4e2a Python \u7684\u722c\u866b\uff0c\u5b83\u770b\u5230\u4f60\u5bfc\u5165\u4e86 requests \u548c BeautifulSoup\uff0c\u5c31\u4f1a\u81ea\u52a8\u8865\u5168\u83b7\u53d6\u9875\u9762\u548c\u89e3\u6790 HTML \u7684\u4ee3\u7801\u6a21\u677f\u3002<\/p>\n<p>2. \u591a\u8bed\u8a00\u652f\u6301\uff1a\u8986\u76d6 Python\u3001JavaScript\u3001TypeScript\u3001Ruby\u3001Go\u3001Java\u3001C++ \u7b49\u51e0\u5341\u79cd\u4e3b\u6d41\u8bed\u8a00\u3002\u5b9e\u6d4b\u4e0b\u6765\uff0cPython \u548c TypeScript \u7684\u51c6\u786e\u7387\u6700\u9ad8\uff0c\u51e0\u4e4e\u80fd\u50cf\u8d44\u6df1\u5de5\u7a0b\u5e08\u4e00\u6837\u5199\u51fa\u4f18\u96c5\u7684\u4ee3\u7801\u3002<\/p>\n<p>3. \u81ea\u7136\u8bed\u8a00\u8f6c\u4ee3\u7801\uff1a\u4f60\u53ef\u4ee5\u5728\u6ce8\u91ca\u91cc\u7528\u82f1\u6587\u5199\u4e0b\u9700\u6c42\uff0c\u6bd4\u5982 \u201c\/\/ \u8ba1\u7b97\u4e24\u4e2a\u65e5\u671f\u4e4b\u95f4\u7684\u5de5\u4f5c\u65e5\u5929\u6570\u201d\uff0cCopilot \u80fd\u76f4\u63a5\u751f\u6210\u5bf9\u5e94\u7684\u51fd\u6570\u3002\u8fd9\u529f\u80fd\u5bf9\u5feb\u901f\u539f\u578b\u5f00\u53d1\u7279\u522b\u9999\u3002<\/p>\n<p>4. \u4ee3\u7801\u89e3\u91ca\u4e0e\u91cd\u6784\uff1aCopilot Chat \u96c6\u6210\u5728 VSCode \u4fa7\u8fb9\u680f\uff0c\u4f60\u53ef\u4ee5\u9009\u4e2d\u4e00\u6bb5\u6666\u6da9\u7684\u4ee3\u7801\uff0c\u95ee\u5b83\u201c\u8fd9\u6bb5\u4ee3\u7801\u5728\u505a\u4ec0\u4e48\uff1f\u201d\uff0c\u5b83\u4f1a\u7528\u81ea\u7136\u8bed\u8a00\u7ed9\u4f60\u89e3\u91ca\uff0c\u751a\u81f3\u4e3b\u52a8\u5efa\u8bae\u5982\u4f55\u4f18\u5316\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>\u573a\u666f\u4e00\uff1a\u65b0\u624b\u5b66\u7f16\u7a0b\u3002\u6211\u6709\u4e2a\u670b\u53cb\u521a\u5b66 JavaScript\uff0c\u5bf9\u7740\u56de\u8c03\u51fd\u6570\u5934\u5927\u3002\u4ed6\u5728 VSCode \u91cc\u5b89\u88c5 Copilot \u540e\uff0c\u5199\u4e2a fetch \u8bf7\u6c42\uff0cCopilot \u81ea\u52a8\u8865\u5168\u4e86 then \u548c catch \u7684\u5904\u7406\u3002\u4ed6\u8fb9\u770b\u8fb9\u5b66\uff0c\u7406\u89e3\u4e86\u5f02\u6b65\u7f16\u7a0b\u7684\u5957\u8def\u3002Copilot \u6210\u4e86\u4ed6\u7684\u201c\u6d3b\u6559\u6750\u201d\u3002<\/p>\n<p>\u573a\u666f\u4e8c\uff1a\u8001\u624b\u5199 CRUD \u4e1a\u52a1\u4ee3\u7801\u3002\u540e\u7aef\u5de5\u7a0b\u5e08\u6700\u70e6\u5199\u91cd\u590d\u7684\u589e\u5220\u6539\u67e5\u3002\u7528 Copilot\uff0c\u4f60\u5728\u63a7\u5236\u5668\u91cc\u5199\u4e2a \u201c\/\/ \u521b\u5efa\u7528\u6237\u201d \u7684\u6ce8\u91ca\uff0c\u5b83\u76f4\u63a5\u751f\u6210\u5b8c\u6574\u7684\u53c2\u6570\u6821\u9a8c\u3001\u6570\u636e\u5e93\u64cd\u4f5c\u548c\u9519\u8bef\u5904\u7406\u4ee3\u7801\uff0c\u7701\u6389 60% \u7684\u6572\u952e\u76d8\u65f6\u95f4\u3002<\/p>\n<p>\u573a\u666f\u4e09\uff1a\u5feb\u901f\u5b9e\u73b0\u7b97\u6cd5\u3002\u4f60\u5728 LeetCode \u5237\u9898\u65f6\uff0c\u5199\u4e2a \u201c\/\/ \u5b9e\u73b0\u4e00\u4e2a LRU \u7f13\u5b58\u201d\uff0cCopilot \u80fd\u7ed9\u51fa\u53cc\u5411\u94fe\u8868 + \u54c8\u5e0c\u8868\u7684\u7ecf\u5178\u5b9e\u73b0\uff0c\u751a\u81f3\u5e2e\u4f60\u5904\u7406\u8fb9\u754c\u60c5\u51b5\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u62ff Cursor \u6765\u6bd4\u3002Cursor \u662f Copilot \u7684\u201c\u6fc0\u8fdb\u7248\u201d\uff0c\u5b83\u57fa\u4e8e Copilot \u7684\u5e95\u5c42\u6a21\u578b\uff0c\u4f46\u505a\u4e86\u66f4\u6781\u81f4\u7684\u4ea4\u4e92\u2014\u2014\u6bd4\u5982\u201c\u4e00\u952e\u5199\u6574\u4e2a\u6587\u4ef6\u201d\u3002Copilot \u66f4\u50cf\u4e00\u4e2a\u5b89\u9759\u7684\u52a9\u624b\uff0c\u4f60\u5199\u4e00\u884c\u5b83\u8865\u4e00\u884c\uff1bCursor \u5219\u50cf\u4f60\u76f4\u63a5\u5bf9 AI \u8bf4\u201c\u7ed9\u6211\u5199\u4e2a\u767b\u5f55\u6a21\u5757\u201d\uff0c\u5b83\u80fd\u5728\u4fa7\u8fb9\u680f\u751f\u6210\u5b8c\u6574\u4ee3\u7801\uff0c\u4f60\u70b9\u4e00\u4e0b\u5c31\u80fd\u63d2\u5165\u3002<\/p>\n<p>\u533a\u522b\u5728\u4e8e\uff1aCopilot \u66f4\u5c0a\u91cd\u4f60\u7684\u7f16\u7801\u8282\u594f\uff0c\u9002\u5408\u65e5\u5e38\u5f00\u53d1\uff1bCursor \u9002\u5408\u539f\u578b\u5feb\u901f\u642d\u5efa\u3002\u5982\u679c\u4f60\u8ffd\u6c42\u201cAI \u4e3b\u5bfc\u5f00\u53d1\u201d\uff0cCursor \u66f4\u723d\uff1b\u5982\u679c\u4f60\u53ea\u662f\u60f3\u8ba9 AI \u5e2e\u4f60\u51cf\u5c11\u91cd\u590d\u52b3\u52a8\uff0cCopilot \u5df2\u7ecf\u8db3\u591f\u3002\u53e6\u5916\uff0cAmazon CodeWhisperer \u662f\u514d\u8d39\u7ade\u54c1\uff0c\u4f46\u4ee3\u7801\u8d28\u91cf\u3001\u4e0a\u4e0b\u6587\u7406\u89e3\u90fd\u660e\u663e\u4e0d\u5982 Copilot\uff0c\u5c24\u5176\u5728\u590d\u6742\u51fd\u6570\u8865\u5168\u4e0a\uff0cCopilot \u7684\u51c6\u786e\u7387\u9ad8\u51fa\u4e00\u622a\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>Copilot \u7684\u5b9a\u4ef7\u662f\uff1a\u4e2a\u4eba\u7248\u6bcf\u6708 10 \u7f8e\u5143\uff08\u6216\u6bcf\u5e74 100 \u7f8e\u5143\uff09\uff0c\u4f01\u4e1a\u7248\u6bcf\u4eba\u6bcf\u6708 19 \u7f8e\u5143\u3002\u5bf9\u4e8e\u5b66\u751f\u548c\u5f00\u6e90\u7ef4\u62a4\u8005\uff0c\u5b98\u65b9\u63d0\u4f9b\u514d\u8d39\u7248\uff08\u9700\u9a8c\u8bc1 GitHub \u5b66\u751f\u5305\u6216\u5f00\u6e90\u9879\u76ee\u8d21\u732e\u8005\uff09\u3002<\/p>\n<p>10 \u7f8e\u5143\u4e00\u4e2a\u6708\u8d35\u5417\uff1f\u60f3\u8c61\u4e00\u4e0b\uff1a\u4f60\u6bcf\u5929\u5c11\u5199 30% \u7684\u4ee3\u7801\uff0c\u4e00\u4e2a\u6708\u7701\u4e0b\u51e0\u5341\u4e2a\u5c0f\u65f6\u3002\u6309\u4f60\u7684\u65f6\u85aa\u7b97\uff0cCopilot \u53ef\u80fd\u4e00\u5929\u5c31\u56de\u672c\u4e86\u3002\u53e6\u5916\uff0c\u5fae\u8f6f Office 365 \u7684\u7528\u6237\u73b0\u5728\u4e5f\u80fd\u5728 Excel \u91cc\u7528 Copilot\uff0c\u4f46\u90a3\u662f\u53e6\u4e00\u4e2a\u6545\u4e8b\u4e86\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u9002\u5408\uff1a\u6240\u6709\u5199\u4ee3\u7801\u7684\u4eba\u3002\u65e0\u8bba\u4f60\u662f\u524d\u7aef\u3001\u540e\u7aef\u3001\u6570\u636e\u79d1\u5b66\u5bb6\uff0c\u8fd8\u662f\u521a\u5b66\u7f16\u7a0b\u7684\u83dc\u9e1f\uff0cCopilot \u90fd\u80fd\u63d0\u5347\u4f60\u7684\u6548\u7387\u3002\u5c24\u5176\u9002\u5408\u90a3\u4e9b\u9700\u8981\u5199\u5927\u91cf\u6837\u677f\u4ee3\u7801\u3001\u91cd\u590d\u903b\u8f91\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<p>\u4e0d\u9002\u5408\uff1a\u5bf9\u4ee3\u7801\u5b89\u5168\u6781\u5ea6\u654f\u611f\u7684\u4f01\u4e1a\uff08\u6bd4\u5982\u94f6\u884c\u3001\u519b\u5de5\uff0c\u4ee3\u7801\u4f1a\u53d1\u9001\u5230\u5fae\u8f6f\u4e91\u5904\u7406\uff09\uff1b\u6216\u8005\u4f60\u575a\u6301\u201c\u4ee3\u7801\u5fc5\u987b\u81ea\u5df1\u5199\u201d\u7684\u6781\u7b80\u4e3b\u4e49\u8005\u3002\u53e6\u5916\uff0c\u5982\u679c\u4f60\u5199\u7684\u662f\u975e\u5e38\u5c0f\u4f17\u7684\u9886\u57df\u8bed\u8a00\uff08\u6bd4\u5982 COBOL\uff09\uff0cCopilot \u7684\u8bed\u6599\u5e93\u53ef\u80fd\u4e0d\u591f\uff0c\u6548\u679c\u4f1a\u6253\u6298\u6263\u3002<\/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>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\u7a0b\u5e8f\u5458\u5fc5\u5907\u7684AI\u5916\u6302\uff0c\u7269\u8d85\u6240\u503c\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4ee3\u7801\u5f00\u53d1, \u5b66\u4e60\u8f85\u52a9, \u6548\u7387\u63d0\u5347<\/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>\u4e09\u79d2\u949f\u770b\u61c2\uff1a\u57fa\u4e8eGPT-4\u7684\u5b9e\u65f6\u4ee3\u7801\u8865\u5168\uff0c\u76f4\u63a5\u5728\u7f16\u8f91\u5668\u91cc\u5e2e\u4f60\u5199\u4ee3\u7801\uff0c\u582a\u79f0\u7a0b\u5e8f\u5458\u7684\u7b2c\u4e8c\u5927\u8111\u3002<\/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":[147,145,172],"class_list":["post-2415","post","type-post","status-publish","format-standard","hentry","category-ai","tag-ai","tag-145","tag-172"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2415","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=2415"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2415\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}