run scripts that prompt GPT to improve code as part of PR automation. proposes changes in a new PR to merge with original PR following human approval.
- add docstrings
- format docstrings for sphinx
- parameter level documentation
- generate tutorials
- propose code simplification
- improve variable or function names
- make code-review suggestions
- finetune this with Carper data? something filtered from a github dataset
- translate to functional/stateless
- refactor
- add build scripts
- improve ci/cd
- check for security issues
- check for bugs
https://github.com/irgolic/AutoPR
- https://github.com/openai/openai-cookbook/blob/main/examples/Unit_test_writing_using_a_multi-step_prompt.ipynb
- https://github.com/openai/openai-cookbook/blob/main/examples/Code_search.ipynb
- https://github.com/dmarx/keyframed_chatgpt
- https://github.com/openai/openai-cookbook/blob/main/code_editing_examples.md