lets-learn-mcp-python
Copilot instructions1.1k starsChanged 16 months agoMITArchived repositoryView on GitHub
Activation Trigger: Use these instructions whenever the user mentions: - Learning Python - Python study/practice - Python Study Buddy application - Python exercises or tutorials Required Server: learnpython-mcp (must be enabled) This is a 5-step sequential process. Each step must be completed before moving to the next. {path-to-file}/runstudybuddy.py {username} {level} 🚀 Python Study Buddy is ready! Your personalized study session for [topic] is now active. Let's begin with your first exercise... [Display first exercise]
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
Activation Trigger: Use these instructions whenever the user mentions:
- Distinctive: line 25
Wait for user to select their experience level
- Distinctive: line 105
Use the MCP server tool, not manual creation
- Distinctive: line 106
Do not announce this step to the user
- Distinctive: line 113
Ask for user's name
- Very specific: line 129
Run the track_progress tool with:
- Distinctive: line 139
Start the interactive study session
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 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
Python Study Buddy MCP Server Instructions
Activation Trigger: Use these instructions whenever the user mentions:
- Learning Python
- Python study/practice
- Python Study Buddy application
- Python exercises or tutorials
Required Server: learnpython-mcp (must be enabled)
Workflow Overview
This is a 5-step sequential process. Each step must be completed before moving to the next.
- Assess Experience → 2. Generate Exercises → 3. Create Exercises → 4. Track Progress → 5. Start App
Step 1: Assess User Experience Level
Action Required:
- Instruct user to use the
python_topicsprompt - Wait for user to select their experience level
Response Template:
Welcome to the Python Study Buddy application! 🐍📚✨
Let's start by understanding your Python experience level.
**How to proceed:**
1. Type `/` in the chat
2. Select `mcp.learnpython-mcp.python_topics` from the menu
3. Enter your experience level in the input box:
- `Beginner` (new to Python)
- `Intermediate` (familiar with basics)
- `Advanced` (experienced developer)
*Note: If you press enter without selecting, it defaults to "Beginner"*
Press enter to generate your personalized topic list!After Topics Are Generated:
Present the topics in this format:
Here are Python topics tailored to your level:
1. `[Topic 1 Name]`
2. `[Topic 2 Name]`
3. `[Topic 3 Name]`
4. `[Topic 4 Name]`
5. `[Topic 5 Name]`
Which topic interests you? Reply with either:
- The topic number (1-5), or
- The exact topic name
I'll create custom exercises based on your selection!Step 2: Generate Exercises
Action Required:
Guide user to run the generate_exercises prompt with their selected topic
Response Template:
Excellent choice! Let's create exercises for [selected topic].
**Next steps:**
1. Type `/` in the chat
2. Select `mcp.learnpython-mcp.generate_exercises`
3. Copy and paste these details into the input box:
**Topic:** `[selected topic]`
**Level:** `[user's level]`
**Number of exercises:** `5` (or specify your preference)
Press enter to generate your custom exercises!Critical Note:
⚠️ DO NOT SKIP THIS STEP - The generate_exercises prompt must be run before proceeding
Step 3: Create Exercise Files
Action Required:
Immediately after the user runs generate_exercises, use the create_exercise tool
Internal Action:
Use tool: create_exercise
Parameters: [exercise data from generate_exercises response]Note to Self:
- This happens automatically after Step 2
- Use the MCP server tool, not manual creation
- Do not announce this step to the user
Step 4: Set Up Progress Tracking
Action Required:
- Ask for user's name
- Initialize progress tracking
Response Template:
Great! Your exercises are ready.
To track your learning journey, please share your name. This helps me:
- Monitor your progress
- Provide personalized feedback
- Celebrate your achievements
What name should I use for your profile?After Receiving Name:
Run the track_progress tool with:
- Username: [provided name]
- Level: [selected level]
- Current topic: [selected topic]
Step 5: Launch Study Buddy Application
Action Required:
Start the interactive study session
Internal Action:
Use tool: start_study_buddy
Parameters:
- username: [from Step 4]
- level: [from Step 1]
Ask the user if you can run this command in their terminal:{path-to-file}/run_study_buddy.py {username} {level}
### Success Message:🚀 Python Study Buddy is ready!
Your personalized study session for [topic] is now active. Let's begin with your first exercise...
[Display first exercise]
---
## Important Reminders
1. **Sequential Execution**: Never skip steps or jump ahead
2. **User Confirmation**: Wait for user input at each interactive step
3. **Tool Usage**: Always use MCP server tools, not manual alternatives
4. **Error Handling**: If any step fails, inform the user and suggest troubleshooting:
- Check if `learnpython-mcp` server is enabled
- Verify the prompt/tool names are correct
- Retry the failed step
## Quick Reference Checklist
- [ ] Step 1: User selected experience level via `python_topics`
- [ ] Step 2: User ran `generate_exercises` with topic/level
- [ ] Step 3: Created exercises using `create_exercise` tool
- [ ] Step 4: Got username and ran `track_progress`
- [ ] Step 5: Started app with `start_study_buddy`
---
*Note: This workflow ensures a smooth, personalized Python learning experience through the MCP server integration.*Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 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.
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.

