Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/instructions/general/security.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
applyTo: '**/*'
description: "Comprehensive secure coding instructions for all languages and frameworks, based on OWASP Top 10 and industry best practices."
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

# Secure Coding and OWASP Guidelines

## Instructions
Expand Down
2 changes: 2 additions & 0 deletions .github/instructions/languages/cdk.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ description: 'Guidelines for writing, reviewing, and maintaining AWS CDK (TypeSc
applyTo: 'packages/cdk/**/*.ts'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

# AWS CDK TypeScript Development

This file provides instructions for generating, reviewing, and maintaining AWS CDK code in the `packages/cdk` folder. It covers best practices, code standards, architecture, and validation for infrastructure-as-code using AWS CDK in TypeScript.
Expand Down
2 changes: 2 additions & 0 deletions .github/instructions/languages/cloudformation.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ description: 'Guidelines for writing, reviewing, and maintaining cloudformation
applyTo: 'cloudformation/**'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

## General
- Prefer YAML (not JSON). Follow existing style in [cloudformation/account_resources.yml](cloudformation/account_resources.yml), [cloudformation/ci_resources.yml](cloudformation/ci_resources.yml), [cloudformation/artillery_resources.yml](cloudformation/artillery_resources.yml), [cloudformation/account_resources_bootstrap.yml](cloudformation/account_resources_bootstrap.yml), [cloudformation/management.yml](cloudformation/management.yml).
- Always start with `AWSTemplateFormatVersion: "2010-09-09"`.
Expand Down
2 changes: 2 additions & 0 deletions .github/instructions/languages/python.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ description: 'Guidelines for writing high-quality, maintainable python code with
applyTo: '**/*.py'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

# Python Copilot Instructions

These instructions are designed to guide GitHub Copilot in generating effective, maintainable, and domain-appropriate Python code. They are intended to be generic and applicable to a wide range of Python projects.
Expand Down
3 changes: 3 additions & 0 deletions .github/instructions/languages/sam.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
description: 'Guidelines for writing, reviewing, and maintaining SAM templates'
applyTo: 'SAMtemplates/**'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

## Scope
These instructions apply exclusively to files located under the `SAMtemplates` directory. Ensure that any SAM templates or related configurations outside this directory are not governed by these guidelines.

Expand Down
2 changes: 2 additions & 0 deletions .github/instructions/languages/terraform.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ description: 'Comprehensive guidelines for writing, organizing, and maintaining
applyTo: 'terraform/**/*.tf'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

# Terraform Development Guidelines

This document provides best practices and conventions for writing, organizing, and maintaining Terraform code. It is intended for use by developers and GitHub Copilot to ensure consistency, reliability, and maintainability across all Terraform files in the project.
Expand Down
2 changes: 2 additions & 0 deletions .github/instructions/languages/typescript.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ description: 'Guidelines for writing high-quality, maintainable TypeScript code
applyTo: '**/*.{ts,tsx}'
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

# TypeScript Development Guidelines

This document provides instructions for generating, reviewing, and maintaining TypeScript code. It is designed to guide Copilot and developers in producing domain-specific, robust, and maintainable code across a variety of TypeScript projects.
Expand Down
2 changes: 2 additions & 0 deletions .github/prompts/code_review.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
description: "Perform a comprehensive code review"
---

This file is mastered in https://github.com/NHSDigital/eps-copilot-instructions and is automatically synced to all EPS repositories. To suggest changes, please open an issue or pull request in the eps-copilot-instructions repository.

## Role

You're a senior software engineer conducting a thorough code review. Provide constructive, actionable feedback.
Expand Down
Loading