写点什么

和 ChatGPT 结对完成 VS CODE 插件项目分享

作者:小马哥
  • 2023-04-27
    四川
  • 本文字数:475 字

    阅读完需:约 2 分钟

和ChatGPT结对完成VS CODE插件项目分享

原项目地址: https://github.com/chatgpt-community/prompt-vscode-plugin

目标: pair with chatgpt to generate tdd-with-gpt plugin user story 1

Prompt 过程记录

  1. initial whole project and scratch project . see .docs/0-scratch.md

  2. generate project architecture . see .docs/1-arch.m

  3. generate implement strategy based on user story . see .docs/2-us1.md

  4. generate tests . see .docs/3-tests.md

  5. generate codes . see .docs/4-coding.md

结论

  • codes and tests been generated successfully,

  • tests compile successfully with little human corrects (10%)

  • codes compile successfully with little human corrects (20%)

  • **application failed start ** //Under expectation

  • tests run failed //Under expectation


发现问题

  • context losting when chatgpt deal with multiple components, in story analysis step .docs/2-us1.md

  • chatgpt coding generate unstable in (.docs/3-tests.md and .docs/4-coding.md)

  • lot's of compile errors

  • type not found issue

  • library not found issue

  • architect issue not meet requirements


发布于: 刚刚阅读数: 2
用户头像

小马哥

关注

程序员、技术顾问、编程教练 2019-07-21 加入

ThoughtWorks Senior Consultant MentorFinder共创社区发起人 CGC ChatGPT社区发起人 爱豆创空间社区少儿编程社区发起人 ActNow ToastMaster国际演讲俱乐部主席

评论

发布
暂无评论
和ChatGPT结对完成VS CODE插件项目分享_vscode_小马哥_InfoQ写作社区