和 ChatGPT 结对完成 VS CODE 插件项目分享
原项目地址: https://github.com/chatgpt-community/prompt-vscode-plugin
目标: pair with chatgpt to generate tdd-with-gpt plugin user story 1
Prompt 过程记录
initial whole project and scratch project . see .docs/0-scratch.md
generate project architecture . see .docs/1-arch.m
generate implement strategy based on user story . see .docs/2-us1.md
generate tests . see .docs/3-tests.md
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
版权声明: 本文为 InfoQ 作者【小马哥】的原创文章。
原文链接:【http://xie.infoq.cn/article/02d1c3b0d304a51e2eda2d693】。
本文遵守【CC-BY 4.0】协议,转载请保留原文出处及本版权声明。
评论