Copilot
Available instructions
Name | Description | Instructions Name |
---|---|---|
Consolidated Instructions | General best practices in one file | - |
JavaScript/TypeScript | Scoped to JS/TS files | javascript |
Go | Scoped to Go files | go |
Kubernetes/Helm | Scoped to K8s YAML files | kubernetes |
GitHub Actions | Scoped to workflow files | github-actions |
Docker | Scoped to Dockerfiles | docker |
Bash/Shell | Scoped to shell scripts | shell |
TypeScript Monorepo | Scoped to TS monorepos | ts-monorepo |
General Development | Universal practices | general |
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