Socket
Book a DemoInstallSign in
Socket

@map-colonies/infra-copilot-instructions

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@map-colonies/infra-copilot-instructions

A package that provides instructions for github copilot for the infra team

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
10
Created
Source

infra-copilot-instructions

This package provides a convenient way to share custom instructions for GitHub Copilot in VS Code. for more information, see the GitHub Copilot documentation;

Installation

To install the package, run the following command:

npm install --save-dev @map-colonies/infra-copilot-instructions

Instructions

The package contains the following instructions:

  • commit.md - Instructions for generating a commit message.
  • code.md - Instructions for generating code.
  • test.md - Instructions for generating tests.

when imported, the instructions can be accessed by their file name using the following path:

node_modules/@map-colonies/infra-copilot-instructions/instructions/<instruction_name>.md

Usage

Add the wanted instructions to VsCode settings.json file, under the related key specified in the GitHub Copilot documentation.

For example, if we wanted to add commit message generation instructions, we would add the following to the settings.json file:

{
  "github.copilot.chat.commitMessageGeneration.instructions": [
    {
      "file": "node_modules/@map-colonies/infra-copilot-instructions/instructions/commit.md"
    }
  ]
}

FAQs

Package last updated on 03 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts