project-setup-info-local

bởi microsoft

Cung cấp thông tin về cách thiết lập các loại dự án khác nhau. Hữu ích cho việc khởi tạo dự án dựa trên yêu cầu và tạo khung cho dự án.

npx skills add https://github.com/microsoft/vscode-copilot-chat --skill project-setup-info-local

How to setup a project

Determine what kind of project the user wants to create, then based on that, choose which setup info below to follow. Only setup a project if the folder is empty or if you've just called the tool first calling the tool to create a workspace.

vscode-extension

A template for creating a VS Code extension using Yeoman and Generator-Code.

Run this command:

npx --package yo --package generator-code -- yo code . --skipOpen

The command has the following arguments:

  • -t, --extensionType: Specify extension type: ts, js, command-ts, command-js, colortheme, language, snippets, keymap, extensionpack, localization, commandweb, notebook. Defaults to ts
  • -n, --extensionDisplayName: Set the display name of the extension.
  • --extensionId: Set the unique ID of the extension. Do not select this option if the user has not requested a unique ID.
  • --extensionDescription: Provide a description for the extension.
  • --pkgManager: Specify package manager: npm, yarn, or pnpm. Defaults to npm.
  • --bundler: Bundle the extension using webpack or esbuild.
  • --gitInit: Initialize a Git repository for the extension.
  • --snippetFolder: Specify the location of the snippet folder.
  • --snippetLanguage: Set the language for snippets.

Rules

  1. Do not remove any arguments from the command. Only add arguments if the user requests them.
  2. Call the tool get_vscode_api with the user's query to get the relevant references.
  3. After the tool get_vscode_api has completed, only then begin to modify the project.

next-js

A React based framework for building server-rendered web applications.

Run this command:

npx create-next-app@latest .

