Skip to content

justinlietz93/Perfect_Prompts

Repository files navigation

Perfect Prompts Repository

A comprehensive collection of high-quality prompts, architectural standards, coding guidelines, and structured frameworks for AI-assisted software development and system design.

Other useful repositories for building or working with AI context

  • AI Content Suite Browser based AI context engineering platform.
  • Cogito-Research: Sophisticated AI deep research platform
  • _Neuroca A sophisticated, multi-tier, biology-inspire dynamic memory framework for LLMs.
  • Modular Utilites A repository of small, powerful, modular tools and CLI's for extracting, transforming, and loading data where data is seen as anything that can exist in file format.

πŸ“‹ Repository Overview

This repository consolidates resources for professional software development including:

  • Architecture Pattern Standards - Comprehensive guides for different architectural approaches
  • Prompt Templates - Structured templates for autonomous AI execution
  • Coding Standards - Language-specific best practices and guidelines
  • Rules and Guidelines - Rigorous technical and scientific principles
  • Personas - Specialized AI agent personas for different domains

πŸ—οΈ Architecture Standards

Core Architecture Patterns

The repository includes comprehensive architectural standards following consistent structure and formatting, organized in the STANDARDS_REPOSITORY/architecture_standards/ directory:

Enterprise & Distributed Patterns

  1. Clean Architecture Standards

    • Modular monolith with microservices decoupling
    • Layered clean architecture (presentation, application, domain, infrastructure)
    • Dependency inversion and interface-based design
  2. Hexagonal Architecture Standards

    • Ports and adapters pattern
    • Domain-centric design with external concerns isolation
    • Technology-agnostic core business logic
  3. Microservices Architecture Standards

    • Distributed system design with autonomous services
    • Event-driven communication and API-first approach
    • Independent deployment and scaling strategies
  4. Event-Driven Architecture Standards

    • Event sourcing and CQRS patterns
    • Reactive programming and asynchronous communication
    • Stream processing and eventual consistency
  5. Serverless Architecture Standards

    • Function-as-a-Service (FaaS) and cloud-native design
    • Auto-scaling and cost-optimized architectures
    • Event-driven serverless computing patterns

Lightweight MVP Patterns

  1. MVC Architecture Standards

    • Classic Model-View-Controller separation
    • Simple web application structure
    • Clear scope boundaries between data, presentation, and control
  2. Three-Tier Architecture Standards

    • Presentation, Business Logic, and Data tiers
    • Enterprise application structure
    • Physical tier separation for scalability
  3. Layered Monolith Architecture Standards

    • Simple layered structure with unidirectional dependencies
    • Straightforward monolithic applications
    • Clear layer boundaries for maintainability

Each architecture document includes:

  • Overview - Core concepts and design principles
  • Implementation Guidelines - Practical implementation strategies
  • Example Project Structure - Detailed directory layouts
  • AI Agent Guidelines - Rules for AI-assisted development
  • Testing Strategies - Comprehensive testing approaches
  • Performance Optimization - Speed and resource optimization
  • Security Considerations - Security best practices

πŸ“ Repository Structure

Perfect_Prompts/
β”œβ”€β”€ STANDARDS_REPOSITORY/           # Architecture and development standards
β”‚   β”œβ”€β”€ architecture_standards/     # Comprehensive architecture patterns
β”‚   β”‚   β”œβ”€β”€ CLEAN_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ HEXAGONAL_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ MICROSERVICES_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ EVENT_DRIVEN_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ SERVERLESS_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ MVC_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   β”œβ”€β”€ THREE_TIER_ARCHITECTURE_STANDARDS.md
β”‚   β”‚   └── LAYERED_MONOLITH_ARCHITECTURE_STANDARDS.md
β”‚   β”œβ”€β”€ apex/                       # Apex Software Compliance Standards
β”‚   β”œβ”€β”€ nasa/                       # NASA-derived standards
β”‚   └── prompt-templates/           # Structured prompt templates
β”œβ”€β”€ rules/                          # Technical and scientific principles  
β”‚   β”œβ”€β”€ Rules-for-Formal-Logic-Set-Theory-and-Discrete-Mathematics.md
β”‚   β”œβ”€β”€ Rules-for-General-Systems-Thinking.md
β”‚   β”œβ”€β”€ Rules-for-Objective-Decision-Making-and-Truth-Seeking.md
β”‚   β”œβ”€β”€ Rules-for-Probabilistic-Modeling-Information-Theory-and-Machine-Learning.md
β”‚   β”œβ”€β”€ Rules-for-Rational-Inference-and-Bayesian-System-Design.md
β”‚   β”œβ”€β”€ Rules-for-Rigorous-Mathematical-Inquiry-and-Presentation.md
β”‚   β”œβ”€β”€ Rules-for-Rigorous-Technical-and-Logical-Discourse.md
β”‚   └── Rules-for-Technical-&-Scientific-Principles.md
β”œβ”€β”€ PERSONAS/                       # Specialized AI agent personas
β”‚   └── structured_file_formatting/ # Domain-specific personas
β”œβ”€β”€ general_guidelines/             # General development guidelines
β”œβ”€β”€ go/                            # Go-specific prompts and utilities
β”œβ”€β”€ python/                        # Python-specific prompts and utilities
β”œβ”€β”€ rust/                          # Rust-specific prompts and utilities
β”œβ”€β”€ typescript/                    # TypeScript-specific prompts and utilities
└── plaintext/                     # Plain text prompt templates

🎯 Features

1. Architectural Standards

  • Comprehensive coverage of major architectural patterns
  • Consistent structure and formatting across all documents
  • Practical implementation guidelines with real-world examples
  • AI agent development rules and best practices

2. Prompt Engineering

  • Structured templates for autonomous AI execution
  • Hierarchical task organization (Phase β†’ Task β†’ Step)
  • Built-in quality assurance and verification mechanisms
  • Error handling and retry logic frameworks

3. Language-Specific Resources

  • Dedicated directories for Go, Python, Rust, and TypeScript
  • Language-specific best practices and patterns
  • Code generation and analysis utilities

4. Technical Guidelines

  • Rigorous mathematical and scientific principles
  • Formal logic and systems thinking approaches
  • Decision-making and truth-seeking methodologies
  • Probabilistic modeling and machine learning guidelines

5. Specialized Personas

  • Domain-specific AI agent personas
  • Expert-level knowledge in specialized fields
  • Structured formatting for consistent outputs

πŸš€ Getting Started

  1. Choose an Architecture Pattern: Review the architecture standards to select the most appropriate pattern for your project
  2. Apply Development Standards: Use the comprehensive guidelines for code quality, testing, and documentation
  3. Leverage Prompt Templates: Utilize structured prompts for AI-assisted development tasks
  4. Follow Language Guidelines: Apply language-specific best practices from the dedicated directories
  5. Use Specialized Personas: Engage domain-specific AI agents for expert-level assistance

πŸ“– Documentation Standards

All architecture documents follow a consistent structure:

  • Overview with core principles and conceptual approach
  • Example Project Structure with detailed directory layouts
  • Implementation Guidelines with practical strategies
  • AI Agent Development Guidelines with critical rules and checklists
  • Comprehensive Testing Strategies covering all testing types
  • Performance and Security Considerations with optimization techniques
  • Integration and Communication Patterns for system interoperability

🀝 Contributing

This repository maintains high standards for documentation quality and consistency. When contributing:

  • Follow the established document structure and formatting
  • Ensure comprehensive coverage of architectural concepts
  • Include practical examples and implementation guidance
  • Maintain consistency with existing AI agent guidelines
  • Test all code examples and verify technical accuracy

πŸ“„ License

This repository is available under the MIT License. See the LICENSE file for full details.


This repository represents a curated collection of professional software development resources, architectural patterns, and AI-assisted development frameworks designed to accelerate high-quality software delivery.

About

A library and semi-framework for autonomous Agent prompting that supports Go, Rust, Python, and Typescript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •