GHCP-Lab
Copilot instructions45 starsChanged 14 months agoMITView on GitHub
Always reference these instructions first and fallback to search or additional context gathering only when you encounter unexpected information that does not match the info here. This is an educational repository for learning GitHub Copilot, NOT a traditional software project. The repository contains intentionally incomplete code designed for hands-on learning experiences. CRITICAL WARNING: This repository contains intentionally incomplete code. Build failures are EXPECTED and BY DESIGN. CRITICAL: Do NOT validate by building or running applications. This lab validates learning through…
In this repository2 other files it gives its agents.
- generate-alertsSkill
- my-skillSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
23 rules. About 0 are common, 22 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Always reference these instructions first and fallback to search or additional context gathering only when you encounter unexpected …
- Distinctive: line 27
Follow the guided tour steps using Next/Previous buttons
- Distinctive: line 37
NEVER attempt to make incomplete code compile during the lab
- Distinctive: line 48
DO NOT attempt to create Makefiles or build systems
- Distinctive: line 60
CRITICAL: Do NOT validate by building or running applications.
- Distinctive: line 64
Verify GitHub Copilot completions appear when typing in incomplete code sections
- Distinctive: line 65
Test chat and inline chat functionality with sample prompts
- Distinctive: line 71
Start CodeTour from Explorer panel
- Distinctive: line 73
Test GitHub Copilot completion in an incomplete code section
- Distinctive: line 74
Test GitHub Copilot chat with a simple question about the code
- Distinctive: line 75
Verify proper syntax highlighting and IntelliSense
- Distinctive: line 99
DO NOT fix compilation errors during learning
- Very specific: line 103
Ensure vsls-contrib.codetour extension is installed
- Distinctive: line 104
Look for "CODETOUR" section in Explorer panel
- Distinctive: line 109
Verify extensions are installed and authenticated
- Distinctive: line 110
Check GitHub Copilot subscription status
- Distinctive: line 112
Test with simple prompts in chat first
- Distinctive: line 121
Do NOT test application functionality - there is no running application
- Distinctive: line 122
Do NOT validate by building or compiling code
- Distinctive: line 123
Do NOT create additional test files or test frameworks
- Distinctive: line 124
Do NOT attempt to fix intentional compilation errors
- Distinctive: line 128
Stop if spending more than 30 minutes total without progress
- Distinctive: line 131
Always remember: The goal is learning GitHub Copilot, not creating working software.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Lab Repository
Always reference these instructions first and fallback to search or additional context gathering only when you encounter unexpected information that does not match the info here.
Working Effectively
This is an educational repository for learning GitHub Copilot, NOT a traditional software project. The repository contains intentionally incomplete code designed for hands-on learning experiences.
Essential Setup Steps
- Install VS Code with these critical extensions:
github.copilot- GitHub Copilot completionsgithub.copilot-chat- GitHub Copilot Chatvsls-contrib.codetour- CodeTour (MANDATORY for lab navigation)ms-dotnettools.csharp- C# support (for .NET track)ms-dotnettools.csdevkit- C# Dev Kit (for .NET track)
- Open the appropriate workspace file for your chosen track:
Typescript/GHCP-Typescript.code-workspace- TypeScript trackdotNet/GHCP-dotNet.code-workspace- .NET/C# trackcpp/GHCP-cpp.code-workspace- C++ track
- Start the CodeTour:
- Navigate to Explorer panel in VS Code
- Find "CODETOUR" section at bottom
- Click the Play button next to the tour name
- Follow the guided tour steps using Next/Previous buttons
Build and Development Commands
CRITICAL WARNING: This repository contains intentionally incomplete code. Build failures are EXPECTED and BY DESIGN.
.NET Track (dotNet folder)
dotnet --version- Verify .NET 8.0+ is installeddotnet restore dotNet.sln- Restore dependencies (~1 second)dotnet build dotNet.sln- WILL FAIL - code is intentionally incomplete for learning- NEVER attempt to make incomplete code compile during the lab
TypeScript Track (Typescript folder)
node --version && npm --version- Verify Node.js and npm availabilitytsc --version- Verify TypeScript compiler (requires 5.0+)tsc --noEmit *.ts- Type check without compilation - WILL FAIL, intentionally incompletetsc models.ts && node models.js- Compile and run complete files only
C++ Track (cpp folder)
g++ --version- Verify C++ compiler availabilityg++ -c <file>.cpp- Compile individual files - WILL FAIL, code intentionally incomplete- DO NOT attempt to create Makefiles or build systems
Expected Timing and Timeouts
- Lab completion time: 60 minutes maximum (stop at 30 minutes if not progressing)
- CodeTour navigation: Instant
- .NET restore: 1-2 seconds - NEVER CANCEL, use timeout of 60+ seconds
- TypeScript type checking: 1-2 seconds - NEVER CANCEL, use timeout of 60+ seconds
- Reading documentation: 5-10 minutes per track
Validation Scenarios
CRITICAL: Do NOT validate by building or running applications. This lab validates learning through CodeTour completion.
After Making Changes
- Navigate through CodeTour steps to ensure guidance is clear
- Verify GitHub Copilot completions appear when typing in incomplete code sections
- Test chat and inline chat functionality with sample prompts
- Confirm all three tracks' workspaces open correctly with proper color themes
Manual Testing Steps
- Open workspace for chosen track
- Install recommended extensions when prompted
- Start CodeTour from Explorer panel
- Navigate through at least 3 tour steps
- Test GitHub Copilot completion in an incomplete code section
- Test GitHub Copilot chat with a simple question about the code
- Verify proper syntax highlighting and IntelliSense
Key Projects and Structure
Repository Organization
README.md- Main lab introduction and participation instructionsTypescript/- TypeScript learning track with models for alert processingdotNet/- C# learning track with alert processing exercisescpp/- C++ learning track with alert processing exercises.github/prompts/- Sample prompts for GitHub Copilot Chat exercisesassets/- Images and documentation assets
Learning Tracks Overview
Each track contains:
- Models/Data: Alert and user event data structures
- Completions exercises: Practice with ghost text suggestions
- Inline Chat exercises: Practice with embedded chat interface
- Chat exercises: Practice with sidebar chat interface
- CodeTour files: Step-by-step guided learning experience
Common Issues and Solutions
"Build Failed" Errors
- Expected behavior - code is intentionally incomplete
- DO NOT fix compilation errors during learning
- Focus on using GitHub Copilot features, not making code compile
CodeTour Not Starting
- Ensure
vsls-contrib.codetourextension is installed - Look for "CODETOUR" section in Explorer panel
- Click refresh icon if tours don't appear
- Restart VS Code if extension issues persist
GitHub Copilot Not Working
- Verify extensions are installed and authenticated
- Check GitHub Copilot subscription status
- Restart VS Code and re-authenticate if needed
- Test with simple prompts in chat first
Learning Validation
Primary validation: Successful completion of CodeTour steps for chosen track Secondary validation: Ability to generate code completions and use chat features Success criteria: Understanding differences between completions, inline chat, and chat
What NOT to Test
- Do NOT test application functionality - there is no running application
- Do NOT validate by building or compiling code
- Do NOT create additional test files or test frameworks
- Do NOT attempt to fix intentional compilation errors
Time Management
- Spend maximum 20 minutes per track if doing multiple tracks
- Stop if spending more than 30 minutes total without progress
- Focus on hands-on experience with GitHub Copilot features, not code completion
Always remember: The goal is learning GitHub Copilot, not creating working software.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

