|
| 1 | +{ |
| 2 | + "settings": { |
| 3 | + "fontSize": 18, |
| 4 | + "width": 1000, |
| 5 | + "height": 600, |
| 6 | + "theme": "Dracula", |
| 7 | + "typingSpeed": "60ms", |
| 8 | + "framerate": 10, |
| 9 | + "startupWait": 5, |
| 10 | + "responseWait": 25, |
| 11 | + "exitWait": 2 |
| 12 | + }, |
| 13 | + "demos": [ |
| 14 | + { |
| 15 | + "chapter": "00-quick-start", |
| 16 | + "name": "hello-demo", |
| 17 | + "description": "Say hello to Copilot and explore what it can help with", |
| 18 | + "prompt": "Say hello and tell me what you can help with" |
| 19 | + }, |
| 20 | + { |
| 21 | + "chapter": "01-setup-and-first-steps", |
| 22 | + "name": "code-review-demo", |
| 23 | + "description": "Review a file for code quality issues and suggest improvements", |
| 24 | + "prompt": "Review @samples/book-app-project/book_app.py for code quality issues and suggest improvements" |
| 25 | + }, |
| 26 | + { |
| 27 | + "chapter": "01-setup-and-first-steps", |
| 28 | + "name": "explain-code-demo", |
| 29 | + "description": "Explain what a Python file does in simple terms", |
| 30 | + "prompt": "Explain what @samples/book-app-project/books.py does in simple terms" |
| 31 | + }, |
| 32 | + { |
| 33 | + "chapter": "01-setup-and-first-steps", |
| 34 | + "name": "generate-code-demo", |
| 35 | + "description": "Generate a Python function from a natural language description", |
| 36 | + "responseWait": 35, |
| 37 | + "prompt": "Write a Python function that takes a list of books and returns statistics: total count, number read, number unread, oldest and newest book" |
| 38 | + }, |
| 39 | + { |
| 40 | + "chapter": "02-context-conversations", |
| 41 | + "name": "file-context-demo", |
| 42 | + "description": "Use @file to ask about a specific file", |
| 43 | + "prompt": "What does @samples/book-app-project/utils.py do? Summarize briefly." |
| 44 | + }, |
| 45 | + { |
| 46 | + "chapter": "02-context-conversations", |
| 47 | + "name": "multi-file-demo", |
| 48 | + "description": "Reference multiple files to understand data flow", |
| 49 | + "prompt": "Compare @samples/book-app-project/book_app.py and @samples/book-app-project/books.py - how do they work together? What's the data flow?" |
| 50 | + }, |
| 51 | + { |
| 52 | + "chapter": "02-context-conversations", |
| 53 | + "name": "multi-turn-demo", |
| 54 | + "description": "Multi-turn conversation building on previous context", |
| 55 | + "prompts": [ |
| 56 | + "@samples/book-app-project/ Give me an overview of this project", |
| 57 | + "What are the main code quality issues?", |
| 58 | + { "text": "Which issue should I fix first and show me how?", "responseWait": 45 } |
| 59 | + ] |
| 60 | + }, |
| 61 | + { |
| 62 | + "chapter": "03-development-workflows", |
| 63 | + "name": "code-review-demo", |
| 64 | + "description": "Workflow 1: Code Review - review a file for code quality", |
| 65 | + "responseWait": 30, |
| 66 | + "prompt": "Review @samples/book-app-project/book_app.py for code quality" |
| 67 | + }, |
| 68 | + { |
| 69 | + "chapter": "03-development-workflows", |
| 70 | + "name": "refactor-demo", |
| 71 | + "description": "Workflow 2: Refactoring - refactor command handling to dictionary dispatch", |
| 72 | + "responseWait": 30, |
| 73 | + "prompt": "@samples/book-app-project/book_app.py Refactor the command handling to use a dictionary dispatch pattern instead of if/elif chains" |
| 74 | + }, |
| 75 | + { |
| 76 | + "chapter": "03-development-workflows", |
| 77 | + "name": "fix-bug-demo", |
| 78 | + "description": "Workflow 3: Debugging - debug a search issue", |
| 79 | + "responseWait": 30, |
| 80 | + "prompt": "@samples/book-app-buggy/books_buggy.py Users report that searching for 'The Hobbit' returns no results even though it's in the data. Debug why." |
| 81 | + }, |
| 82 | + { |
| 83 | + "chapter": "03-development-workflows", |
| 84 | + "name": "test-gen-demo", |
| 85 | + "description": "Workflow 4: Test Generation - generate comprehensive pytest tests", |
| 86 | + "responseWait": 60, |
| 87 | + "prompt": "@samples/book-app-project/books.py Generate comprehensive pytest tests. Include tests for: Adding books, Removing books, Finding by title, Finding by author, Marking as read, Edge cases with empty data" |
| 88 | + }, |
| 89 | + { |
| 90 | + "chapter": "03-development-workflows", |
| 91 | + "name": "git-integration-demo", |
| 92 | + "description": "Workflow 5: Git Integration - generate a conventional commit message", |
| 93 | + "responseWait": 30, |
| 94 | + "prompt": "Generate a conventional commit message for: $(git diff --staged)" |
| 95 | + }, |
| 96 | + { |
| 97 | + "chapter": "04-agents-custom-instructions", |
| 98 | + "name": "python-reviewer-demo", |
| 99 | + "description": "Agent-based Python code review for type hints, error handling, and PEP 8", |
| 100 | + "prompt": "As a Python code quality expert, review @samples/book-app-project/books.py for type hints, error handling, and PEP 8 compliance" |
| 101 | + }, |
| 102 | + { |
| 103 | + "chapter": "05-skills", |
| 104 | + "name": "list-skills-demo", |
| 105 | + "description": "List available slash commands and skills", |
| 106 | + "responseWait": 25, |
| 107 | + "prompt": "What slash commands and skills are available? List the main ones." |
| 108 | + }, |
| 109 | + { |
| 110 | + "chapter": "05-skills", |
| 111 | + "name": "skill-trigger-demo", |
| 112 | + "description": "Copilot detects and triggers a matching skill", |
| 113 | + "responseWait": 45, |
| 114 | + "prompt": "Review the book collection code for issues" |
| 115 | + }, |
| 116 | + { |
| 117 | + "chapter": "06-mcp-servers", |
| 118 | + "name": "mcp-status-demo", |
| 119 | + "description": "Check connected MCP servers with /mcp show", |
| 120 | + "responseWait": 25, |
| 121 | + "prompt": "/mcp show" |
| 122 | + }, |
| 123 | + { |
| 124 | + "chapter": "06-mcp-servers", |
| 125 | + "name": "mcp-workflow-demo", |
| 126 | + "description": "Multi-step MCP workflow with issues and code analysis", |
| 127 | + "prompts": [ |
| 128 | + "List open issues on this repository", |
| 129 | + { "text": "@samples/book-app-project/books.py What code handles the search functionality?", "responseWait": 20 }, |
| 130 | + { "text": "Based on the code, suggest improvements for the search feature", "responseWait": 30 } |
| 131 | + ] |
| 132 | + }, |
| 133 | + { |
| 134 | + "chapter": "07-putting-it-together", |
| 135 | + "name": "full-review-demo", |
| 136 | + "description": "Idea to merged PR: plan, implement, test a new feature", |
| 137 | + "prompts": [ |
| 138 | + { "text": "I need to add a 'list unread' command to the book app that shows only books where read is False. What files need to change?", "responseWait": 25 }, |
| 139 | + { "text": "/agent", "agentSelect": "python-reviewer", "arrowDown": 3, "responseWait": 3 }, |
| 140 | + { "text": "@samples/book-app-project/books.py Design a get_unread_books method. What is the best approach?", "responseWait": 30 }, |
| 141 | + { "text": "/agent", "agentSelect": "pytest-helper", "arrowDown": 2, "responseWait": 3 }, |
| 142 | + { "text": "@samples/book-app-project/tests/test_books.py Design test cases for filtering unread books.", "responseWait": 30 }, |
| 143 | + { "text": "Add a get_unread_books method to BookCollection in books.py. Add a 'list unread' command option in book_app.py. Update the help text in the show_help function.", "responseWait": 30 }, |
| 144 | + { "text": "Generate comprehensive tests for the new feature", "responseWait": 35 }, |
| 145 | + { "text": "/review", "responseWait": 25 }, |
| 146 | + { "text": "Create a pull request titled 'Feature: Add list unread books command'", "responseWait": 25 } |
| 147 | + ] |
| 148 | + } |
| 149 | + ] |
| 150 | +} |
0 commit comments