A seven-module curriculum + stack-specific prompt templates for AI-assisted development β works with any LLM.
π View the Documentation Site β
Tested environment: Verified in VS Code 1.96+ with GitHub Copilot Pro/Enterprise. Prompt files are plain Markdown and work with any coding agent.
- For: developers, contributors, educators, and researchers who want practical prompt-engineering curriculum and reusable prompt templates.
- For: teams using VS Code + GitHub Copilot who need structured
.prompt.mdworkflows. - Not for: model training, benchmark leaderboards, or framework-specific SDK implementations.
- Quick Start (60 seconds)
- Pick Your Path
- What's in This Repo
- Available Stacks
- How Prompt Files Work (VS Code Copilot)
- Contributing
If you are an AI assistant or automation reading this repository:
- Start with llms.txt for the repository purpose and structure contract.
- Use GETTING-STARTED.md for installation and usage flow.
- Follow CONTRIBUTING.md for formatting, citation, and prompt-file requirements.
Safety note: Run repository scripts inside a Python virtual environment to avoid polluting system packages.
python3 -m venv .venv && source .venv/bin/activate pip install -r requirements-docs.txt -r requirements-dev.txt
For a local/manual setup path (no curl pipe) plus verification steps, see GETTING-STARTED.md.
Option A β Use as a GitHub template: Click "Use this template" at the top of this page to create your own copy with all files included.
Option B β Grab files for one stack:
# Example: set up Python prompts in your project
mkdir -p .github/prompts
# Base instructions (Copilot reads this automatically)
curl -o .github/copilot-instructions.md \
https://raw.githubusercontent.com/kunalsuri/prompt-engineering-playbook/main/prompts/python/copilot-instructions.md
# All Python prompt files
curl -o .github/prompts/create-feature.prompt.md \
https://raw.githubusercontent.com/kunalsuri/prompt-engineering-playbook/main/prompts/python/prompts/create-feature.prompt.md
# Repeat for each prompt file you need, or clone and copy:
git clone https://github.com/kunalsuri/prompt-engineering-playbook.git
cp -r prompt-engineering-playbook/prompts/python/prompts/*.prompt.md .github/prompts/A seven-module curriculum that takes you from first principles through advanced techniques like RAG, adversarial robustness, systematic evaluation, and agentic architectures. Each module includes worked examples and hands-on exercises. No prior prompt engineering experience required.
Copy-paste-ready prompt files for Python, React/TypeScript, React + FastAPI, and Node.js/TypeScript projects. Optimized for VS Code Copilot's agent mode, but the prompt content works with any LLM. Pick your stack, grab the files, and start building.
Ready-to-use prompts for writing, research, analysis, communication, and decision-making β no programming required. Each recipe is tagged with the prompting patterns it uses.
Step-by-step guide to installing these templates in your own project (with first-class VS Code Copilot integration) and customizing templates for your team.
graph TD
A[Module 0: Orientation] --> B[Module 1: Introduction]
B --> C[Module 2: Core Principles]
C --> D[Module 3: Patterns]
D --> E[Module 4: Best Practices]
E --> F[Module 5: Advanced Patterns]
F --> G[Module 6: Agentic Patterns]
D -.-> H[Prompt Templates]
F -.-> I[Labs & Comparisons]
prompt-engineering-playbook/
β
βββ learn/ π Seven-module curriculum
β βββ 00-orientation.md β Story-first on-ramp (no jargon, no code)
β βββ 01-06-*.md β Core modules (Introduction β Agentic Patterns)
β βββ comparisons/ β Research-backed technique comparisons (CoT, ReAct, Few-Shotβ¦)
β βββ prompt-examples/ β Worked examples for each pattern
β βββ labs/ β Six runnable Python experiments + failure gallery
β βββ decisions/ β Architecture Decision Records (why we chose X over Y)
β βββ solutions/ β Reference solutions for all module exercises
β βββ *.md β Guides: cheatsheet, cookbook, glossary, debugging, meta-promptingβ¦
β
βββ prompts/ β‘ Reusable prompt templates by stack
β βββ python/ β 7 prompts + copilot-instructions.md
β βββ react-typescript/ β 8 prompts + copilot-instructions.md
β βββ react-fastapi/ β 3 prompts + copilot-instructions.md
β βββ nodejs-typescript/ β 4 prompts + copilot-instructions.md
β βββ shared/ β Evaluation template, README base, JSON schema
β βββ user-prompts/ β Generic everyday prompts (non-coding)
β
βββ scripts/ π§ Repo automation & per-stack setup helpers
β βββ setup.sh β Project setup script
β βββ check-citations.py β Validates all [CitationKey] references
β βββ check-lab-sync.py β Ensures lab .py and .ipynb files stay in sync
β βββ lint-*.sh β Linters for prompt frontmatter and copilot instructions
β βββ validate-prompt-schema.py β JSON Schema validation for .prompt.md files
β βββ run-notebook-smoke.py β Smoke-tests all Jupyter notebooks
β βββ {python,react-typescript,react-fastapi,nodejs-typescript}/setup.sh
β
βββ .github/ π€ CI workflows, issue templates, Copilot instructions
βββ assets/ π¨ CSS and favicon for the documentation site
βββ docs_src/ π Symlinks used by MkDocs to build the docs site
β
βββ README.md β You are here
βββ GETTING-STARTED.md β Installation and first-use walkthrough
βββ CONTRIBUTING.md β Contributor guidelines and commit conventions
βββ CHANGELOG.md β Version history
βββ ROADMAP.md β Planned features and future work
βββ ARCHITECTURE.md β Deep-dive architecture documentation
βββ DEVELOPMENT_WORKFLOW.md β Step-by-step developer workflows
βββ CONTRIBUTING_AI.md β AI-agent-specific contribution guide
βββ AGENT.md β General AI agent context file
βββ CLAUDE.md β Claude Code context file
βββ REPOSITORY_MAP.md β Full navigable file inventory
βββ TECHNICAL-REPORT.md β Technical report on the playbook
βββ BETA-RELEASE-NOTES.md β Beta-specific release notes
βββ SECURITY.md β Security policy
βββ CODE_OF_CONDUCT.md β Community code of conduct
βββ references.md β Bibliography (APA, with DOIs)
βββ llms.txt β Machine-readable repo summary for LLMs
βββ mkdocs.yml β Documentation site configuration
βββ requirements-docs.txt β Docs build dependencies
βββ requirements-dev.txt β Dev/CI dependencies
βββ Makefile β Common dev tasks (make sync, make build, make checkβ¦)
| Stack | Instructions | Prompts | Setup Script |
|---|---|---|---|
| Python | copilot-instructions.md | 7 prompts | setup.sh --stack python (see GETTING-STARTED.md) |
| React + TypeScript | copilot-instructions.md | 8 prompts | setup.sh --stack react-typescript (see GETTING-STARTED.md) |
| React + FastAPI | copilot-instructions.md | 3 prompts | setup.sh --stack react-fastapi (see GETTING-STARTED.md) |
| Node.js + TypeScript | copilot-instructions.md | 4 prompts | setup.sh --stack nodejs-typescript (see GETTING-STARTED.md) |
Each stack includes a copilot-instructions.md (base rules Copilot follows automatically) and task-specific .prompt.md files (invoked on demand via Copilot Chat). The prompt content itself is model-agnostic β you can paste it into ChatGPT, Claude, Gemini, or any other LLM.
When you place files in your project's .github/ directory, VS Code Copilot picks them up automatically:
your-project/
βββ .github/
β βββ copilot-instructions.md β Always active (style, conventions, tooling)
β βββ prompts/
β βββ create-feature.prompt.md β Invoke with /create-feature in Copilot Chat
β βββ review-code.prompt.md β Invoke with /review-code
β βββ ...
The YAML frontmatter mode: 'agent' enables Copilot to read files, run commands, and iterate autonomously. See GETTING-STARTED.md for the full walkthrough.
Contributions are welcome β whether it's fixing a typo, adding an exercise, or creating prompts for a new stack. See CONTRIBUTING.md for guidelines, commit conventions, and review checklists.
This project is licensed under the MIT License. See LICENSE for details.
If you use this framework to structure your research, paper framing, or methodology curriculum, please cite it using the following format and check references.md for the bibliography. Machine-readable citation and archival metadata are also provided in CITATION.cff and .zenodo.json.
APA Format:
Suri, K. (2026). Prompt Engineering Playbook: Curriculum and Reusable Prompt Templates for LLM-powered Development (v0.1.0-beta). Zenodo. https://doi.org/10.5281/zenodo.18827631
BibTeX:
@software{suri2026promptengineering,
author = {Suri, Kunal},
title = {Prompt Engineering Playbook: Curriculum and Reusable Prompt Templates for LLM-powered Development},
year = {2026},
version = {v0.1.0-beta},
publisher = {Zenodo},
doi = {10.5281/zenodo.18827631},
url = {https://doi.org/10.5281/zenodo.18827631},
}
AI Transparency and Responsible Use
-
Responsible Use of AI:
- Data Privacy: Prioritize local open-weight models for processing sensitive or educational data to ensure data sovereignty.
- Human Validation: All AI-generated outputs are validated before integration into teaching, research, or decision-making workflows.
- Compliance: This project aligns with EU Guidance on Responsible Use of Generative AI in Research.
-
Coding: This project was developed with assistance from the following AI tools: GitHub Copilot (Pro/Enterprise), Google's Antigravity IDE, Local Open-Weight Models (via Ollama in VS Code, e.g., Mistral). These tools were used primarily for code generation, completion, and debugging. All AI-assisted code was independently reviewed, tested, and refined by the authors. The authors take full responsibility for the correctness, security, and integrity of the codebase.
-
Writing & Ideation: Large language model (LLM) tools β specifically Anthropic Claude and Google Gemini models β were used to support brainstorming, structural organization, and language refinement during the writing process. All underlying arguments, intellectual contributions, and conclusions originate with the authors. All AI-assisted material was critically reviewed and substantially revised by the authors, who take full responsibility for the accuracy, originality, and integrity of the published content.