{"id":2091,"date":"2026-05-19T12:22:30","date_gmt":"2026-05-19T04:22:30","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/19\/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-19T12:22:30","modified_gmt":"2026-05-19T04:22:30","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\/19\/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>\u4e09\u79d2\u949f\u770b\u61c2\uff1a\u5168\u7403\u88c5\u673a\u91cf\u6700\u5927\u7684AI\u7f16\u7a0b\u52a9\u624b\uff0c\u76f4\u63a5\u5728VSCode\u91cc\u5e2e\u4f60\u5199\u4ee3\u7801\uff0c\u50cf\u6709\u4e2aAI\u540c\u4e8b\u5b9e\u65f6\u8865\u5168\u3002<\/p>\n<p>\u6df1\u5ea6\u8bc4\u6d4b\u6b63\u6587<\/p>\n<p>\u5982\u679c\u4f60\u662f\u4e2a\u7a0b\u5e8f\u5458\uff0c\u6216\u8005\u6b63\u5728\u5b66\u7f16\u7a0b\uff0c\u90a3GitHub Copilot\u7edd\u5bf9\u662f\u4f60\u7ed5\u4e0d\u5f00\u7684\u540d\u5b57\u3002\u5b83\u7531\u5fae\u8f6f\u548cGitHub\u8054\u624b\u6253\u9020\uff0c\u76f4\u63a5\u5d4c\u8fdbVSCode\uff08\u5f53\u7136\u4e5f\u652f\u6301JetBrains\u3001Neovim\u7b49\u4e3b\u6d41IDE\uff09\uff0c\u88c5\u673a\u91cf\u5df2\u7ecf\u7834\u767e\u4e07\uff0c\u51e0\u4e4e\u662fAI\u7f16\u7a0b\u52a9\u624b\u7684\u4ee3\u540d\u8bcd\u3002\u8bf4\u767d\u4e86\uff0c\u5b83\u5c31\u662f\u4f60\u7684\u201cAI\u526f\u9a7e\u9a76\u201d\uff0c\u5e2e\u4f60\u4ece\u6572\u4ee3\u7801\u7684\u4f53\u529b\u6d3b\u91cc\u89e3\u8131\u51fa\u6765\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>Copilot\u7684\u6838\u5fc3\u662fOpenAI\u7684Codex\u6a21\u578b\uff0c\u7ecf\u8fc7\u6d77\u91cfGitHub\u516c\u5f00\u4ee3\u7801\u5e93\u8bad\u7ec3\u3002\u5b83\u7684\u5f3a\u9879\u4e0d\u662f\u201c\u751f\u6210\u6574\u4e2a\u9879\u76ee\u201d\uff0c\u800c\u662f\u201c\u4e0a\u4e0b\u6587\u611f\u77e5\u7684\u4ee3\u7801\u8865\u5168\u201d\u3002\u4f60\u53ea\u9700\u8981\u5199\u4e00\u4e2a\u51fd\u6570\u540d\u3001\u4e00\u6bb5\u6ce8\u91ca\uff0c\u751a\u81f3\u53ea\u5199\u4e00\u4e2a\u53d8\u91cf\u540d\uff0c\u5b83\u5c31\u80fd\u9884\u6d4b\u4f60\u63a5\u4e0b\u6765\u8981\u5199\u4ec0\u4e48\uff0c\u5e76\u7ed9\u51fa\u591a\u884c\u4ee3\u7801\u5efa\u8bae\u3002\u6bd4\u5982\u4f60\u5199 `\/\/ \u8ba1\u7b97\u4e24\u4e2a\u65e5\u671f\u4e4b\u95f4\u7684\u5929\u6570`\uff0c\u5b83\u76f4\u63a5\u5e2e\u4f60\u628a\u6574\u4e2a\u51fd\u6570\u5199\u5b8c\uff0c\u5305\u62ec\u5f02\u5e38\u5904\u7406\u3002<\/p>\n<p>\u53c2\u6570\u4e0a\uff0c\u5b83\u652f\u6301\u8d85\u8fc712\u79cd\u7f16\u7a0b\u8bed\u8a00\uff08Python\u3001JavaScript\u3001TypeScript\u3001Ruby\u3001Go\u7b49\uff09\uff0c\u4f46\u5b9e\u6d4b\u5728Python\u548cJS\u4e0a\u8868\u73b0\u6700\u4f73\u3002\u6700\u65b0\u7248\u672c\u8fd8\u652f\u6301\u201c\u5f15\u7528\u516c\u5171\u4ee3\u7801\u201d\u529f\u80fd\uff0c\u80fd\u76f4\u63a5\u62c9\u53d6npm\u3001PyPI\u7b49\u5305\u91cc\u7684\u4ee3\u7801\u7247\u6bb5\uff0c\u7701\u53bb\u624b\u52a8\u590d\u5236\u7c98\u8d34\u7684\u9ebb\u70e6\u3002<\/p>\n<p>\u6280\u672f\u4eae\u70b9\u662f\u5b83\u7684\u201c\u591a\u884c\u8865\u5168\u201d\u80fd\u529b\u3002\u4ee5\u524dAI\u8865\u5168\u53ea\u80fd\u731c\u4e00\u884c\uff0c\u73b0\u5728\u5b83\u80fd\u6839\u636e\u4e0a\u4e0b\u6587\u4e00\u53e3\u6c14\u8865\u5168\u6574\u4e2a\u51fd\u6570\u3001\u5faa\u73af\u751a\u81f3\u7c7b\u5b9a\u4e49\u3002\u6bd4\u5982\u4f60\u5728\u5199\u4e00\u4e2aReact\u7ec4\u4ef6\uff0c\u5b83\u53ef\u80fd\u76f4\u63a5\u5e2e\u4f60\u8865\u5168\u6574\u4e2a `useEffect` \u548c\u72b6\u6001\u903b\u8f91\uff0c\u51c6\u786e\u7387\u76f8\u5f53\u9ad8\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>1. \u5199\u91cd\u590d\u6027\u6a21\u677f\u4ee3\u7801<\/p>\n<p>\u6bd4\u5982\u4f60\u5199\u4e00\u4e2aREST API\u7684CRUD\u64cd\u4f5c\uff0cCopilot\u80fd\u6839\u636e\u4f60\u5199\u7684\u7b2c\u4e00\u4e2a\u8def\u7531\u81ea\u52a8\u751f\u6210\u5269\u4f59\u56db\u4e2a\u3002\u6709\u6b21\u6211\u5199\u4e00\u4e2aDjango\u7684\u89c6\u56fe\u96c6\uff0c\u53ea\u5199\u4e86 `class UserViewSet`\uff0c\u5b83\u76f4\u63a5\u8865\u5168\u4e86 `list`\u3001`create`\u3001`update`\u3001`destroy` \u56db\u4e2a\u65b9\u6cd5\uff0c\u7701\u4e86\u621110\u5206\u949f\u3002<\/p>\n<p>2. \u5b66\u4e60\u65b0\u8bed\u8a00\u7684\u8f85\u52a9<\/p>\n<p>\u60f3\u4ecePython\u8f6cGo\uff1fCopilot\u80fd\u5e2e\u4f60\u201c\u7ffb\u8bd1\u201d\u3002\u4f60\u5199 `\/\/ \u5b9e\u73b0\u4e00\u4e2aHTTP\u670d\u52a1\u5668`\uff0c\u5b83\u76f4\u63a5\u5e2e\u4f60\u5199\u51faGo\u7684\u6807\u51c6\u5e93\u4ee3\u7801\uff0c\u4f60\u53ea\u9700\u8981\u5bf9\u7167\u7740\u5b66\u3002\u6709\u4e2a\u670b\u53cb\u7528Copilot\u4e24\u5468\u5c31\u4e0a\u624b\u4e86Rust\uff0c\u4ed6\u8bf4\u201c\u4e0d\u662f\u6211\u5728\u5199\u4ee3\u7801\uff0c\u662fAI\u5728\u6559\u6211\u5199\u4ee3\u7801\u201d\u3002<\/p>\n<p>3. \u5feb\u901f\u539f\u578b\u5f00\u53d1<\/p>\n<p>\u5199\u4e00\u4e2a\u722c\u866b\u811a\u672c\uff0c\u6216\u8005\u4e00\u4e2a\u6570\u636e\u5904\u7406\u7ba1\u9053\u3002\u4f60\u5199 `import requests`\uff0c\u5b83\u81ea\u52a8\u5e2e\u4f60\u8865\u5168\u8bf7\u6c42\u3001\u89e3\u6790\u3001\u5b58\u50a8\u903b\u8f91\u3002\u6211\u505a\u8fc7\u4e00\u4e2a\u5b9e\u9645\u6d4b\u8bd5\uff1a\u5199\u4e00\u4e2a\u4eceReddit\u6293\u53d6\u70ed\u95e8\u5e16\u5b50\u7684\u811a\u672c\uff0cCopilot\u5e2e\u6211\u5b8c\u6210\u4e8670%\u7684\u4ee3\u7801\uff0c\u6211\u53ea\u6539\u4e86URL\u548c\u89e3\u6790\u89c4\u5219\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u7ade\u54c1\uff1aAmazon CodeWhisperer\u3001Tabnine\u3002<\/p>\n<p>\u5bf9\u6bd4\u4e0b\u6765\uff0cCopilot\u6700\u5927\u7684\u4f18\u52bf\u662f\u201c\u4e0a\u4e0b\u6587\u7406\u89e3\u201d\u3002CodeWhisperer\u5728AWS\u751f\u6001\u91cc\u5f88\u5f3a\uff0c\u6bd4\u5982\u751f\u6210Lambda\u51fd\u6570\u6216DynamoDB\u67e5\u8be2\uff0c\u4f46\u79bb\u5f00AWS\u5c31\u6709\u70b9\u201c\u6c34\u571f\u4e0d\u670d\u201d\u3002Tabnine\u66f4\u6ce8\u91cd\u9690\u79c1\u548c\u672c\u5730\u90e8\u7f72\uff0c\u4f46\u8865\u5168\u8d28\u91cf\u660e\u663e\u4e0d\u5982Copilot\uff0c\u5c24\u5176\u591a\u884c\u8865\u5168\u65f6\u7ecf\u5e38\u201c\u8dd1\u504f\u201d\u3002<\/p>\n<p>Copilot\u7684\u77ed\u677f\u662f\u201c\u4ee3\u7801\u8d28\u91cf\u4e0d\u7a33\u5b9a\u201d\u3002\u6709\u65f6\u5019\u5b83\u751f\u6210\u7684\u4ee3\u7801\u903b\u8f91\u5b8c\u7f8e\uff0c\u4f46\u53d8\u91cf\u540d\u662f `a`\u3001`b`\u3001`c`\uff0c\u9700\u8981\u4f60\u624b\u52a8\u91cd\u6784\u3002\u800cCodeWhisperer\u5728\u4ee3\u7801\u5b89\u5168\u6027\u4e0a\u66f4\u4e25\u683c\uff0c\u80fd\u4e3b\u52a8\u68c0\u6d4b\u786c\u7f16\u7801\u7684\u5bc6\u94a5\uff0c\u8fd9\u70b9Copilot\u505a\u5f97\u8fd8\u4e0d\u591f\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>GitHub Copilot\u76ee\u524d\u5b9a\u4ef7\u662f\u6bcf\u6708$10\u6216\u6bcf\u5e74$100\uff0c\u5bf9\u5b66\u751f\u548c\u5f00\u6e90\u7ef4\u62a4\u8005\u514d\u8d39\u3002\u8fd9\u4e2a\u4ef7\u683c\u5728AI\u7f16\u7a0b\u52a9\u624b\u91cc\u7b97\u4e2d\u6863\uff0c\u4f46\u8003\u8651\u5230\u5b83\u5e26\u6765\u7684\u751f\u4ea7\u529b\u63d0\u5347\uff08\u6709\u7814\u7a76\u663e\u793a\u80fd\u63d0\u901f30%-50%\uff09\uff0c\u6027\u4ef7\u6bd4\u6781\u9ad8\u3002<\/p>\n<p>\u4e0d\u8fc7\u8981\u6ce8\u610f\uff1a\u514d\u8d39\u7248\u670960\u6b21\u8865\u5168\/\u6708\u7684\u9650\u5236\uff0c\u5bf9\u4e8e\u91cd\u5ea6\u7528\u6237\u57fa\u672c\u4e0d\u591f\u7528\u3002\u4e2a\u4eba\u5efa\u8bae\uff1a\u5982\u679c\u4f60\u6bcf\u5929\u5199\u4ee3\u7801\u8d85\u8fc72\u5c0f\u65f6\uff0c\u76f4\u63a5\u4e0a\u4ed8\u8d39\u7248\uff0c\u4e00\u4e2a\u6708$10\u76f8\u5f53\u4e8e\u7701\u4e0b\u4f60\u6bcf\u5929\u591a\u559d\u4e00\u676f\u5496\u5561\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\uff1a\u6240\u6709Python\/JS\/TS\/Go\u5f00\u53d1\u8005\uff0c\u5c24\u5176\u662f\u5199Web\u540e\u7aef\u3001\u6570\u636e\u7ba1\u9053\u3001\u81ea\u52a8\u5316\u811a\u672c\u7684\u3002\u5bf9\u65b0\u624b\u5c24\u5176\u53cb\u597d\uff0c\u80fd\u5e2e\u4f60\u5feb\u901f\u7406\u89e3\u4ee3\u7801\u7ed3\u6784\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u4eba\u7fa4\uff1a\u5bf9\u4ee3\u7801\u5b89\u5168\u6027\u8981\u6c42\u6781\u9ad8\u7684\u4f01\u4e1a\uff08\u5982\u91d1\u878d\u3001\u519b\u5de5\uff09\uff0c\u56e0\u4e3aCopilot\u4f1a\u4e0a\u4f20\u4ee3\u7801\u7247\u6bb5\u5230\u4e91\u7aef\u5206\u6790\uff1b\u4ee5\u53ca\u5199\u5e95\u5c42C\/C++\u6216\u5d4c\u5165\u5f0f\u4ee3\u7801\u7684\u5f00\u53d1\u8005\uff0cCopilot\u5728\u8fd9\u7c7b\u573a\u666f\u4e0b\u8868\u73b0\u4e00\u822c\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\u2605<\/p>\n<p>\u4e00\u53e5\u8bdd\u63a8\u8350\u7406\u7531\uff1a\u7f16\u7a0b\u754c\u7684\u201c\u526f\u9a7e\u9a76\u201d\uff0c\u8c01\u7528\u8c01\u77e5\u9053\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4ee3\u7801\u5f00\u53d1\uff0c\u5b66\u4e60\u8f85\u52a9\uff0c\u5feb\u901f\u539f\u578b<\/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\uff0cVSCode\u63d2\u4ef6<\/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-2091","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\/2091","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=2091"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2091\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}