A comprehensive collection of battle-tested prompt templates, GitHub Copilot instructions, and prompt engineering guides for building production-grade applications with AI-augmented development.
π― Quick Start β’ π Documentation β’ π οΈ Templates β’ π Security β’ β Star Us
This repository is your complete toolkit for AI-augmented software development. Whether you're building a React frontend, Python backend, or full-stack application, you'll find:
- π€ GitHub Copilot Instructions - Pre-configured rulesets that make Copilot follow best practices automatically
- π Reusable Prompt Templates - Copy-paste prompts for common development tasks
- π Prompt Engineering Guides - Learn the principles, patterns, and techniques
- π§ Setup Scripts - Get started quickly with automated project setup
- π Security-First Approach - Integrated Codacy and Snyk best practices
Crafted with β€οΈ in Paris by kunalsuri β blending Human Intelligence with cutting-edge AI systems (Human-in-the-Loop).
|
|
|
π¦ prompt-engineering-templates-public
βββ π€ .github/ # Base GitHub Copilot instructions
βββ π .github-python/ # Python-specific instructions & prompts
β βββ copilot-instructions.md # Python dev standards (PEP 8, type hints)
β βββ prompts/ # Python project prompts
β βββ instructions/ # Codacy rules for Python
βββ βοΈ .github-react-typescript/ # React + TypeScript instructions
β βββ copilot-instructions.md # React best practices (hooks, Tailwind)
β βββ prompts/ # React feature prompts
β βββ instructions/ # Security & quality rules
βββ π .github-react-python-fastapi/ # Full-stack (React + FastAPI)
β βββ copilot-instructions.md # Full-stack architecture guidelines
β βββ prompts/ # Full-stack app creation prompts
β βββ instructions/ # Integrated security rules
βββ π prompt-engineering-101/ # Complete learning guide
β βββ 01-introduction.md # What is prompt engineering?
β βββ 02-principles.md # Core principles
β βββ 03-patterns.md # Common patterns (few-shot, CoT)
β βββ 04-best-practices.md # Production tips
β βββ comparisons/ # Framework comparisons
β βββ prompt-examples/ # Real-world examples
β β βββ agents/ # Agent-specific prompts
β β βββ creative/ # Creative use cases
β β βββ general/ # Brainstorming, translation
β βββ templates/ # Reusable prompt templates
βββ π― generic-user-prompts/ # Ready-to-use prompt examples
β βββ generic-examples-py.prompt.md # Python examples
β βββ generic-examples-react.prompt.md # React examples
βββ π οΈ scripts-utils/ # Project setup automation
β βββ scripts-python/ # Python project setup
β βββ scripts-react-typescript/ # React project setup
β βββ scripts-react-python-fastapi/ # Full-stack setup
βββ π docs/ # Additional documentation
Pre-configured instruction files that automatically guide Copilot to:
- Follow Best Practices - PEP 8 for Python, React hooks patterns, TypeScript strict mode
- Maintain Architecture - Feature-driven modular structure
- Enforce Security - Input validation, no hardcoded secrets, sanitized outputs
- Ensure Quality - Type hints, error handling, accessibility standards
Supported Stacks:
β React + TypeScript- Modern frontend with Tailwind CSS, Zustand, TanStack Queryβ Python 3.12+- Backend with type hints, dataclasses, async patternsβ FastAPI + React- Full-stack with unified architecture
Development Tasks:
- Creating full-stack SaaS applications
- Generating comprehensive test suites
- Building multi-agent workflows
- Code auditing and refactoring
Specialized Prompts:
agents/- Research helpers, code auditors, planning agentscreative/- Character building, plot generationgeneral/- Brainstorming, summarization, translation
Complete Learning Path:
- Introduction - Fundamentals of prompt engineering
- Principles - Clarity, context, iterative refinement
- Patterns - Few-shot learning, chain-of-thought, role-playing
- Best Practices - Production-ready techniques
- Comparisons - Framework analysis (ReAct, Chain-of-Thought)
- Real Examples - ChatGPT, local LLMs, multi-agent systems
# Clone this repository as a starting point
git clone https://github.com/kunalsuri/prompt-engineering-templates-public.git my-project
cd my-project
# Choose your stack and copy instructions to .github/
cp .github-react-typescript/* .github/ # For React projects
# OR
cp .github-python/* .github/ # For Python projects
# OR
cp .github-react-python-fastapi/* .github/ # For Full-Stack projects
# Start coding - Copilot will follow the instructions automatically!# Add to your existing project
cd your-existing-project
# Copy just the Copilot instructions you need
curl -o .github/copilot-instructions.md \
https://github.com/kunalsuri/prompt-engineering-templates-public/main/.github-react-typescript/copilot-instructions.md# Explore the educational content
cd prompt-engineering-templates-public/prompt-engineering-101
# Read in order:
# 01-introduction.md β 02-principles.md β 03-patterns.md β 04-best-practices.mdWhen you have Copilot instruction files in your .github/ folder, GitHub Copilot automatically:
// β Without instructions, Copilot might generate:
function getData() {
const data: any = fetchAPI();
return data;
}
// β
With instructions, Copilot generates:
interface ApiResponse {
id: string;
name: string;
}
async function getData(): Promise<ApiResponse> {
try {
const response = await fetchAPI();
return response;
} catch (error) {
logger.error('Failed to fetch data', error);
throw new ApiError('Data fetch failed');
}
}Copilot understands your project structure and generates code that fits:
- Frontend - Respects
src/features/structure, uses Zustand for state - Backend - Follows
app/api/patterns, uses Pydantic validation - Full-Stack - Maintains contract between frontend and backend
Built-in security scanning with:
- Codacy - Automatic code quality and security checks
- Snyk - Dependency vulnerability scanning
- Instructions - Prevents common security anti-patterns
This repository includes automated security checks:
Codacy MCP Integration
- β Runs automatically after file edits
- β Detects security vulnerabilities
- β Enforces code quality standards
- β Scans dependencies with Trivy
Snyk Security at Inception
- β Scans newly generated code
- β Checks for vulnerabilities in dependencies
- β Provides fix suggestions
- β Rescans after fixes
|
|
- Learn prompt engineering from basics to advanced patterns
- Bootstrap new projects with production-ready templates
- Improve AI interactions with proven prompting techniques
- Standardize coding practices across the organization
- Onboard faster with automated best practices
- Maintain consistency in AI-generated code
- Explore multi-agent systems with example workflows
- Build custom GPTs with provided templates
- Experiment with local LLMs using example prompts
| Guide | Description | Link |
|---|---|---|
| Prompt Engineering 101 | Complete beginner's guide | π Read |
| React + TypeScript Setup | Frontend development guide | βοΈ Instructions |
| Python Development | Backend best practices | π Instructions |
| Full-Stack Guide | React + FastAPI integration | π Instructions |
- Multi-Agent Workflows - Examples
- Custom GPT Creation - Guide
- Local LLM Integration - Examples
- Code Auditing Agents - Template
Contributions are welcome! Here's how you can help:
- π Report Issues - Found a bug or have a suggestion? Open an issue
- π Submit PRs - Improve documentation, add examples, fix bugs
- β Share Knowledge - Add your own prompt templates or best practices
- π¬ Spread the Word - Share this repository with your team
Before Contributing:
- Review existing instructions for style consistency
- Test your prompts with GitHub Copilot
- Include examples and documentation
- Follow security best practices
This project is licensed under the MIT License - see the LICENSE file for details.
TL;DR: You can use, modify, and distribute this project freely. Just keep the original license notice.
This project has been developed using AI-assisted development tools including:
- Visual Studio Code with GitHub Copilot Pro
- Windsurf, Cursor, and other AI coding assistants
- Human-in-the-Loop supervision and review
Security Notice:
- All code has been validated and scanned
- Malware scanning and static analysis applied (CodeQL)
- However, NO WARRANTY is provided
- Review AI-generated code before production use
Use at your own discretion and risk. This software is provided "as is" without any warranties.
Find this useful? Here's how to support:
π Watch for updates β’ π΄ Fork for your projects β’ π¬ Share with your team
- GitHub: @kunalsuri
- Issues: Report bugs or request features
- Discussions: Share your experience and ask questions
Built with π» & π€ in Paris | Human Intelligence + AI Augmentation
Empowering developers to build better software, faster.