Promptz is the ultimate library for Amazon Q Developer, designed to help developers discover, create, and perfect their prompts, project rules, and custom agents for every step of the software development lifecycle.
Promptz v2 is a complete rewrite as a Hugo-based static website, moving away from the previous Next.js application. This new architecture provides:
- Git-based content management - All content is managed through markdown files and GitHub pull requests
- Static site performance - Lightning-fast loading with Hugo's static site generation
- Modern dark theme - Built with Basecoat CSS and Tailwind for a developer-focused experience
- Advanced search - Powered by Pagefind for instant content discovery
- Three content types:
- Prompts - AI instructions for specific development tasks
- Project Rules - Coding standards and development guidelines
- Custom Agents - Specialized AI assistants for workflows
- Hugo Extended v0.112.0 or later
- Node.js v18.x or later
- npm v8.x or later
- Git v2.14.1 or later
-
Clone the repository:
git clone https://github.com/cremich/promptz.git cd promptz -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:1313
promptz/
βββ content/ # Markdown content organized by type
β βββ prompts/ # AI prompts for development tasks
β βββ rules/ # Project rules and coding standards
β βββ agents/ # Custom agent configurations
βββ layouts/ # Hugo templates and layouts
βββ assets/ # CSS, JavaScript, and other assets
βββ static/ # Static files (images, icons)
βββ templates/ # Content templates for contributors
βββ docs/specs/ # Technical specifications
Promptz v2 uses a git-based workflow where all content is managed through markdown files and GitHub pull requests. No authentication or complex setup required!
- Fork the repository on GitHub
- Choose your content type:
- Prompts - Instructions for Amazon Q Developer
- Project Rules - Development standards and guidelines
- Custom Agents - Specialized AI assistant configurations
- Use the templates in the
templates/directory - Submit a pull request
AI instructions organized by category:
analysis/- Code review, security, optimizationarchitecture/- System design, diagramsaws/- AWS-specific taskscode-generation/- Scaffolding, boilerplatedocumentation/- ADRs, specs, docstesting/- Unit tests, QA processes- And more...
Development standards organized by technology:
nextjs/- Next.js best practicestypescript/- TypeScript standardssecurity/- Security guidelinestesting/- Testing practices- And more...
Specialized AI assistants organized by function:
documentation/- Doc generation agentsengineering/- Development assistantstesting/- QA automation agents- And more...
All content uses structured frontmatter and follows validation rules:
---
title: "Your Content Title"
description: "Brief description"
categories: ["category-name"]
tags: ["CLI", "Chat", "IDE"]
draft: false
---For detailed contribution guidelines, see CONTRIBUTING.md.
npm run dev- Start Hugo development servernpm run build- Build the static sitenpm run build:search- Build search index with Pagefindnpm run validate- Validate content and frontmatternpm run lint:content- Check content quality
Promptz v2 is built with:
- Hugo - Static site generator with fast builds
- Tailwind CSS - Utility-first CSS framework
- Basecoat CSS - Shadcn/ui-compatible components for Hugo
- Pagefind - Static search without external dependencies
- GitHub Actions - Automated validation and deployment
- GitHub Pages - Static hosting with custom domain
All content is automatically validated for:
- Required frontmatter fields
- File naming conventions
- Content structure and security
- Markdown syntax
The site automatically deploys to GitHub Pages when changes are pushed to the main branch. The deployment includes:
- Hugo site build
- Tailwind CSS compilation
- Pagefind search index generation
- Asset optimization
We welcome contributions to Promptz! Please see our Contributing Guidelines for more information on how to get started.
This project is licensed under the MIT License. See the LICENSE file for details.
To learn more about the technologies used in this project, check out the following resources: