📦

Amazon Q Rules

Download .amazonq/rules files optimized for every framework. Click any preset below.

Next.js + TypeScript

App Router, Server Components, TypeScript strict mode

ReactTypeScriptSSR
⚛️

React + Tailwind CSS

React with Tailwind CSS utility classes and hooks

ReactTailwindHooks
🐍

Python + FastAPI

Modern Python API with type hints and async support

PythonFastAPIAsync
🐹

Go + Gin

Go web API with Gin framework and clean architecture

GoGinREST
🟢

Node.js + Express

Node.js REST API with Express and TypeScript

Node.jsExpressTypeScript
💚

Vue.js + Nuxt 3

Vue 3 with Nuxt 3 and Composition API

VueNuxtTypeScript
🦀

Rust + Actix Web

Rust web API with Actix Web and strong typing

RustActixAsync
🎸

Django + Python

Python web application with Django and best practices

PythonDjangoORM
🦋

Flutter + Dart

Cross-platform mobile app with Flutter and Dart

FlutterDartMobile
🔥

Svelte + SvelteKit

SvelteKit full-stack app with TypeScript

SvelteSvelteKitTypeScript
🅰️

Angular + TypeScript

Enterprise Angular with TypeScript, RxJS, and signals

AngularTypeScriptRxJS
🔴

Laravel + PHP

Laravel PHP framework with Eloquent and Blade

PHPLaravelEloquent
💎

Ruby on Rails

Rails full-stack with convention over configuration

RubyRailsActiveRecord

Spring Boot + Java

Enterprise Java with Spring Boot and JPA

JavaSpring BootJPA
📱

React Native

Cross-platform mobile with React Native and Expo

React NativeExpoMobile
🍎

Swift + SwiftUI

Native iOS/macOS development with SwiftUI

SwiftSwiftUIiOS
🤖

Kotlin + Android

Native Android development with Kotlin and Jetpack Compose

KotlinAndroidCompose
🚀

Astro

Content-focused static site with Astro and islands

AstroSSGIslands
💿

Remix + React

Full-stack React framework with nested routing

RemixReactTypeScript
🔺

T3 Stack

Next.js + tRPC + Prisma + Tailwind full-stack

T3tRPCPrisma

What is .amazonq/rules?

The .amazonq/rules file is a configuration file for Amazon Q that tells the AI assistant about your project's coding conventions, tech stack, and best practices. When placed in your project's root directory,Amazon Q automatically reads these rules and generates code that matches your standards.

RulesForAI provides optimized, pre-made .amazonq/rules files for 20+ popular frameworks. Select a framework above to view and download the rules instantly.

Rules for Other AI IDEs