The command has the following arguments:

  • --ts, --typescript: Initialize as a TypeScript project. This is the default.
  • --js, --javascript: Initialize as a JavaScript project.
  • --tailwind: Initialize with Tailwind CSS config. This is the default.
  • --eslint: Initialize with ESLint config.
  • --app: Initialize as an App Router project.
  • --src-dir: Initialize inside a 'src/' directory.
  • --turbopack: Enable Turbopack by default for development.
  • --import-alias <prefix/*>: Specify import alias to use.(default is "@/*")
  • --api: Initialize a headless API using the App Router.
  • --empty: Initialize an empty project.
  • --use-npm: Explicitly tell the CLI to bootstrap the application using npm.
  • --use-pnpm: Explicitly tell the CLI to bootstrap the application using pnpm.
  • --use-yarn: Explicitly tell the CLI to bootstrap the application using Yarn.
  • --use-bun: Explicitly tell the CLI to bootstrap the application using Bun.

vite

A front end build tool for web applications that focuses on speed and performance. Can be used with React, Vue, Preact, Lit, Svelte, Solid, and Qwik.

Run this command:

npx create-vite@latest .

The command has the following arguments:

  • -t, --template NAME: Use a specific template. Available templates: vanilla-ts, vanilla, vue-ts, vue, react-ts, react, react-swc-ts, react-swc, preact-ts, preact, lit-ts, lit, svelte-ts, svelte, solid-ts, solid, qwik-ts, qwik

mcp-server

A Model Context Protocol (MCP) server project. This project supports multiple programming languages including TypeScript, JavaScript, Python, C#, Java, and Kotlin.

Rules

  1. First, visit https://github.com/modelcontextprotocol to find the correct SDK and setup instructions for the requested language. Default to TypeScript if no language is specified.
  2. Use the fetch_webpage tool to find the correct implementation instructions from https://modelcontextprotocol.io/llms-full.txt
  3. Update the copilot-instructions.md file in the .github directory to include references to the SDK documentation
  4. Create an mcp.json file in the .vscode folder in the project root with the following content: { "servers": { "mcp-server-name": { "type": "stdio", "command": "command-to-run", "args": [list-of-args] } } }.
    • mcp-server-name: The name of the MCP server. Create a unique name that reflects what this MCP server does.
    • command-to-run: The command to run to start the MCP server. This is the command you would use to run the project you just created.
    • list-of-args: The arguments to pass to the command. This is the list of arguments you would use to run the project you just created.
  5. Install any required VS Code extensions based on the chosen language (e.g., Python extension for Python projects).
  6. Inform the user that they can now debug this MCP server using VS Code.

python-script

A simple Python script project which should be chosen when just a single script wants to be created.

Required extensions: ms-python.python, ms-python.vscode-python-envs

Rules

  1. Call the tool copilot_runVscodeCommand to correctly create a new Python script project in VS Code. Call the command with the following arguments. Note that "python-script" and "true" are constants while "New Project Name" and "/path/to/new/project" are placeholders for the project name and path respectively.
    {
      "name": "python-envs.createNewProjectFromTemplate",
      "commandId": "python-envs.createNewProjectFromTemplate",
      "args": ["python-script", "true", "New Project Name", "/path/to/new/project"]
    }
    

python-package

A Python package project which can be used to create a distributable package.

Required extensions: ms-python.python, ms-python.vscode-python-envs

Rules

  1. Call the tool run_vscode_command to correctly create a new Python package project in VS Code. Call the command with the following arguments. Note that "python-package" and "true" are constants while "New Package Name" and "/path/to/new/project" are placeholders for the package name and path respectively.
    {
      "name": "python-envs.createNewProjectFromTemplate",
      "commandId": "python-envs.createNewProjectFromTemplate",
      "args": ["python-package", "true", "New Package Name", "/path/to/new/project"]
    }
    

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
agent-framework-azure-ai-py
microsoft
Xây dựng các tác nhân Azure AI Foundry bằng SDK Python của Microsoft Agent Framework (agent-framework-azure-ai). Sử dụng khi tạo các tác nhân bền vững với AzureAIAgentsProvider, sử dụng các công cụ được lưu trữ (trình thông dịch mã, tìm kiếm tệp, tìm kiếm web), tích hợp máy chủ MCP, quản lý chuỗi hội thoại hoặc triển khai phản hồi phát trực tuyến. Bao gồm các công cụ hàm, đầu ra có cấu trúc và các tác nhân đa công cụ.
development
airunway-aks-setup
microsoft
Thiết lập AI Runway trên AKS — từ cụm trống đến mô hình đang chạy. Bao gồm xác minh cụm, cài đặt controller, đánh giá GPU, thiết lập nhà cung cấp và triển khai đầu tiên. KHI NÀO: "thiết lập AI Runway", "onboard cụm AKS", "cài đặt AI Runway", "thiết lập airunway", "triển khai mô hình lên AKS", "suy luận GPU trên AKS", "thiết lập KAITO trên AKS", "chạy LLM trên AKS", "vLLM trên AKS", "thiết lập phục vụ mô hình trên AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
Hướng dẫn để instrument các ứng dụng web với Azure Application Insights. Cung cấp các mẫu telemetry, thiết lập SDK, và tài liệu tham khảo cấu hình. KHI NÀO: cách instrument ứng dụng, App Insights SDK, các mẫu telemetry, App Insights là gì, hướng dẫn Application Insights, ví dụ instrumentation, các phương pháp tốt nhất APM.
devops
applicationinsights-web-ts
microsoft
Instrument các ứng dụng trình duyệt/web bằng SDK JavaScript Application Insights (@microsoft/applicationinsights-web). Dùng cho Real User Monitoring (RUM) — lượt xem trang, nhấp chuột, phụ thuộc AJAX/fetch, ngoại lệ, sự kiện tùy chỉnh và dấu vết tác nhân GenAI phía trình duyệt tương quan với dấu vết OpenTelemetry phía backend. Bao gồm thiết lập SDK Loader Script và npm, tiện ích mở rộng framework (React, React Native, Angular), Click Analytics, trình khởi tạo telemetry và quy ước ngữ nghĩa OTel GenAI cho các span tác nhân/công cụ/mô hình phát ra từ trình duyệt.
devops
azure-ai-anomalydetector-java
microsoft
Xây dựng ứng dụng phát hiện bất thường với Azure AI Anomaly Detector SDK cho Java. Sử dụng khi triển khai phát hiện bất thường đơn biến/đa biến, phân tích chuỗi thời gian hoặc giám sát hỗ trợ AI.
development
azure-ai-language-conversations-py
microsoft
Triển khai Conversational Language Understanding (CLU) bằng SDK Python azure-ai-language-conversations. Sử dụng khi làm việc với ConversationAnalysisClient để phân tích ý định và thực thể trong hội thoại, xây dựng tính năng NLP, hoặc tích hợp hiểu ngôn ngữ vào ứng dụng.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 cho Python. Dùng cho không gian làm việc ML, công việc, mô hình, tập dữ liệu, tính toán và quy trình. Kích hoạt: "azure-ai-ml", "MLClient", "không gian làm việc", "đăng ký mô hình", "công việc đào tạo", "tập dữ liệu".
development