Skip to content

Copilot

Available instructions

NameDescriptionInstructions Name
Consolidated InstructionsGeneral best practices in one file-
JavaScript/TypeScriptScoped to JS/TS filesjavascript
GoScoped to Go filesgo
Kubernetes/HelmScoped to K8s YAML fileskubernetes
GitHub ActionsScoped to workflow filesgithub-actions
DockerScoped to Dockerfilesdocker
Bash/ShellScoped to shell scriptsshell
TypeScript MonorepoScoped to TS monoreposts-monorepo
General DevelopmentUniversal practicesgeneral

Usage

This collection follows GitHub's official Copilot instructions format with two approaches:

Option 1: Single File (Recommended for most projects)

sh
curl -fsSL "https://raw.githubusercontent.com/this-is-tobi/tools/main/copilot/copilot-instructions.md" \
  -o ".github/copilot-instructions.md"

Option 2: Scoped Instructions (For complex multi-technology projects)

sh
# Create instructions directory
mkdir -p .github/instructions

# Copy specific technology instructions
INSTRUCTION_NAME="javascript"  # or "go", "docker", "kubernetes", etc.
curl -fsSL "https://raw.githubusercontent.com/this-is-tobi/tools/main/copilot/instructions/$INSTRUCTION_NAME.instructions.md" \
  -o ".github/instructions/$INSTRUCTION_NAME.instructions.md"

Features

  • GitHub Official Format: Uses .github/copilot-instructions.md and .github/instructions/*.instructions.md
  • Scoped Instructions: Technology-specific instructions with applyTo frontmatter
  • File Targeting: Instructions only apply to relevant file types
  • Modular Design: Mix and match technologies as needed
  • VS Code Compatible: Full support for advanced scoped instructions