Skip to content

congiuluc/github-copilot-workshop-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 GitHub Copilot TypeScript Workshop

Welcome to the comprehensive GitHub Copilot TypeScript Workshop! This hands-on workshop will guide you through building a complete Task Management Application while exploring all the powerful features of GitHub Copilot.

🎯 Workshop Overview

You'll build a modern task management application from scratch, learning to leverage each GitHub Copilot feature effectively. By the end of this workshop, you'll have:

  • A fully functional TypeScript application
  • Deep understanding of all GitHub Copilot features
  • Best practices for AI-assisted development
  • A complete test suite and documentation

📋 Prerequisites

  • Node.js (v18 or higher)
  • Visual Studio Code with GitHub Copilot extension
  • Git for version control
  • TypeScript basic knowledge
  • Active GitHub Copilot subscription

🏗️ Application Architecture

We'll build a Task Management System with:

  • Core domain models (Task, User, Project)
  • Service layer for business logic
  • In-memory data persistence
  • REST API endpoints (simulated)
  • Comprehensive testing
  • Complete documentation

📚 Workshop Phases

Phase Feature Description Objective Link
01 🔤 Code Completions Basic autocomplete suggestions Create core model classes 📖 Phase 01
02 💬 Copilot Chat Interactive AI assistant Design architecture and get code reviews 📖 Phase 02
03 Inline Chat Context-aware editing Enhance models with validation 📖 Phase 03
04 ⚙️ Slash Commands Quick actions and templates Generate service layer and interfaces 📖 Phase 04
05 🔍 Code Review AI-powered code analysis Review and improve code quality 📖 Phase 05
06 💡 Code Actions Smart fixes and suggestions Implement error handling and edge cases 📖 Phase 06
07 🧠 Editor Completions Advanced multi-line suggestions Build complete features and APIs 📖 Phase 07
08 📝 AI Commit Messages Automated Git commit descriptions Version control with meaningful history 📖 Phase 08
09 🧪 Advanced Testing Test generation and optimization Comprehensive test suite 📖 Phase 09
10 📚 Documentation & Diagrams Auto-generated docs and Mermaid Complete project documentation 📖 Phase 10
11 🤖 Agent Mode Autonomous code generation Advanced features with AI agent 📖 Phase 11

🚀 Getting Started

  1. Clone/Setup the Workshop

    git clone <repository-url>
    cd workshop_typescript
    npm install
  2. Verify GitHub Copilot

    • Ensure GitHub Copilot extension is installed in VS Code
    • Sign in to your GitHub account
    • Verify Copilot is active (check status bar)
  3. Start with Phase 1

    • Follow the phases in order
    • Each phase builds upon the previous one
    • Complete all exercises before moving to the next phase

📖 Learning Objectives

After completing this workshop, you will:

  • ✅ Master all GitHub Copilot features and their use cases
  • ✅ Understand when and how to use each feature effectively
  • ✅ Build a complete TypeScript application with AI assistance
  • ✅ Implement best practices for AI-assisted development
  • ✅ Create comprehensive tests and documentation
  • ✅ Experience autonomous code generation with Agent Mode

💡 Workshop Tips

  • Be Specific: Write clear, descriptive comments for better suggestions
  • Experiment: Try different prompts and approaches
  • Review: Always review and understand generated code
  • Practice: The more you use Copilot, the better you'll become
  • Context Matters: Keep relevant files open for better suggestions

🆘 Getting Help

  • Review the GitHub Copilot Documentation
  • Check individual phase documentation for detailed guidance
  • Each phase includes specific prompts and expected results

📄 License

This workshop is provided for educational purposes. Feel free to use and modify for your learning needs.


Happy Coding with GitHub Copilot! 🎉

▶️ Start with Phase 01 - Code Completions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published