Disclaimer: The content generated by AI may not always be accurate or appropriate. Please review and verify all information before using it for teaching or learning purposes.
This project provides multiple custom chat modes for GitHub Copilot, each designed to help you learn and practice different skills:
- Teach Biology: An interactive biology teacher bot for learning biological concepts, processes, and laboratory techniques with a focus on safety. Learn more →
- Teach Chemistry: An interactive chemistry teacher bot for learning chemical concepts, reactions, and laboratory techniques with a focus on safety. Learn more →
- Teach Chess: An interactive chess teacher bot for learning chess fundamentals, tactics, strategy, and openings. Learn more →
- Teach Go: An interactive Go (Weiqi/Baduk) teacher bot for learning Go fundamentals, tactics, strategy, and patterns with OGS integration. Learn more →
- Teach Math: A mathematics teacher bot for learning math concepts, problem-solving, and computational math projects. Learn more →
- Teach Music: An interactive music theory teacher bot for learning musical concepts, theory, and composition. Learn more →
- Teach Physics: An interactive physics teacher for learning physics concepts, problem-solving, and computational physics projects. Learn more →
- Teach Programming: An interactive programming teacher for learning coding concepts, best practices, and hands-on projects. Learn more →
All chat modes offer:
- Adaptive Explanations: Adjust to your knowledge level
- Quiz Mode: Test your understanding interactively
- Project Mode: Guided, hands-on learning
- Multi-Tool Integration: Web search, code execution, file reading)
Here are 10 example prompts to help you get started:
- Show me the starting chess board. (Teach Chess)
- What is the quadratic formula? (Teach Math)
- How do I write a "Hello, World!" program in Python? (Teach Programming)
- What is Newton's second law? (Teach Physics)
- Show me the Lewis structure for water. (Teach Chemistry)
- What are the main parts of a plant cell? (Teach Biology)
- What are the notes in a C major scale? (Teach Music)
- Create a lesson plan on the Pythagorean theorem for 8th grade. (Teach Math, lesson planning)
- Adapt the explanation of ionic and covalent bonds for a 5th grader. (Teach Chemistry, individualized/grade level)
- Test my knowledge of algebra with 3 questions at a 9th grade level. (Teach Math, grade consistency)
- VS Code version 1.101 or later (custom chat modes are in preview)
- GitHub Copilot subscription (Individual, Business, or Enterprise)
- VS Code with GitHub Copilot extension installed
- Access to GitHub Copilot Chat
-
Clone or Download this Repository
git clone https://github.com/mnriem/github-copilot-for-teaching.git cd github-copilot-for-teaching -
Install the Chat Modes
VS Code supports custom chat modes through
.chatmode.mdfiles. This repository is configured to automatically expose all available chat modes:Option A: Use This Repository Directly (Recommended)
- All chat modes in this repository are automatically available when you have it open in VS Code
- VS Code discovers all modes in the
.github/chatmodes/directory - No additional installation steps required!
Option B: Copy to Your Own Project (Workspace-level)
- Copy the entire
.github/chatmodes/directory to your own repository - All chat modes (
*.chatmode.mdfiles) in that directory will be available in your project
Option C: User Profile Installation (Cross-workspace)
- Copy any
.chatmode.mdfiles you want to your VS Code user profile folder - This makes those chat modes available across all your workspaces
- Use the Command Palette: "Chat: New Mode File" and select "User profile"
-
Restart VS Code (if needed)
- If you copied files manually, restart VS Code to ensure the new chat modes are loaded
- For Option A, modes should be immediately available when opening this repository
-
Verify Installation
- Open GitHub Copilot Chat (Ctrl+Shift+I / Cmd+Shift+I on macOS, Ctrl+Alt+I on Windows/Linux)
- Click the chat mode dropdown at the top of the Chat view
- All installed chat modes should appear in the list
- Select your desired mode to activate it
After installation, you can activate any chat mode:
- Mode Dropdown: Open the Chat view and select your desired mode (e.g., "Teach Programming", "Teach Math", or "Teach Physics") from the chat mode dropdown
- Command Palette: Use "Chat: Switch Chat Mode" and select your desired mode
- Automatic Discovery: All modes are available when this repository is open
- Clear, level-appropriate explanations
- Uses examples and analogies
- Adapts to your current knowledge level
- Interactive questions to test your understanding
- Immediate feedback and explanations
- Step-by-step project building
- Explanations for each step and code component
- Encourages best practices
Customization and troubleshooting instructions are specific to each chat mode. See the README for your selected mode.
Feel free to contribute improvements to this teaching mode:
- Fork the repository
- Create a feature branch
- Submit a pull request with your enhancements
This project is open source and available under the MIT License.
For issues or questions:
- Create an issue in this repository
- Check GitHub Copilot documentation for general chat mode support
- Review VS Code extension troubleshooting guides
Happy Learning! 🚀
Transform your learning journey with personalized, intelligent instruction in programming, math, physics, chemistry, biology, and more—powered by GitHub Copilot's multiple chat modes.