Org Copilot instructions
The default org-wide Copilot behaviour surfaced across every LightSpeed repository.
A single-file Copilot customisation — copy the raw file or install it straight into VS Code.
CategoryInstructions
Source path.github/custom-instructions.md
LightSpeed Copilot custom instructions
These are the default instructions surfaced to Copilot across every repo in the lightspeedwp organisation via the .github control plane.
Always
- British English in prose;
text-domainin code stays lowercase-hyphen. - WordPress Coding Standards for PHP, JS, CSS, HTML.
- Accessibility is non-negotiable: semantic HTML, AA contrast, keyboard paths.
- Sanitise on input, escape on output, nonce every state-changing request.
Never
- Suggest page-builder shortcodes where a block exists.
- Enqueue editor assets on the front end.
- Invent APIs — cite the WordPress handbook when unsure.
---
description: Organisation-wide Copilot behaviour for every LightSpeed repository.
applyTo: "**"
---
# LightSpeed Copilot custom instructions
These are the default instructions surfaced to Copilot across **every**
repo in the `lightspeedwp` organisation via the `.github` control plane.
## Always
- British English in prose; `text-domain` in code stays lowercase-hyphen.
- WordPress Coding Standards for PHP, JS, CSS, HTML.
- Accessibility is non-negotiable: semantic HTML, AA contrast, keyboard paths.
- Sanitise on input, escape on output, nonce every state-changing request.
## Never
- Suggest page-builder shortcodes where a block exists.
- Enqueue editor assets on the front end.
- Invent APIs — cite the WordPress handbook when unsure.