Prompt Engineering Playbook¶
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.
Who This Is For¶
- 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 Navigation¶
- Quick Start (60 seconds)
- Pick Your Path
- What's in This Repo
- Available Stacks
- How Prompt Files Work (VS Code Copilot)
- Contributing
For AI Agents¶
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.
Quick Start (60 seconds)¶
Safety note: Run repository scripts inside a Python virtual environment to avoid polluting system packages.
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/
Pick Your Path¶
π I want to learn prompt engineering β¶
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.
β‘ I want to use prompt templates β¶
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.
π I want 20 copy-paste recipes for everyday tasks β¶
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.
π§ I want to set up my project β¶
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.
Learning Path¶
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]
What's in This Repo¶
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β¦)
Available Stacks¶
| 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.
How Prompt Files Work (VS Code Copilot)¶
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.
Contributing¶
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.
License¶
This project is licensed under the MIT License. See LICENSE for details.
βοΈ How to Cite & AI Usage¶
Citation 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},
}