This is a submission for the Amazon Q Developer "Quack The Code" Challenge: Exploring the Possibilities

What I Built

In the middle of a long workday, how many times have you written a Slack message, paused, and thought:

“Hmm… that sounds too harsh. Should I rewrite that?”

Or:

“Can this be clearer? Simpler? More polite?”

Now you don’t have to second guess.
Just summon Parrot, and it rephrases your message in the tone you need — with a single Slack command.

🧠 What is Parrot?

Parrot is a Slack app that transforms your raw, rushed, or robotic messages into something more human — with improved politeness, clarity, or simplicity.

You just type:

/polite Can you do this now?

And Parrot replies:

"Would you be able to do this when you get a chance?"

Or:

/clarity Let’s sync up sometime soon.

And Parrot says:

"Let’s schedule a quick meeting this week to align."

It’s like Grammarly — but instant, and inside Slack.

Demo

How I Used Amazon Q Developer

I didn’t code this project alone.
I built Parrot with a little help from my AI pair programmer — Amazon Q.

Instead of Googling every edge case, manually wiring Express routes, or debugging bash scripts — I asked Amazon Q Developer to build with me.

Here’s how:

💻 Amazon Q Helped Me Code Smarter

I used Amazon Q to generate core parts of the app:

  1. The Express.js server
  2. The three distinct Slack command routes
  3. The Bedrock API integration to connect to Claude (for language generation)
  4. Validation logic, error handlers, and .env setup

Rather than write from scratch, I wrote a prompt:

"Build an Express app that responds to 3 different Slack slash commands and calls Bedrock to rephrase text."

Boom. Code. Working. Editable. In seconds.

🚀 Amazon Q Helped Me Deploy Faster

I didn’t stop at coding. I asked Amazon Q:

“Write a shell script to SSH into my EC2 instance, pull the latest code, and restart the server using PM2.”

It gave me:

  1. A full deploy.sh script
  2. Instructions on how to manage the app with PM2, including log viewing and restart-on-crash support

Amazon Q became my DevOps intern. Minus the coffee breaks. 😀

🌐 Live on EC2

Parrot is running 24/7 on an AWS EC2 instance, deployed via SSH, managed with PM2.

It’s one of those small tools that makes team communication better every single day.

🤖 The Bigger Picture: AI That Enables Creation

This wasn’t about using AI to be the product.
This was about using AI to build the product.

Amazon Q helped me:

  1. Write production code
  2. Avoid repetitive work
  3. Learn while building
  4. Focus on value, not syntax

It felt like having another developer on-call, at every step.

🎯 Why Parrot Matters

  1. Teams waste hours rewording messages. Parrot does it instantly.
  2. Tone is everything in remote work. Parrot helps you get it right.
  3. AI can be useful in micro-moments. Parrot makes that real.

🙏 Thanks to Amazon Q

Thanks to the Amazon Q Developer CLI, I went from idea → app → deploy in a fraction of the time — and learned a ton doing it.

💬 Final Words

This isn’t just an AI-generated app.
This is a human idea, built faster with machine intelligence.

Parrot didn’t just repeat what I said.
It rephrased how I want to say.

Code Repository

Parrot - Message Rephrasing Slack Bot with AWS Bedrock

This is a Slack bot that rephrases messages using AWS Bedrock's AI models to improve tone, clarity, or simplicity.

Features

  • Slash commands for different rephrasing styles:

    • /polite - Makes messages more polite and professional
    • /clarity - Improves clarity and readability
    • /simple - Simplifies complex messages
  • Powered by AWS Bedrock AI models:

    • Claude (Anthropic)

Setup

Prerequisites

  1. AWS Account with access to AWS Bedrock
  2. Node.js and npm/yarn installed
  3. Slack workspace with permission to add apps

AWS Bedrock Setup

  1. Enable AWS Bedrock in your AWS account
  2. Request access to the models you want to use (Claude)
  3. Set up AWS credentials on your machine or deployment environment

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    
    or
    yarn install
    

Configuration

Set the following environment variables:

  • AWS_REGION: AWS region where Bedrock is available (default: "us-east-1")
  • AWS_ACCESS_KEY_ID: Your AWS access key
  • AWS_SECRET_ACCESS_KEY: Your AWS secret…