Skip to content

Latest commit

Β 

History

History
397 lines (290 loc) Β· 7.15 KB

File metadata and controls

397 lines (290 loc) Β· 7.15 KB

Getting Started with xMergeRepository

Welcome to xMergeRepository! This guide will help you get up and running quickly.

πŸ“‹ Prerequisites

Before you begin, ensure you have the following installed:

For All Projects

  • Git (2.30+)
  • GitHub account with access to the repository

For Copilot CLI Skills & VSCode DotNet Tools

  • Node.js (20.0+)
  • npm (10.0+)

For MCP .NET Samples

  • .NET SDK (9.0+)
  • dotnet CLI

For VSCode DotNet Tools Development

  • Visual Studio Code (latest)
  • C# Dev Kit extension

For Copilot Spaces Skills

  • GitHub Actions (already enabled in repository)

πŸš€ Quick Start

1. Clone the Repository

git clone https://github.com/XavierMP14/xMergeRepository.git
cd xMergeRepository

2. Choose Your Project

Navigate to the project folder:

# TypeScript/Node.js projects
cd copilot-cli-skills
# or
cd vscode-dotnettools

# .NET projects
cd mcp-dotnet-samples

# GitHub Skills exercises
cd copilot-spaces-skills

🎯 Project-Specific Setup

A. Copilot CLI Skills

Install dependencies:

cd copilot-cli-skills
npm install

Run the application:

npm run dev

Run tests:

npm test

Build for production:

npm run build

Available scripts:

npm run dev          # Development server
npm run build        # Production build
npm run test         # Run tests
npm run lint         # Lint code
npm run format       # Format code

B. MCP .NET Samples

Restore dependencies:

cd mcp-dotnet-samples
dotnet restore

Build the project:

dotnet build

Run tests:

dotnet test

Run a specific sample (STDIO mode):

dotnet run --project ./markdown-to-html/src/McpSamples.MarkdownToHtml.HybridApp

Run a specific sample (HTTP mode):

dotnet run --project ./todo-list/src/McpSamples.TodoList.HybridApp -- --http

Available samples:

  • awesome-copilot - Metadata and instruction management
  • markdown-to-html - Convert markdown to HTML
  • todo-list - In-memory todo management with SQLite
  • outlook-email - Email integration sample

Docker deployment:

docker build -f Dockerfile.todo-list -t todo-list:latest .
docker run -i --rm -p 8080:8080 todo-list:latest

C. VSCode DotNet Tools

Install dependencies:

cd vscode-dotnettools
npm install

Development mode (launch in VSCode):

# Open VSCode
code .

# Press F5 to launch the extension in debug mode

Run tests:

npm test

Build extension:

npm run build

Package extension (for distribution):

npm run package

D. Copilot Spaces Skills

No installation required! This is a GitHub Skills exercise.

  1. Visit the repository: xMergeRepository/copilot-spaces-skills
  2. Open an issue to start the exercise
  3. Follow the instructions provided by the GitHub bot
  4. Complete the interactive challenges

πŸ“š Common Commands

TypeScript/JavaScript Projects

# Installation
npm install

# Development
npm run dev

# Build
npm run build

# Testing
npm test

# Linting
npm run lint

# Formatting
npm run format

.NET Projects

# Restore dependencies
dotnet restore

# Build
dotnet build

# Test
dotnet test

# Run
dotnet run

# Clean
dotnet clean

πŸ§ͺ Running Tests

Copilot CLI Skills

cd copilot-cli-skills
npm test

MCP .NET Samples

cd mcp-dotnet-samples
dotnet test

VSCode DotNet Tools

cd vscode-dotnettools
npm test

πŸ“– Project Documentation

Each project has its own README with detailed information:


πŸ”§ Troubleshooting

Node.js / npm Issues

Problem: npm: command not found

# Install Node.js from https://nodejs.org
# Verify installation
node --version
npm --version

Problem: Permission denied during npm install

# Clear npm cache and retry
npm cache clean --force
npm install

.NET Issues

Problem: .NET SDK not found

# Install .NET from https://dotnet.microsoft.com/download
# Verify installation
dotnet --version

Problem: Build fails

# Clean and rebuild
dotnet clean
dotnet restore
dotnet build

Git Issues

Problem: fatal: not a git repository

# Ensure you're in the repository directory
cd xMergeRepository
git status

Problem: Authentication failed

# Generate a new GitHub token
# https://github.com/settings/tokens
# Use: git clone https://YOUR_TOKEN@github.com/XavierMP14/xMergeRepository.git

🀝 Contributing

Ready to contribute? Check out our Contributing Guidelines for:

  • How to fork and create feature branches
  • Code standards for each project
  • Pull request process
  • Commit message conventions

πŸ“ Environment Setup (Optional)

VS Code Extensions (Recommended)

{
  "recommendations": [
    "ms-vscode.cpptools",
    "ms-dotnettools.csharp",
    "ms-dotnettools.vscode-dotnet-runtime",
    "esbenp.prettier-vscode",
    "dbaeumer.vscode-eslint"
  ]
}

Git Configuration (Recommended)

# Configure git for this repository
git config user.name "Your Name"
git config user.email "your.email@example.com"

# Enable automatic line ending conversion
git config core.autocrlf true

πŸš€ Next Steps

  1. Pick a project that interests you
  2. Read the project README for detailed information
  3. Set up your development environment using the steps above
  4. Explore the code and get familiar with the structure
  5. Start contributing (see Contributing Guidelines)
  6. Ask questions in GitHub Issues if you need help

πŸ“ž Support & Resources


πŸŽ“ Learning Resources

TypeScript/JavaScript

.NET/C#

GitHub


✨ Happy Coding!

You're all set! Start exploring the projects and happy coding. πŸš€

If you encounter any issues, check the troubleshooting section or open an issue on GitHub.

Last Updated: June 3, 2026