CopilotAdventures
AGENTS.md586 starsChanged 16 months agoMITView on GitHub
CopilotAdventures is an educational repository featuring fantasy-themed coding challenges designed to teach GitHub Copilot's different interaction modes. The repository is organized as follows:
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Fantasy Themes: Use mystical locations (Tempora, Algora, Lumoria, Eldoria)
- Distinctive: line 44
Console-Based I/O: All interaction through console for simplicity
- Distinctive: line 53
Use PascalCase for class names and public methods
- Very specific: line 54
Add new adventures to Program.cs switch statement
- Very specific: line 56
Use dotnet run [adventure-name] for execution
- Distinctive: line 59
Use camelCase for variables and functions
- Distinctive: line 74
Functionality Testing: Verify each solution runs without errors
- Distinctive: line 76
Cross-Platform: Test solutions on multiple environments
- Distinctive: line 77
Documentation: Ensure clear instructions and expected outputs
- Very specific: line 106
Use: New Copilot Adventure: [Your Adventure Name] for new adventures
- Distinctive: line 110
Adventure Template: Follow existing markdown structure in Adventures folder
- Distinctive: line 150
Create adventure content following templates
- Distinctive: line 159
Agent Mode: Use for autonomous project creation and multi-file coordination
- Distinctive: line 160
Ask Mode: Use for step-by-step learning and explanation-driven development
- Distinctive: line 161
Edit Mode: Use for iterative improvements and multi-file modifications
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md - CopilotAdventures Development Guide
Project Structure
CopilotAdventures is an educational repository featuring fantasy-themed coding challenges designed to teach GitHub Copilot's different interaction modes. The repository is organized as follows:
Directory Structure
CopilotAdventures/
├── Adventures/
│ ├── Agent/ # Autonomous AI agent mode challenges
│ └── Ask/ # Interactive chat mode challenges
├── Solutions/
│ ├── CSharp/ # C# solutions with centralized runner
│ ├── JavaScript/ # Standalone JavaScript solutions
│ └── Python/ # Standalone Python solutions
├── Data/
│ └── scrolls.txt # Shared data for Eldoria adventure
├── Images/ # Adventure artwork (1456x832 landscape)
└── .github/
└── copilot-instructions.md # GitHub Copilot development guidelinesAdventure Organization
- Agent Mode (
Adventures/Agent/): Multi-file, autonomous project creation challenges - Ask Mode (
Adventures/Ask/): Step-by-step collaborative learning challenges - Difficulty Levels:
1-Beginner/,2-Intermediate/,3-Advanced/ - Parallel Variants: Each adventure has both
-Agent.mdand-Ask.mdversions
Solutions Architecture
C# Centralized Pattern: Single Program.cs with switch-case adventure selector
JavaScript/Python Standalone Pattern: Individual executable files per adventure
Coding Conventions
File Naming Standards
- Adventure Files:
The-[Name]-of-[Location]-[Mode].md - Solution Files:
The-[Name]-of-[Location].[ext] - C# Classes: PascalCase matching adventure names (e.g.,
Tempora,Algora) - Fantasy Themes: Use mystical locations (Tempora, Algora, Lumoria, Eldoria)
Code Style Guidelines
- Single-File Solutions: Complete adventure in one executable file
- Console-Based I/O: All interaction through console for simplicity
- Educational Comments: Include Copilot interaction patterns and prompts used
- Fantasy Variable Naming: Align with adventure themes (
clockTimes,scrollSecrets) - Self-Contained: Minimize external dependencies beyond standard libraries
- Readability First: Prioritize educational value over optimization
Language-Specific Standards
C# Conventions
- Use PascalCase for class names and public methods
- Add new adventures to
Program.csswitch statement - Implement mandatory
Run()method for each adventure class - Use
dotnet run [adventure-name]for execution
JavaScript/Python Conventions
- Use camelCase for variables and functions
- Direct execution:
node filename.jsorpython filename.py - Include educational comments showing Copilot prompts
- Handle console input/output consistently
Adventure Content Standards
- Hero Images: Landscape format 1456x832 pixels
- Structure: Background story → Objective → Prerequisites → Specifications → Tasks
- Educational Focus: Demonstrate specific Copilot capabilities
- Fantasy Theming: Maintain whimsical, adventure-based context
- Learning Outcomes: Clear skill development goals
Testing Protocols
Solution Validation
- Functionality Testing: Verify each solution runs without errors
- Educational Value: Confirm adventure teaches intended Copilot skills
- Cross-Platform: Test solutions on multiple environments
- Documentation: Ensure clear instructions and expected outputs
Testing Commands
# C# Solutions
cd Solutions/CSharp
dotnet build
dotnet run [adventure-name]
# JavaScript Solutions
cd Solutions/JavaScript
node The-[Adventure-Name].js
# Python Solutions
cd Solutions/Python
python The-[Adventure-Name].pyQuality Checklist
- Solution executes successfully
- Console output matches expected format
- Educational comments are clear and helpful
- Fantasy theme is consistent
- Copilot interaction patterns are demonstrated
- No external dependencies beyond standard libraries
Pull Request Guidelines
PR Title Format
Use: New Copilot Adventure: [Your Adventure Name] for new adventures
PR Content Requirements
- Difficulty Level: Specify beginner, intermediate, or advanced
- Adventure Template: Follow existing markdown structure in Adventures folder
- Hero Image: Include landscape artwork (1456x832 pixels) using Microsoft Copilot Image Creator
- Solution Code: Provide complete solution in single file within appropriate Solutions language folder
- Educational Value: Demonstrate specific GitHub Copilot features or interaction modes
PR Description Template
## Adventure Details
- **Name**: [Adventure Name]
- **Difficulty**: [Beginner/Intermediate/Advanced]
- **Copilot Mode**: [Agent/Ask/Both]
- **Language**: [C#/JavaScript/Python]
## Learning Objectives
- [ ] Demonstrate [specific Copilot feature]
- [ ] Teach [programming concept]
- [ ] Practice [development skill]
## Files Included
- [ ] Adventure markdown file(s)
- [ ] Hero image (1456x832 landscape)
- [ ] Complete solution code
- [ ] Updated Program.cs (if C#)
## Testing Completed
- [ ] Solution builds and runs successfully
- [ ] Educational content is clear and engaging
- [ ] Fantasy theme is consistent
- [ ] Copilot interaction patterns are evidentReview Criteria
- Educational Value: Does the adventure effectively teach Copilot usage?
- Code Quality: Is the solution clean, well-commented, and functional?
- Template Compliance: Does it follow the established adventure structure?
- Fantasy Theme: Is the adventure content engaging and thematically consistent?
- Technical Requirements: Are all files properly formatted and executable?
Contribution Workflow
- Fork the repository
- Create adventure content following templates
- Test solution thoroughly
- Submit PR with complete documentation
- Address review feedback
- Merge after approval
GitHub Copilot Integration
Mode-Specific Development
- Agent Mode: Use for autonomous project creation and multi-file coordination
- Ask Mode: Use for step-by-step learning and explanation-driven development
- Edit Mode: Use for iterative improvements and multi-file modifications
Best Practices
- Include actual Copilot prompts used in solution comments
- Demonstrate progressive enhancement with Copilot assistance
- Show how different modes complement each other
- Provide clear examples of effective Copilot interaction patterns
Common Adventure Patterns
Algorithm Categories
- Time Synchronization: Parse time strings, calculate differences
- Sequence Prediction: Pattern recognition in arrays
- Data Filtering: Extract information using regex patterns
- Grid Simulation: 2D array manipulation for game mechanics
- Logic Implementation: Conditional rule systems
Data Processing Examples
- Eldoria scrolls: Extract secrets using
{*...*}pattern - Tempora clocks: Time arithmetic and synchronization
- Mythos grids: 2D coordinate systems and pathfinding
- Chamber echoes: Number sequence pattern recognition
This documentation ensures consistent, high-quality contributions that enhance the educational value of CopilotAdventures while maintaining its engaging fantasy theme.
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.

