DEV Community

Nao San for AWS Community Builders

Posted on

4

[AWS]GitHub and AmazonQDeveloper have been integrated, so I tried it out.[AmazonQ]

Introduction

Amazon Q Developer integration on GitHub (preview) is now available. This article describes what it can do and the results of testing it on my personal GitHub.

https://aws.amazon.com/jp/about-aws/whats-new/2025/05/amazon-q-developer-integration-github-preview-available/

Related materials

※The images attached to this article are screenshots taken in a Japanese environment.
↓Japanese Article
https://qiita.com/Nana_777/items/b1339d765c18fc6a0fb4

Get Amazon Q Developer working on GitHub

Install the app from the GitHub marketplace and select a repository

Install the app from the GitHub marketplace.
URL is here

https://github.com/apps/amazon-q-developer

Select “Applications” from the left menu of the “Settings” screen on GitHub, and if Amazon Q Developer appears on the screen, you are ready to go!

image.png

If you want to change the repository that runs Amazon Q Developer, change the settings from Configure
image.png

What you can do with Amazon Q Developer

Feature development (have AmazonQ Developer resolve the issue)

Register an issue from the “Issues” menu in the header menu, and add the label “Amazon Q development agent” to the issue to have Amazon Q Developer respond to it.

image.png

I asked them to create an API using APIGateway and Lambda (while secretly thinking it would be impossible).
Instructed to use APIGateWay, write Lambda functions in Python, and create CloudFormation templates in YAML
image.png

Amazon Q Developer is working, and the log says I'll send out a pull request when I'm done.

image.png

It took about five minutes for the comment to signal completion.
image.png

I looked at the contents of the pull request, and it properly created a Python and CloudFormation template, and a Readme file as well!
I also looked at the Lambda code, and it was excellent, with error handling.
image.png

I looked at the logs, and it seems that they did some kind of review on their own or something.

image.png

Frankly, we can merge as is, but I'll put an order in the comments.
This time I put an order to the timeout value and memory size of the CloudFormation template (vague instructions, but I hope it's ok).

Select “start a review” after you have written your review comments.
image.png
Review ends when comments are noted.
image.png

Amazon Q will start thinking again.
image.png

This time it takes about 3 minutes to complete (they say the sinking time varies depending on the difficulty of the instructions), and they do a good self-review.
image.png

It is well corrected.
The minimum memory size for Lambda is 128, so they will ignore incorrect instructions (too smart!).
image.png

Other things you can do

They'll even convert the code version.

Not handled in this trial, but there is an issue label “Amazon Q transform agent”.
They will also do things like update from Java 8 or Java 11 to Java 17.
I'd like to try some of these next time.

image.png

Final Thoughts on this Article

Amazing...AmazonQ, you are too smart. Revolutionary. It's amazing how it ignores wrong instructions.
AmazonQDeveloper is a developer's partner.

Heroku

Built for developers, by developers.

Whether you're building a simple prototype or a business-critical product, Heroku's fully-managed platform gives you the simplest path to delivering apps quickly — using the tools and languages you already love!

Learn More

Top comments (0)