Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new issue command #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

narrowizard
Copy link

Features

Add new intelligent script, to create github issue automatically. including following features:

  • auto detect context concepts accoding to request content. (ai)
  • generate issue content according to requirement format(defined in repository) (ai)
  • auto create issue by github api.

@narrowizard
Copy link
Author

narrowizard commented Mar 4, 2024

Usage

  1. Put this script(the full new-issue folder) under ~/.chat/workflows/usr/, restart vscode to load it.
  2. open your repository, add prompt files under .devchat/information, here is an example feat: add knowledge files for dev chat new issue command apache/incubator-devlake#7092
  3. under your repository,use slash command /new-issue.bug(or new-issue.feature-request) $input to trigger the command.

example

image
And the test issue generated is here.

def main():
# get user input
user_input = sys.argv[1]
params = user_input.strip().split(' ')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: if your provide parameter with english, the request context will be seperated by space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant